Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: JimZipCode on February 04, 2017, 01:11:42 AM

Title: AGPTEK Rocker
Post by: JimZipCode on February 04, 2017, 01:11:42 AM
So, it's here.

Hi, hunterleo,
So, can rockbox os work on this player?
Theoretically yes, however, rocker hasn't been ported with Rockbox yet.

There is very little that I can do to help this effort.  However, one thing I can do is, I can buy one or two of these things and ship them to a developer who is interested in working on this.  I've got a hefty Amazon gift card from Christmas, burning a hole in my pocket.  And I would be THRILLED to make a substantive contribution to a potential Rockbox port to this device.

Any takers?  Please PM me.

Thanks,

Jim
Title: Re: AGPTEK Rocker
Post by: pamaury on February 04, 2017, 12:45:07 PM
I will do the port, since I'm already working on the Fiio X1 with a very close soc.
I found the programming manual online:
http://198.13.102.98/bj/ingenic_support/X1000_X1000E_X1500/02_HW/01_Phoenix/Phoenix_V2.0/03Datasheet/X1000_PM_20150918.pdf (http://198.13.102.98/bj/ingenic_support/X1000_X1000E_X1500/02_HW/01_Phoenix/Phoenix_V2.0/03Datasheet/X1000_PM_20150918.pdf)
It might not be the latest version but that's good stuff already. I will upload it to the wiki. I don't have the device yet.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on February 04, 2017, 05:38:05 PM
I don't have the device yet.

Want one?
Title: Re: AGPTEK Rocker
Post by: pamaury on February 05, 2017, 08:56:32 AM
I don't have the device yet.

Want one?

Hi, thanks for the proposal :) I will first wait a few days see if AGPTek can send me one ;)
Title: Re: AGPTEK Rocker
Post by: JimZipCode on February 07, 2017, 08:47:21 PM
I will first wait a few days see if AGPTek can send me one ;)

Ok, let me know.
Title: Re: AGPTEK Rocker
Post by: Greg T. on February 08, 2017, 07:37:00 PM
What's the screen resolution?
Title: Re: AGPTEK Rocker
Post by: lebellium on February 10, 2017, 06:48:53 AM
It's not written anywhere in the manual or specifications but having the device in my hands now, it looks like to me it's 128x160. It looks terrible even if the screen is only 1,8".
Title: Re: AGPTEK Rocker
Post by: joe.hisashi on February 22, 2017, 10:54:38 AM
Just making sure I am eying the correct model that you guys are developing for.
Would this be the right model?
https://www.amazon.de/Bluetooth-Verlustfreie-Qualit%C3%A4t-unterst%C3%BCtzt-Speicherkarte/dp/B01NBRJBOH/ref=sr_1_1?ie=UTF8&qid=1487778007&sr=8-1&keywords=agptek+rocker

Also, has there been any progress with the port?
Is it safe to say that Rockbox will be fully functional on this device? (Have to decide whether to send my G05 back)
Title: Re: AGPTEK Rocker
Post by: gevaerts on February 22, 2017, 04:33:05 PM
Is it safe to say that Rockbox will be fully functional on this device? (Have to decide whether to send my G05 back)

It's never safe to assume that a rockbox port will be successful
Title: Re: AGPTEK Rocker
Post by: joe.hisashi on February 22, 2017, 05:08:19 PM
Didn't the manufacturer seek out the most prominent Rockbox developers, specifically discussing what hardware to incorporate regarding the Rocker, in order to ensure full compatibility with Rockbox?
http://forums.rockbox.org/index.php/topic,51071.0.html

Title: Re: AGPTEK Rocker
Post by: JimZipCode on February 22, 2017, 05:22:58 PM
Didn't the manufacturer seek out the most prominent Rockbox developers, specifically discussing what hardware to incorporate regarding the Rocker, in order to ensure full compatibility with Rockbox?
http://forums.rockbox.org/index.php/topic,51071.0.html
Sure, but it is as yet unconfirmed.  Who knows how successful they were, or how completely the build team bought into the sales guy's suggestions, or what compromises had to be made to keep costs manageable?  Etc etc.


Title: Re: AGPTEK Rocker
Post by: joe.hisashi on February 22, 2017, 05:37:39 PM
I see, so as of yet we don't even know if the suggested, compatible hardware has actually been implemented in the final product. Have you guys heard anything from pamaury since February 4th?

I am kind of torn right now as I am really satisfied with the APGTek G05 which has truly proven to surpass the Sansa Clip+ , but it lacks Rockbox support.

I was leaning towards sending it back, in favor of the Rocker, but now that I've learned that a successful port isn't even guaranteed I am really lost.
Title: Re: AGPTEK Rocker
Post by: saratoga on February 22, 2017, 05:54:52 PM
I see, so as of yet we don't even know if the suggested, compatible hardware has actually been implemented in the final product. Have you guys heard anything from pamaury since February 4th?

https://www.rockbox.org/irc/log-20170222#12:23:10

I was leaning towards sending it back, in favor of the Rocker, but now that I've learned that a successful port isn't even guaranteed I am really lost.

This has nothing to do with development, so it should not be in this thread. 
Title: Re: AGPTEK Rocker
Post by: joe.hisashi on February 22, 2017, 07:09:42 PM
Thank you, apparently I missed pamaury's response on irc.
What exactly are we to gather from this brief exchange between devs, is the current status rather positive or negative?
Title: Re: AGPTEK Rocker
Post by: saratoga on February 22, 2017, 11:17:15 PM
What exactly are we to gather from this brief exchange between devs, is the current status rather positive or negative?

Check back in a few months. 
Title: Re: AGPTEK Rocker
Post by: elwing on February 23, 2017, 10:36:36 AM
Does that "hello world" on irc means there's a good chance we'll get at least a partially working rockbox in the next few months?
Title: Re: AGPTEK Rocker
Post by: pamaury on February 23, 2017, 02:31:28 PM
Hi,
just to let you know that wodz will do the port. He will port rockbox as an app, ie running on the linux kernel installed on the device.
Title: Re: AGPTEK Rocker
Post by: wodz on February 24, 2017, 11:01:57 AM
As pamaury stated, I am working towards porting rockbox as an application which could supersede hiby_player app running on Rocker. If you are interested in technical details follow https://www.rockbox.org/wiki/AgptekRocker as I use it as notepad during my work. Please keep in mind that there is loooong way before functioning port.
Title: Re: AGPTEK Rocker
Post by: S.O.Y. on February 24, 2017, 06:32:11 PM
We'll be cheering for you. Gooo wodz, goo! You can do it!  :D
Title: Re: AGPTEK Rocker
Post by: WillScarlett on March 17, 2017, 03:25:24 PM
That. Is. Awesome. News! (havent been here since the forums were down...)
Take your time, i suppose my current clip zip will keep going for about one more year (if his lifespan is roughly the same as that of his two deceased brothers).
Is there some way a guy like me, who has not the slightest clue about programming, can support your work on this port?
Title: Re: AGPTEK Rocker
Post by: Massa on March 25, 2017, 06:32:19 AM
He will port rockbox as an app, ie running on the linux kernel installed on the device.
Does that mean that connections to bluetooth devices will still work - even when using rockbox?

That'd be very good!  :)


BTW, it'd also be good if AGPTek could build a similar device - but with bigger and better screen (at least 320x240) and maybe with two SD card slots...
...and of course which is also focused on supporting ROCKbox ;)
Title: Re: AGPTEK Rocker
Post by: duo8 on March 26, 2017, 07:56:57 AM
He will port rockbox as an app, ie running on the linux kernel installed on the device.
Does that mean that connections to bluetooth devices will still work - even when using rockbox?

That'd be very good!  :)


BTW, it'd also be good if AGPTek could build a similar device - but with bigger and better screen (at least 320x240) and maybe with two SD card slots...
...and of course which is also focused on supporting ROCKbox ;)
That would be going into high-end territory.
Like the FiiO X5 and some others.
Title: Re: AGPTEK Rocker
Post by: hunterleo on March 26, 2017, 10:30:09 PM
He will port rockbox as an app, ie running on the linux kernel installed on the device.
Does that mean that connections to bluetooth devices will still work - even when using rockbox?

That'd be very good!  :)


BTW, it'd also be good if AGPTek could build a similar device - but with bigger and better screen (at least 320x240) and maybe with two SD card slots...
...and of course which is also focused on supporting ROCKbox ;)


That would be going into high-end territory.
Like the FiiO X5 and some others.

Yes, we are working on Rocker 2nd-Gen with a better screen and clip.

Thank you,

Leo
Title: Re: AGPTEK Rocker
Post by: wodz on March 26, 2017, 11:52:29 PM
I just want to inform you that yesterday I reached rockbox kinda running on Rocker. Lots of things doesn't work and no code is published yet. Low level drivers are almost finished though. I need to clean up my work, squash a few remaining bugs, workout install procedure and I'll push this.
Title: Re: AGPTEK Rocker
Post by: jlm on March 27, 2017, 02:07:22 AM
That is just awesome wodz! Rooting for you!!!!
Title: Re: AGPTEK Rocker
Post by: elwing on March 27, 2017, 01:03:07 PM
Woot, time to order! Ok, I know that it will still take time, but outcome seems good enough! Great job!
Title: Re: AGPTEK Rocker
Post by: hunterleo on March 27, 2017, 10:39:03 PM
 ;D ;D ;D wodz

Two thumbs up!
Title: Re: AGPTEK Rocker
Post by: fredex on April 07, 2017, 07:49:22 PM
Looking at the (lithium ion ???) battery, it seems to have sustained quite a few dents, presumably from vibration rubbing it against the circuit board. I'd find this worrisome, given LI batteries' tendency to go up in flames when damaged.

One hopes they can put at least a small layer of padding between the battery and the circuits.
Title: Re: AGPTEK Rocker
Post by: greatjack on April 10, 2017, 12:25:32 PM
I have noticed the simulartiy between the agptek rocker and the benjie T6. Does anyone know if they are the same devices in the sense that if rockbox is ported to the rocker then it will run on the t6?

The reason why I would like to know is that it costs only 40 dollars on aly express
Title: Re: AGPTEK Rocker
Post by: wodz on April 10, 2017, 04:02:22 PM
This are the same hardware wise
Title: Re: AGPTEK Rocker
Post by: Doghouse Riley on June 01, 2017, 12:30:45 PM
Wodz,

The day I see it in the unstable ports list, I'm buying one,

Thank you for your work on this!!!!
Title: Re: AGPTEK Rocker
Post by: mrandtx on June 02, 2017, 08:53:35 PM
People, the first rule of open source development is don't pester the developers.  They are doing this out of the kindness of their heart and will provide updates when they feel it is worthwhile to do so.  You asking isn't going to change anything except suck the fun out of it for them - never mind that three people asked in a row!  You can help by either contributing to the code, or being patient.

Updated to add: if there is any doubt, read item number 4 of the forum guidelines: http://forums.rockbox.org/index.php/topic,21176.msg147838.html#msg147838
Title: Re: AGPTEK Rocker
Post by: JimZipCode on September 10, 2017, 01:33:20 AM
Not available on Amazon right now, but is available on Walmart:
https://www.walmart.com/ip/AGPTEK-ROCKER-Bluetooth-4-0-MP3-Player-High-Resolution-Lossless-Music-Player-for-Audiophile-up-to-256GB-Black/839115890


EDIT

Wups, please disregard.  The silver one *IS* on Zon:
https://www.amazon.com/dp/B01NAU57UX

And the V2 is as well:
https://www.amazon.com/AGPTEK-Bluetooth-Resolution-Digital-Supports/dp/B06X9GZHK1



Title: Re: AGPTEK Rocker
Post by: fossphile on October 23, 2017, 05:31:49 PM
if future ones have a dedicated stereo aux/line-in input of very high quality, low low noise floor. i would very happy and interested :D. would really quite like a pro level audio recorder running rockbox :D. a pre amp strapped to a player with aux input would do. Rockbox’s recording mode its really good with lossless compression to wavpack  ;D! better then the standard pro audio recorders! Im getting to know its auto trigger function which is most handy to have. Im using my iaudio x5 currently but if i break it i have no replacement  :'(.

would also love a standard li-ion cell size like 14500. in a battery holder for easy user replacement. https://www.banggood.com/KeepPower-14500-800mAh-3_7v-Protected-Rechargeable-Li-ion-Battery-p-918316.html
Title: Re: AGPTEK Rocker
Post by: wodz on January 30, 2018, 09:25:02 AM
So I restarted my work on the port. Today I got sound working. I am still pissed off by the Agptek's GPL voilation. Shame on you Agptek!!!! The bad news is I don't see any easy way for installation. Rootfs is ubifs which is not easily repackable. Maybe someone has some experience with handling ubifs images?
Title: Re: AGPTEK Rocker
Post by: starflyer on January 30, 2018, 07:41:14 PM
Maybe helpful?: https://elinux.org/UBIFS#Creating_UBI_Image (https://elinux.org/UBIFS#Creating_UBI_Image)

I can help out. What do I need to do?

Also to wodz: you accept crypto donations?
Title: Re: AGPTEK Rocker
Post by: WillScarlett on January 31, 2018, 04:12:32 AM
Thanks for keeping up the work!
Title: Re: AGPTEK Rocker
Post by: thejerwin on February 18, 2018, 09:08:40 PM
Hey guys, I've been watching this thread for a while. Any new updates? I'm looking into buying this player if there is a possibility for future rb support.
Title: Re: AGPTEK Rocker
Post by: wodz on February 19, 2018, 08:31:09 AM
Basic things do work. The port needs a bit of polish before upstream merge. The main missing part is install procedure. The second place on my TODO list is bluetooth support. Unfortunately I don't have much time to work on this currently.
Title: Re: AGPTEK Rocker
Post by: wodz on February 28, 2018, 03:42:59 AM
Hello chaps.

I put my recent work in repo. Using this tools one can build update image with rockbox bootloader implanted. I tested procedure myself as well as I have report of successful flashing of altered image from one user. README gives basic instruction what to do. More detailed documentation of how to prepare update image is contained in bootloader_install.sh file only, sorry. Consider this as early beta. If you dare to try please leave me feedback. In case of problems/question try to catch me on IRC.

https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker
Title: Re: AGPTEK Rocker
Post by: cela on February 28, 2018, 02:02:35 PM
Consider this as early beta. If you dare to try please leave me feedback.

Might be worth changing the title of this port thread to include the Benjie T6 as they are more widely available.

I understand that the port will work for this player too as the hardware is the same.

I'll give it a try and give feedback when I get my Benjie T6 player.
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 04:38:27 AM
I'm unable to boot it on my Benjie T6... Am I doing something wrong :/
Title: Re: AGPTEK Rocker
Post by: wodz on March 01, 2018, 06:51:08 AM
Have you unzipped rockbox.zip to the root of SD card?
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 07:18:06 AM
Have you unzipped rockbox.zip to the root of SD card?

Ofc, the mnt folder is in the root of the SD card
Title: Re: AGPTEK Rocker
Post by: wodz on March 01, 2018, 08:23:43 AM
I don't quite understand your statement. SD is mounted under /mnt/sd_0 if this is what you mean.
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 12:10:51 PM
I don't quite understand your statement. SD is mounted under /mnt/sd_0 if this is what you mean.

I probably fucked up somewhere lol... The zip contained a mnt folder with a sd_0 subfolder... I'll try putting the .rockbox folder on the sd card's root...
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 12:20:46 PM
Ayyess it booted up!
Title: Re: AGPTEK Rocker
Post by: wodz on March 01, 2018, 12:39:56 PM
Aaah, yes I forgot about this minor inconvenience, sorry. I'll try to clean things a bit in the near future. Stay tuned.
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 12:45:35 PM
Aaah, yes I forgot about this minor inconvenience, sorry. I'll try to clean things a bit in the near future. Stay tuned.

Port is looking pretty great so far... Way to go! Only bugs I've noticed so far are power button can't be used to sleep and volume rockers don't work, but I expected nothing more from a beta... And is Bluetooth functionality possible? Would be great to have bidirectional Bluetooth support... :D
Title: Re: AGPTEK Rocker
Post by: wodz on March 01, 2018, 02:03:47 PM
Volume change does work its just steps are really tiny (0.5dB). Power button does work by itself. There is bug somewhere which causes rockbox app crash on power down though. I didn't have time to debug this yet. Bluetooth is possible (at least playing to bt headset). I did some experiments but nothing is implemented yet. Before adding functionality I'd like to make install procedure more user friendly, squash remining bugs and merge this port upstream. Then I'll explore BT stuff.
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 02:06:25 PM
Volume change does work its just steps are really tiny (0.5dB). Power button does work by itself. There is bug somewhere which causes rockbox app crash on power down though. I didn't have time to debug this yet. Bluetooth is possible (at least playing to bt headset). I did some experiments but nothing is implemented yet. Before adding functionality I'd like to make install procedure more user friendly, squash remining bugs and merge this port upstream. Then I'll explore BT stuff.

Nice :)
Btw can't power button be made to sleep screen? It opens settings now...
Title: Re: AGPTEK Rocker
Post by: wodz on March 01, 2018, 02:39:07 PM
Keymap need more work probably. Anyway I think keylock is mapped to POWER when in WPS (while playing screen).
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 01, 2018, 02:43:23 PM
Keymap need more work probably. Anyway I think keylock is mapped to POWER when in WPS (while playing screen).

Ah ok then...
Title: Re: AGPTEK Rocker
Post by: Roboturner913 on March 01, 2018, 06:35:26 PM
Does anybody know if the two Rocker versions are identical? I have the v2. It was my understanding that the only difference between the two are cosmetic (the v2 has rounded corners) but that wasn't a very in-depth review.
Title: Re: AGPTEK Rocker
Post by: alcaier on March 01, 2018, 09:03:52 PM
Patch https://upload.cat/dc14f21f0039741b enables plugins, fixes shutdown and modifies volume keys to be more responsive.
I tried to make the keymap so that power button would exit plugin and vol up works as modifier if there just isn't enough buttons. There are still issues with gamesaves and bunch of segfaults. And well, mikmod seems to only play .mod not .xm .s3m.
Title: Re: AGPTEK Rocker
Post by: kailashrs on March 02, 2018, 04:44:57 PM
Keymap need more work probably. Anyway I think keylock is mapped to POWER when in WPS (while playing screen).

Am I allowed to share this build? I'll mention due credits of course!
Title: Re: AGPTEK Rocker
Post by: wodz on March 09, 2018, 02:21:34 PM
Unfortunately currently there is no easy way. Install process is quite involved. For now you would need to follow https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker

Making install process easier is #1 in my todo.
Title: Re: AGPTEK Rocker
Post by: npdpn on March 09, 2018, 11:52:58 PM
can anyone post a simplified installation instruction how to build like how to using Docker file iam getting errors like"/bin/sh: 1: mipsel-rockbox-linux-gnu-gcc: not found"
iam new to this things thanks

"[/home/mint/rockbox-wodz/build/firmware/common/config.o] Error 127"

Title: Re: AGPTEK Rocker
Post by: saratoga on March 10, 2018, 11:49:53 AM
Hey everyone, we ask that people not ask for help in development threads. Keep this thread in to development.
Title: Re: AGPTEK Rocker
Post by: yzdev on March 10, 2018, 05:21:38 PM
@wodz and all other devs thanks a lot for Rockbox and especially for this port. Even though it’s in beta it works flawlessly up to now on my Benjie T6. I ordered it from China in January when I read you were working on a port. A replacement for my sansa clips was long overdue. (All broke down eventually. I had to use an old and crappy iPod touch in the meantime.) T6 received on Thursday, checked if there was a usable version and installed RB today.
With just an hour in everything I configured works like it should and it’s stable up to now. I’m very pleased. Thanks a lot :)

Re: simpler installation instructions
wodz has done the heavy lifting. So if you know your way around a shell and stick to his infos it’s pretty straightforward – especially when using the docker image.
The automatic generation of a patched update.upt didn’t work out for me. So I logged into the docker image and did it manually:
Code: [Select]
cd /
mkdir upt
cd upt/
curl https://images.agptek.us/image/ROCKERVersion/ROCKERVersion1.2/update.upt -o update.upt
export UPT_DIR=/upt
cd ~/rockbox-wodz/tools/agptek_rocker/
bash ./bootloader_install.sh
Then copied the created files to SD card and proceeded as given in lines 122-127 of bootloader_install.sh
After FW upgrade on the first boot RB complained about sth., on further tries it worked flawlessly.

Again: Thanks a lot! :)
Title: Re: AGPTEK Rocker
Post by: wodz on March 11, 2018, 05:43:00 PM
I deliberately do not provide patched .upt. This is grey area. I know that install procedure is cumbersome for Joe Average. It will be addressed in the future. I just don't have time to do this. Basically the idea is to provide binary patch which can be applied to official .upt file.
Title: Re: AGPTEK Rocker
Post by: Milardo on March 11, 2018, 05:44:16 PM
Does the port work with agptek rocker v2?
Title: Re: AGPTEK Rocker
Post by: wodz on March 11, 2018, 05:45:24 PM
Does anybody know if the two Rocker versions are identical? I have the v2. It was my understanding that the only difference between the two are cosmetic (the v2 has rounded corners) but that wasn't a very in-depth review.

As far as I know v1 and v2 are identical hardware wise. v2 is shipped with firmware 1.2 which can be installed on v1 device without problem.
Title: Re: AGPTEK Rocker
Post by: Milardo on March 11, 2018, 05:53:36 PM
Just bought a rocker v2 getting it today. I've compiled the firmware successfully i believe, had to use the instructions that user yzdev posted for the last part. What if one has different firmware which i saw on the agptek site like 1.4? Does rockbox firmware still work? Do i need to do anything differently? Also, can i share the compiled files here?
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on March 11, 2018, 06:03:47 PM
Another dumb question for Wodz: Where can I find the rockbox.zip file?
Title: Re: AGPTEK Rocker
Post by: wodz on March 11, 2018, 06:07:05 PM
You didn't follow instructions I posted, don't you? :P Basically I bothered to write README and Dockerfile to not answer such questions.
By the way I did minor corrections in README.
Title: Re: AGPTEK Rocker
Post by: wodz on March 11, 2018, 06:10:23 PM
Just bought a rocker v2 getting it today. I've compiled the firmware successfully i believe, had to use the instructions that user yzdev posted for the last part. What if one has different firmware which i saw on the agptek site like 1.4? Does rockbox firmware still work? Do i need to do anything differently?

All agptek firmwares are very similar and provided instructions should work for any version (published till now at least).

Also, can i share the compiled files here?

It is up to you. I deliberately do not provide patched builds. This is gray area.
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on March 11, 2018, 06:14:48 PM
In fact I wrote that was a dumb question ;D
somehow it skipped my mind that the .zip is built when executing the bootloader_install.sh script.

by the way Milardo yes, the Benjie T6, the Rocker V1 and V2 all share the same hardware and therefore they are compatible with each other firmwares.
Source: I successfully installed the Benjie firmware on my Rocker V2
Title: Re: AGPTEK Rocker
Post by: Milardo on March 11, 2018, 10:52:30 PM
Successfully compiled and working rockbox firmware on agptek rocker V2. Here are the files necessary

rockbox.zip

https://drive.google.com/file/d/1LI1Xnd-JzHFih3JIkVV3RRnhg62dY5zX/view

update_rb.upt

https://drive.google.com/file/d/1wKUaxM4Zxs2850x5jeVBLI4DvbtbQTCJ/view

Instructions for install:

Extract the folder out of rockbox.zip Take the folder out of that named ".rockbox" and put it directly into your sd card. Put update_rb.upt directly into sd card as well, and once in there, rename it too update.upt

Next you'll need to choose the update firmware option in agptek rocker settings. It should upgrade and then you'll have a choice to choose rockbox, the original agptek rocker os and some tools. Hope this helps, leave a reply if you need help with the install.

When i get some time i can provide almost complete compiling instructions (at least how i did it)
Title: Re: AGPTEK Rocker
Post by: A600 on March 12, 2018, 09:55:49 AM
I'm very interested in this player now that has Rockbox support. Could someone try a battery test with the Rockbox plug-in? The stock player seems to have 10 hours of autonomy and that's a pretty low number for my needs.
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on March 12, 2018, 10:04:20 AM
By the way, another thing I noticed is the lack of the USB disk mode.
Is this not yet implemented or straight impossible due to hardware limitations?
Title: Re: AGPTEK Rocker
Post by: saratoga on March 12, 2018, 01:27:40 PM
Hey everyone, we ask that people not ask for help in development threads. Keep this thread in to development.

Since a lot of people seemed to have missed this, I went through and deleted a bunch of non-development related posts.  Once again, do not post here unless it is actually development related.  If you want to talk about rockbox generally, we have the whole forums, IRC and mailing list for that. 
Title: Re: AGPTEK Rocker
Post by: Milardo on March 13, 2018, 04:36:36 PM
Hi wodz, just wondering as well, can the bass and treble features usually present in rockbox firmware be added to this port?
Title: Re: AGPTEK Rocker
Post by: wodz on March 13, 2018, 04:56:59 PM
Yes it is possible to add. It is just not high on my priority list.
Title: Re: AGPTEK Rocker
Post by: wodz on March 13, 2018, 05:06:04 PM
Ok, looks pretty easy. Just commited.
Title: Re: AGPTEK Rocker
Post by: Milardo on March 13, 2018, 05:19:27 PM
Thanks, so one just has to rerun this?

docker run --rm -it -v /path/to/dir/with/update.upt:/upt \
-e UPT_DIR=/upt agptek-dev bootloader_install.sh

Also, to mention, that the file "update_rb.upt" doesnt get built correctly using the above command, i got a file that was only 366kb, but the post from yzdev, that outputs the file correctly with a size of about 32 mb.
Title: Re: AGPTEK Rocker
Post by: wodz on March 14, 2018, 02:20:05 AM
Its enough to replace files unpacked from rockbox.zip on SD.

My crystal ball wore out. Without actual error message I cannot correct this.
Title: Re: AGPTEK Rocker
Post by: Milardo on March 14, 2018, 02:19:04 PM
Ok. After compiling this time the file got built correctly i think.

Anyone who is interested, here's a link to download the version which has the bass and treble features.

https://drive.google.com/file/d/15x7KXfIK5Vd0SmlvS5zD7czdyQlJwpWB/view
Title: Re: AGPTEK Rocker
Post by: wodz on March 15, 2018, 03:56:30 PM
For those interested USB storage support got  commited. You need to update both bootloader and main binary (so the whole procedure with .upt and unziping rockbox.zip). Enjoy.
Title: Re: AGPTEK Rocker
Post by: yzdev on March 17, 2018, 02:44:40 PM
I noticed a display problem on the WPS (cabbie2v): When playing 1h+ podcasts %pc and %pe weren’t displayed properly. (Maybe because they are used twice?) I fixed this by changing "Time and Playlist Info" from
Code: [Select]
%V(8,126,112,12,1)
%al%pc%ac%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr%ar%pr
to
Code: [Select]
%V(2,126,124,12,1)
%al%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr

USB doesn’t work for me. Ubuntu and Win10 can’t mount the disk. The display changes as expected and shows the usb plug, OS finds it, but the disk doesn’t get mounted.
dmesg doesn’t indicate problems:
Code: [Select]
[133462.724141] usb 3-1: new high-speed USB device number 67 using xhci_hcd
[133462.870490] usb 3-1: New USB device found, idVendor=c502, idProduct=0029
[133462.870492] usb 3-1: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[133462.870493] usb 3-1: Product: Rockbox media player
[133462.870494] usb 3-1: Manufacturer: Rockbox.org
[133462.870495] usb 3-1: SerialNumber: 0123456789ABCDEF
[133462.877628] usb-storage 3-1:1.0: USB Mass Storage device detected
[133462.877753] scsi host5: usb-storage 3-1:1.0
[133463.908697] scsi 5:0:0:0: Direct-Access     Agptek R ocker 010        0310 PQ: 0 ANSI: 2
[133463.909082] sd 5:0:0:0: Attached scsi generic sg2 type 0
[133463.909938] sd 5:0:0:0: [sdc] Attached SCSI removable disk
but fdisk -l doesn’t list it and fdisk /dev/sdc reports "fdisk: unable to open /dev/sdc: No medium found"
When unplugging I get "*PANIC* mount: 0"

The microSD card gets mounted properly when used with a card reader.
Title: Re: AGPTEK Rocker
Post by: wodz on March 17, 2018, 03:26:43 PM
Does your card has partition or is it formated as superfloppy?
Title: Re: AGPTEK Rocker
Post by: yzdev on March 17, 2018, 04:23:07 PM
FAT32 partition. I’ve tried a different card with multiple partitions (FAT16 with rockbox), same results.
Title: Re: AGPTEK Rocker
Post by: Roboturner913 on March 17, 2018, 07:15:02 PM
This is probably a really stupid question, but once I have Rockboxw working on the player, can I delete it from my SD card?
Title: Re: AGPTEK Rocker
Post by: johnb on March 18, 2018, 02:45:44 AM
You need to keep the .rockbox directory and its content as this is where it is run from.
Title: Re: AGPTEK Rocker
Post by: wodz on March 18, 2018, 03:07:02 PM
FAT32 partition. I’ve tried a different card with multiple partitions (FAT16 with rockbox), same results.
Did you perform full update (aka. updating bootloader with .upt file as well as unpacking rockbox.zip)?
Title: Re: AGPTEK Rocker
Post by: yzdev on March 18, 2018, 03:52:00 PM
Yes.
But it can’t work if changes from repo aren’t pulled. I just checked the local sources, changes from your last commit (https://github.com/wodz/rockbox-wodz/commit/8acd397c7e0364a760b323473fe6855521d42624) weren’t there. I pulled them manually and will try again.
Output of bootloader_install.sh was sth. along the lines of "already up-to-date" … Well, it obviously wasn’t.

PS: Ok, I did. No change. Still unable to mount microSD while it’s in the player.
Title: Re: Fiio X1
Post by: jj69 on March 19, 2018, 01:55:56 PM
Quick question about the install process. Is the .rockbox file that us to be left on the microsd card thge standard rockbox software without any alterations for this specific player?

I ask because my microsd cards already have a .rockbox file on them for use in the Xduoo X3. If this is the identical file, I don't have to change anything.
Title: Re: Re: Fiio X1
Post by: saratoga on March 19, 2018, 02:00:07 PM
I ask because my microsd cards already have a .rockbox file on them for use in the Xduoo X3. If this is the identical file, I don't have to change anything.

Different players have different firmware, so you cannot use the X3 firmware on the Fiio. 
Title: Re: AGPTEK Rocker
Post by: johnb on March 19, 2018, 02:34:13 PM
The answer saratoga gave in the other thread is still true here: different players need their own firmware/rockbox build.
Title: Re: AGPTEK Rocker
Post by: jj69 on March 19, 2018, 02:38:33 PM
Thanks. I assume then that this means I cannot use the same microsd card with both players without first deleting the .rockbox file and replacing it with the alternate version?
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 19, 2018, 07:09:58 PM
Instructions for install:

Extract the folder out of rockbox.zip Take the folder out of that named ".rockbox" and put it directly into your sd card. Put update_rb.upt directly into sd card as well, and once in there, rename it too update.upt

Next you'll need to choose the update firmware option in agptek rocker settings. It should upgrade and then you'll have a choice to choose rockbox, the original agptek rocker os and some tools. Hope this helps, leave a reply if you need help with the install.

No luck for me.

I have a .rockbox directory at the root of my card; and I have the update.upt file there too.  When I then turn on the Rocker, go to settings and choose "update firmware", it tells me "No update!"  And then interestingly, when I turn off the device and re-connect to my computer, the update.upt file is now absent from the card.  I've repeated this twice, same behavior both times.  (It also set the filesystem to read-only, I had to unmount and remount rw the filesystem from the command line for the re-try.

The Rocker will play the mp3 and ogg files I have on that card (in folder view mode), so the formatting of the card doesn't seem to be at issue.  Any hints welcome.


Title: Re: AGPTEK Rocker
Post by: Milardo on March 19, 2018, 07:21:10 PM
Hi,

   I had a few problems as well with that. What is your sd card formatted as? Did you download the files that i uploaded or did you compile/build them yourself.? You might have to reformat the card. I actually put the two files in my sdcard using windows 10 os.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 19, 2018, 07:44:53 PM
Hi,

   I had a few problems as well with that. What is your sd card formatted as? Did you download the files that i uploaded or did you compile/build them yourself.? You might have to reformat the card. I actually put the two files in my sdcard using windows 10 os.

I downloaded the files off your Google docs links.  Your first post had one Rockbox.zip and one upt file; your second post had a different Rockbox.zip with updates for bass/treble adjustments.  I used the upt file linked from the first post, and the zip file linked from the second post.

I think the read-only thing occured because I unplugged the device from the computer, without unmounting it.  On plugging it back in, dmesg tells me this:

Code: [Select]
[1511695.530849] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[1511695.868103] FAT-fs (sdb1): error, fat_get_cluster: invalid cluster chain (i_pos 0)
[1511695.868106] FAT-fs (sdb1): Filesystem has been set read-only

Then running mount -o remount,rw  let me write to it again.

Believe it or not, I no longer remember what the card is formatted as.  It's the same 64Gb card I've been using in my Sansa Clip (zip?) for a couple of years.  I formatted it using some tool from a Windows 7 desktop; it might have been a tool I downloaded.  Now I'm using a RHEL laptop, so I have a different set of tools available to me.  Is that log stuff above telling us the the card is formatted FAT32?  That rings a bell.

The mount command says that /dev/sdb1 is of type vfat; the file -sL command says "(volumes > 32 MB) , FAT (32 bit), sectors/FAT 7613" (among other things).




Title: Re: AGPTEK Rocker
Post by: Milardo on March 19, 2018, 08:51:50 PM
ok, yes the card should be formatted as FAT32. Sorry i'm not sure what that log is telling you. Can you try to get a different sd card (if you want) to see if rockbox can run on your player? Format as FAT32 then add a couple of mp3 then might want to format it in the agptek rocker then add some mp3 files as well as .rockbox folder and the update.upt file. I'm going to upload the upt that enables that usb mass storage support as well which you can try out too.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 19, 2018, 09:09:16 PM
Can you try to get a different sd card (if you want) to see if rockbox can run on your player?  ... might want to format it in the agptek rocker then add some mp3 files as well as .rockbox folder and the update.upt file.

Easiest thing might be to back up the ~42Gb of music I have on this card to my computer, then format the card in the player and proceed as instructed.  FYI the "about this player" says I have firmware version 1.2.

But it's interesting, the card seems to be working in the player.  The player is reading the music files I have in there, and building its little database of artists and albums. 
Title: Re: AGPTEK Rocker
Post by: Milardo on March 19, 2018, 09:12:15 PM
Yes i have the same firmware. Also yes the stock os on the player doesnt have any issue reading from my sd card, but formatting might help get rockbox working.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 19, 2018, 09:17:21 PM
... but formatting might help get rockbox working.
Ok.

But as a quick check, does the upt file need to have any particular permissions on it, when it is loaded to the SD card?  Does it need "execute" permission?  The current permission set is rw-r-r.  Should I change it to include X, and try to update the firmware again?
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 19, 2018, 09:33:12 PM
Alright, this behavior is more complex than I originally reported.
So at this point when I turn on the player, and then browse to settings - update firmware, it says there is no update.

Just now I tried it, but after the player finished updating the music files and shut down, I did NOT turn on the player.  Instead I plugged it back into my computer.  The upt file is gone!  It's already gone.  So whatever process reads my SD card and build its database, that process is already deleting my upt file before the player shuts down.

Do you have the player powered on, when you plug it into your computer?

Title: Re: AGPTEK Rocker
Post by: Milardo on March 19, 2018, 09:58:40 PM
Not sure about the permissions as i didn't particularly change any and i just used the default settings in windows 10 where i put the 2 files in the sd card.

I have connected player both on and off and transferred files, but all this was done in windows 10 os. Do you have another computer to try it on that has windows os?

I did have a bit of trouble getting it to update though, sometimes i had to re put in the .rockbox folder. Also, i'm not able to use the usb mass storage feature, i put in the new update.upt file but the feature doesn't work yet i think?
Title: Re: AGPTEK Rocker
Post by: Roboturner913 on March 20, 2018, 07:32:42 PM
Alright, this behavior is more complex than I originally reported.
  • I plug the Rocker into my laptop, with the player OFF.
  • The screen lights up with the Rocker name, and after some number of seconds it switches over to a USB logo and says "computer connected"
  • At that point I go to terminal in my laptop, and CD over to the SD card root
  • I copy over the update.upt  (the .rockbox folder is still present).  I check the filename; and this time I made sure it had X permissions
  • I eject the player
  • After a moment the player displays the Rocker name, and then says "updating music files" and counts up, to however many thousand songs I have on the card
  • That takes a couple mins.  Then the player goes to its main screen.  If I don't tough it right away, it shuts down
So at this point when I turn on the player, and then browse to settings - update firmware, it says there is no update.

Just now I tried it, but after the player finished updating the music files and shut down, I did NOT turn on the player.  Instead I plugged it back into my computer.  The upt file is gone!  It's already gone.  So whatever process reads my SD card and build its database, that process is already deleting my upt file before the player shuts down.

Do you have the player powered on, when you plug it into your computer?

I have also had strange issues after I plugged the player into my PC. Every time after I unplugged it would try to update the firmware and then it would go to the blue Agptek screen, then flash on and off until I turned it off. It would take 2-3 reboot cycles to get Rockbox to come back up.

I bought an SD card reader for adding music and started using an old phone charger to charge, so I don't have to plug into the PC anymore, and so far no more issues.
Title: Re: AGPTEK Rocker
Post by: alcaier on March 21, 2018, 07:08:04 AM
I would think it is more likely that the file was never actually written to the tf card instead of it being mysteriously deleted. Tf cards can appear writable but actually fail to hold any data because there is usually cache being kept on you pc that gets written only after you "safely remove hardware" or umount. Also it is not unheard of that some card readers and tf cards just do not play well together and you can get only read only or seemingly random errors. The way I recall these flash devices are made they take any piece of waffer that can hold any amount of data and disable the blocks that do not work. So your 32gb tf might of actually been 128gb waffer. My understanding is that many of the cheaper brands do not correctly mark the blocks that are failing as the flash starts to wear out so get flash that has seemingly ever worsening dementia. I would stick with Samsung evo, Sandisk ultra and perhaps Kingston to increase your chances.

wodz: is there anything you need to debug this mass storage thing?

I did try to build obexftpd which could give another way to access files but I am having trouble building libglib. It seems more recent versions cannot be cross-compiled easily and I do not know what is the original version that they used. I think obex-data-server is also capable of serving files but might be even more complex to compile.
Title: Re: AGPTEK Rocker
Post by: wodz on March 21, 2018, 08:56:42 AM
wodz: is there anything you need to debug this mass storage thing?

free time :-)
Title: Re: AGPTEK Rocker
Post by: breeman on March 22, 2018, 10:56:15 AM
I'm loving having Rockbox on my AGPTEK Rocker, and despite it still needing work, is serving me very well! I do however, have a few notes of things that need fixing and features I'd like to see. This is by no means intended to pester wodz in getting it updated, I just wanted to share what I've found in testing it out over the past week in hopes that some of it will be fixed/implemented in the future.

--

If you're playing music, and want to search through your music to queue up more on your playlist, scrolling through a long list of artists/folders tends to freeze a bit unless you slowly scroll one by one. Scrolling while nothing is playing is perfectly smooth with no issues.

Date/Time is missing, so a Rockbox theme that displays the time at the top of the screen will just show --:----

Bluetooth feature is currently missing. (I know this is being worked on)

Plugging in to charge while listening to music works, but seems to stop as soon as it reaches full charge. The System info also doesn't display time remaining for the battery, just percentage.

Can't adjust volume on the system screens, only on the now playing screen.

Volume adjusts at very small increments so you have to hold volume up or volume down for a while to make a significant change.

Can't currently change font/background/selector colors in the theme settings as it seems the buttons haven't been mapped properly for it.

PictureFlow doesn’t work.

--

Again, I love that I have this on my Rocker now, thanks so much for the great work!
Title: Re: AGPTEK Rocker
Post by: wodz on March 23, 2018, 08:44:20 AM
Thanks for pointing out what you found missing/annoying. Unfortunately currently I don't have time to work on rockbox. Hopefully this will change in coming weeks.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on March 23, 2018, 07:13:16 PM
I would think it is more likely that the file was never actually written to the tf card instead of it being mysteriously deleted. Tf cards can appear writable but actually fail to hold any data because there is usually cache being kept on your pc that gets written only after you "safely remove hardware" or umount.

Ding ding ding!  That seems to completely describe the behavior I was seeing.  I bought a new card (164Gb!), put the .rockbox directory on it and the upt file, started up and applied the update.  The player applied the update and then rebooted and brought up the boot selection screen, with the 3 choices for Rockbox, Tools, and the original firmware.

For those playing along at home: when I chose Rockbox, it then displayed an error saying "Cannot boot Rockbox".  I tried a couple times, also tried the "Tools" and that failed, then booted the original firmware.  But then I shut down and rebooted, chose Rockbox again, and it worked FINE.  So I guess it just needed an extra reboot after the update.


Thanks for pointing out what you found missing/annoying.

What I found annoying was the misbehavior of my effed-up SD card.   ::)

Wodz, this port is wonderful.  I mean, I've only had it on my player for ~5 mins, only played one song.  But Rockbox looks beautiful on it.  It suddenly makes this player intuitive as hell, nicely responsive to its buttons, and just all-around awesome.  I can't thank you enough for the effort you've put in to make this happen.

Milardo, thank you too, for the work to make the port super easy to apply. 

I'm copying over the rest of my songs now.  Can't wait to use it!


Title: Re: AGPTEK Rocker
Post by: alex5908 on March 23, 2018, 08:25:25 PM
Hello everybody,
Could I get a piece of advice here?
Before rockboxing my T6 player could play files from 128GB microSD card. I tried 4 different cards of 128GB capacity. None worked. Now I can use only 32GB card. All the cards are formatted for FAT32. What shall I do?
I don't want to come back. I need rockbox.
Title: Re: AGPTEK Rocker
Post by: yzdev on March 24, 2018, 01:44:15 AM
For those playing along at home: when I chose Rockbox, it then displayed an error saying "Cannot boot Rockbox".  I tried a couple times, also tried the "Tools" and that failed, then booted the original firmware.  But then I shut down and rebooted, chose Rockbox again, and it worked FINE.  So I guess it just needed an extra reboot after the update.
I noticed this behaviour as well (after each upgrade). So just start the original firmware once after a firmware upgrade, shut the player down and then start Rockbox.
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on March 24, 2018, 04:56:37 AM
It happened to me the first time I got the player and I was about to return it for something else... How foolish!
By the way, what I did was formatting the SD card to an 8GB volume and gradually expanded it, checking Everytime if it was able to read it.
Title: Re: AGPTEK Rocker
Post by: alex5908 on March 25, 2018, 06:21:44 PM
Is it possible to enlarge the font? The characters are tiny to me because of my not so good eye site.
Title: Re: AGPTEK Rocker
Post by: Roboturner913 on March 25, 2018, 08:55:09 PM
I've noticed that while playing and the screen goes dark, I can still faintly (very faintly) see the now playing screen. Possible battery drain? I don't know if this is an issue or problem, just thought I'd mention it.
Title: Re: AGPTEK Rocker
Post by: saratoga on March 25, 2018, 10:08:14 PM
I've noticed that while playing and the screen goes dark, I can still faintly (very faintly) see the now playing screen.

That means the backlight is off but the screen is on.

Possible battery drain?

Usually not, but worth testing. 
Title: Re: AGPTEK Rocker
Post by: wodz on April 04, 2018, 03:29:50 AM
Hello chaps,
With b9467e9347ba390bbd9b66e6581c50717a0beaef USB mode should work correctly. You need to perform full upgrade (.upt as well as rockbox.zip). I have only card formated as fat32 and with partition table so if you have exfat card and/or superfloppy formated please give me some feedback.

I also looked at problems with booting rockbox after upgrade. This is because OF upgrade procedure deletes /mnt/sd_0 directory (mountpoint for SD). It is recreated on first OF boot. It seems to depend on OF version if this dir is deleted or not during upgrade.
Title: Re: AGPTEK Rocker
Post by: squidman on April 06, 2018, 02:09:29 AM
Hello chaps,
With b9467e9347ba390bbd9b66e6581c50717a0beaef USB mode should work correctly. You need to perform full upgrade (.upt as well as rockbox.zip). I have only card formated as fat32 and with partition table so if you have exfat card and/or superfloppy formated please give me some feedback.

I also looked at problems with booting rockbox after upgrade. This is because OF upgrade procedure deletes /mnt/sd_0 directory (mountpoint for SD). It is recreated on first OF boot. It seems to depend on OF version if this dir is deleted or not during upgrade.

So far it's working good. It should show up as b9467e9347-180406 in the Rockbox info tab right? Also I had to boot into the regular firmware first for rockbox to boot at all.
Title: Re: AGPTEK Rocker
Post by: yzdev on April 06, 2018, 05:41:05 PM
Thanks wodz :) USB works as it should.
Title: Re: AGPTEK Rocker
Post by: Milardo on April 09, 2018, 11:47:18 AM
Here are the links for the firmware that enables the usb mode, tested by me and working.

rockbox.zip

https://drive.google.com/file/d/1LI1Xnd-JzHFih3JIkVV3RRnhg62dY5zX/view

update_rb.upt

https://drive.google.com/file/d/1wKUaxM4Zxs2850x5jeVBLI4DvbtbQTCJ/view

Let me know if any issues
Title: Re: AGPTEK Rocker
Post by: SM on April 09, 2018, 06:46:06 PM
I finally rockboxed my Rocker and I found some things:


I used the latest build that Milardo posted with the working USB mode.

If I find anything else, I'll report it.
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on April 10, 2018, 01:53:34 AM
  • There's no clock
  • When the Rocker was scanning my card for music it didn't show any progress; my Clip Zip would show an increasing number, he Rocker stays at 0, seemingly frozen, it eventually responded to input again after it was done with the scan
  • I won a game of solitaire and got a seg fault error, it showed a white screen with the address 0x77c0d000, it happened on every win a second or so after the cards do the bouncy thing
  • Picture flow says it couldn't create a directory (showing where said directory would go inside of the .rockbox one
  • Solitaire settings are reset each time the plugin starts, saved games resume just fine
  • Aside of the blue/green-ish colors someone else mentioned, Rockboy ran BEAUTIFULLY, fixable by using the modified rockboy plugin by alcaier from here (http://forums.rockbox.org/index.php/topic,52237.msg241829.html#msg241829)
I also noticed Rockbox cannot detect when the headphone jack is removed. No matter how "Pause on Headphone Unplug" is set to, it doesn't detect it. This leads to having music played in the background for hours and a very quick battery drain
Title: Re: AGPTEK Rocker
Post by: wodz on April 10, 2018, 06:33:41 AM
  • There's no clock

In commit f18e4d5d56e5a1b1cba90ab29e86cd2295e0cd52 I implemented RTC support. I don't have access to my player for some time so please post here feedback. You only need to substitute .rockbox folder on SD with one from rockbox.zip compiled with this change. No need for full upgrade.
Title: Re: AGPTEK Rocker
Post by: wodz on April 10, 2018, 07:17:44 AM
I also noticed Rockbox cannot detect when the headphone jack is removed. No matter how "Pause on Headphone Unplug" is set to, it doesn't detect it. This leads to having music played in the background for hours and a very quick battery drain

We read headphone status through sysfs linux interface. Which player variant (1 or 2) and which OF version are you using (does it detect HP unplug correctly in OF?)
Title: Re: AGPTEK Rocker
Post by: MrFoxhead on April 10, 2018, 08:08:39 AM
I'm using the AGPTEK Rocker V2 (the one with rounded edges), running 1.2 original firmware and Rockbox version b9467e9347-180409.
The Original Firmware properly detects the headphone unplug and it pauses right after tho.
Title: Re: AGPTEK Rocker
Post by: wodz on April 16, 2018, 12:36:40 AM
I'm using the AGPTEK Rocker V2 (the one with rounded edges), running 1.2 original firmware and Rockbox version b9467e9347-180409.
The Original Firmware properly detects the headphone unplug and it pauses right after tho.

If you are willing to help please install adb tool (the one from android tools or how it is called nowadays) and catch me on IRC so we can have live debug session.
Title: Re: AGPTEK Rocker
Post by: TyphoonScotland on April 16, 2018, 03:49:10 PM
I'm using the AGPTEK Rocker V2 (the one with rounded edges), running 1.2 original firmware and Rockbox version b9467e9347-180409.
The Original Firmware properly detects the headphone unplug and it pauses right after tho.

If you are willing to help please install adb tool (the one from android tools or how it is called nowadays) and catch me on IRC so we can have live debug session.

If you install this, it will install ADB for you so you can use it straight from your command window, I highly recommend it.
https://forum.xda-developers.com/showthread.php?t=2588979 (https://forum.xda-developers.com/showthread.php?t=2588979)
 It's the version of ADB that I use for if I need to try and debug my phone, I hope it's okay to post this link, it's just a lot easier than installing all of the Android Development Tools. If there's anything I can maybe do to help in the future please feel free to ask.

Thanks,
TyphoonScotland
Title: Re: AGPTEK Rocker
Post by: SM on April 17, 2018, 10:44:09 AM
  • There's no clock

In commit f18e4d5d56e5a1b1cba90ab29e86cd2295e0cd52 I implemented RTC support. I don't have access to my player for some time so please post here feedback. You only need to substitute .rockbox folder on SD with one from rockbox.zip compiled with this change. No need for full upgrade.

Sadly, my skills seem to be limited to "poke all the things ans see if something breaks" in this case (I think I need Debian to make a RB build). OTOH, I have ADB ready and don't have headphone detection like MrFoxhead does. I have the same player and firmware versions (1.2 and b9467e9347-180409, the one posted by Milardo). Headphone detection works fine in the Of but not in the RB I installed.














Title: Re: AGPTEK Rocker
Post by: wodz on April 17, 2018, 04:07:17 PM
Great! Try to catch me on IRC. I live in CEST timezone.
Title: Re: AGPTEK Rocker
Post by: Milardo on April 18, 2018, 03:50:34 PM
  • There's no clock

In commit f18e4d5d56e5a1b1cba90ab29e86cd2295e0cd52 I implemented RTC support. I don't have access to my player for some time so please post here feedback. You only need to substitute .rockbox folder on SD with one from rockbox.zip compiled with this change. No need for full upgrade.

Here is the build with the clock:

https://drive.google.com/file/d/177EBThWmr6_2XIV7cvUDNCOi_vTR6wV9/view
Title: Re: AGPTEK Rocker
Post by: SM on April 18, 2018, 09:54:16 PM
Here is the build with the clock:

https://drive.google.com/file/d/177EBThWmr6_2XIV7cvUDNCOi_vTR6wV9/view

Now I won't have to awkwardly take my phone out to see the time while using my rocker, thanks  :)

Wodz, I'll try to be on IRC for the live debug session in about 8 hours from now, if you have time, if not, don't worry, I can be at whatever time you find reasonable during one of your fancy across-the-pond Sundays, I'm in a CDT timezone.
Title: Re: AGPTEK Rocker
Post by: Burrhus on April 21, 2018, 11:11:32 PM
There is another item quite similar : the Benjie BJ-T6.

Avalaible for purchase here, for cheaper :
https://fr.aliexpress.com/item/New-Original-BENJIE-T6-X1000-Bluetooth-Sans-Perte-Musique-MP3-Player-1-8-LCD-Support-cran/32856559739.html?spm=a2g0w.search0204.3.3.67325f48qgaG9U&ws_ab_test=searchweb0_0%2Csearchweb201602_5_10152_10065_10151_10344_10068_5722815_10342_10343_10340_10341_5722915_10698_5722615_10697_10696_10084_10083_10618_10305_10304_10307_5722715_5711215_10059_10184_308_100031_10103_441_10624_10623_10622_5711315_5722515_10621_10620%2Csearchweb201603_19%2CppcSwitch_5_ppcChannel&algo_expid=7be604c1-f3cb-40ee-98b4-6278478f5222-0&algo_pvid=7be604c1-f3cb-40ee-98b4-6278478f5222&priceBeautifyAB=0

It seems that AGPTek designed the Rocker, while BENJIE is manufacturing the item.

Accoreding to AliExpress, there are some differences, as the BENJIE is supporting FM, and recording.

The Benjie site is not as precise.
http://www.benjie-tx.com/MP3HiFiPlayer/224.html#

I plan to purchase a Benjie to test RockBox on it. And try the FM and the recording options.

Any advice ?
Title: Re: AGPTEK Rocker
Post by: johnb on April 22, 2018, 02:23:21 AM
I received my Benjie T6 this week. It does NOT have a FM or recording option.
There have been several reports that the AGPTEK Rocker (v1) and Benjie T6 are the same hardware. With v2 the metal case has rounded edges.
In the meantime I have the Rocker v1.2 firmware and Rockbox on it.  ;)
Title: Re: AGPTEK Rocker
Post by: wodz on April 22, 2018, 02:31:24 AM
As stated before, Benjie T6 and Agptek Rocker v1 is exactly the same hardware.
You can interchange firmware between the two (i.e flash agptek firmware in T6 and vice versa).
There is NO FM nor recording.
Title: Re: AGPTEK Rocker
Post by: Eugen5s on April 25, 2018, 01:08:44 PM
Is there a way to backup the firmware for the Benjie T6? My T6 came with the Firmware ver 1.07Beta.

Title: Re: AGPTEK Rocker
Post by: TyphoonScotland on April 25, 2018, 02:19:29 PM
Is there a way to backup the firmware for the Benjie T6? My T6 came with the Firmware ver 1.07Beta.

You don't actually need to, the Bootloader that comes with Rockbox is a Dual Boot, therefore your Benjie T6 will boot both Rockbox and the Original Player software (Hiby Player). ;)
Title: Re: AGPTEK Rocker
Post by: Eugen5s on April 25, 2018, 02:57:39 PM
Oh that's good to hear! I was also planning to install the AGPtek Version 1.2, but is there any great noticeable difference between the AGPtek and the Benjie?
Title: Re: AGPTEK Rocker
Post by: TyphoonScotland on April 25, 2018, 03:17:27 PM
Oh that's good to hear! I was also planning to install the AGPtek Version 1.2, but is there any great noticeable difference between the AGPtek and the Benjie?

As stated above, hardware wise they are exactly the same. There is no noticeable difference between the devices or firmwares. Both are interchangeable.
Title: Re: AGPTEK Rocker
Post by: Eugen5s on April 25, 2018, 04:43:10 PM
So I installed the Rockbox with Milardo's files, and likes it so far. Although the UI feels a bit harder to use, might be because this is my first time using Rockbox. However I got some question to ask:

How do you create a playlist and add a file to a playlist? I tried to long press the play button but it didn't work.

Also how do I play all files? The files in a folder plays separately from the rest.

As for bug I noticed that when choosing the 25% on the Perceptual Bass Enhancement the Rockbox will crash.
Title: Re: AGPTEK Rocker
Post by: csussman on April 25, 2018, 08:58:56 PM
I don't have this player, but I can tell you the general procedures for rockbox.

How do you create a playlist and add a file to a playlist? I tried to long press the play button but it didn't work.

To create a new playlist:
   1. Find a song that you want to include in the playlist using either the file browser or the database.
   2. Hold down the select (middle) button to open the context menu.
   3. Select 'Playlist Catalog', 'Add to New Playlist'.
   4. Type in a name for the playlist (before '.m3u8') and save it (probably by holding down the select button).
To add a file to a playlist:
   Follow steps 1-2 as above
   3. Select 'Playlist Catalog', 'Add to Playlist',<name of playlist>.

Also how do I play all files? The files in a folder plays separately from the rest.

Go to 'Settings', 'General Settings', 'Playlists', 'Recursively Insert Directories'.
Title: Re: AGPTEK Rocker
Post by: lncdoc on April 26, 2018, 12:49:43 AM
Firstly, Thank you everyone for the excellent work on this port; it's working better than I dared hope on my Rocker v2 (OF 1.2).

When I got the player 2 days ago, I was a bit disappointed with the relatively high noise floor with low impedance IEMs, such as Klipsch X11 or Vsonic VC1000, using the OF (but also Rockbox). I thus had a look at the datasheet and it suggests it should be able to do better, so I had a look at the detailed debug information at https://www.rockbox.org/wiki/AgptekRocker (again, thank you very much for posting that) and figured I'd try playing with the gain. It turns out the unit sounds WAY better (at least to me, your mileage may vary), with the gain set to 0 (000 binary), which corresponds to 0.3959 gain according to the datasheet instead of the default 0.6047 (011 binary, as in 3).

As my programming skills (outside of technical computing like Matlab and R) are minuscule, I just hard-coded this into the rocker_codec.c in rockbox-wodz/firmware/drivers/audio/ during the codec initialization by adding 2 lines:

(beginning of snippet)

void audiohw_preinit(void)
{
    long int hp = 2;
    long int csgain = 0;

    alsa_controls_init();
    hw_open();

    /* Output port switch set to Headphones */
    alsa_controls_set_ints("Output Port Switch", 1, &hp);
    alsa_controls_set_ints("CS42L51 Gain", 1, &csgain);
}

(end of snippet)

Please feel free to either make use of this or ignore it, but it's made the player usable with low impedance IEMs at low volumes for me, when it was painfully noisy before, so I figured I'd share this, as I didn't see any such option implemented yet (my apologies if I just overlooked something). Would be very cool to add a "gain" setting in the sound menu!

All the best, and again, thanks for all the work!




Title: Re: AGPTEK Rocker
Post by: rdtyphn on April 26, 2018, 06:31:45 AM
Firstly, Thank you everyone for the excellent work on this port; it's working better than I dared hope on my Rocker v2 (OF 1.2).

When I got the player 2 days ago, I was a bit disappointed with the relatively high noise floor with low impedance IEMs, such as Klipsch X11 or Vsonic VC1000, using the OF (but also Rockbox). I thus had a look at the datasheet and it suggests it should be able to do better, so I had a look at the detailed debug information at https://www.rockbox.org/wiki/AgptekRocker (again, thank you very much for posting that) and figured I'd try playing with the gain. It turns out the unit sounds WAY better (at least to me, your mileage may vary), with the gain set to 0 (000 binary), which corresponds to 0.3959 gain according to the datasheet instead of the default 0.6047 (011 binary, as in 3).

As my programming skills (outside of technical computing like Matlab and R) are minuscule, I just hard-coded this into the rocker_codec.c in rockbox-wodz/firmware/drivers/audio/ during the codec initialization by adding 2 lines:

(beginning of snippet)

void audiohw_preinit(void)
{
    long int hp = 2;
    long int csgain = 0;

    alsa_controls_init();
    hw_open();

    /* Output port switch set to Headphones */
    alsa_controls_set_ints("Output Port Switch", 1, &hp);
    alsa_controls_set_ints("CS42L51 Gain", 1, &csgain);
}

(end of snippet)

Please feel free to either make use of this or ignore it, but it's made the player usable with low impedance IEMs at low volumes for me, when it was painfully noisy before, so I figured I'd share this, as I didn't see any such option implemented yet (my apologies if I just overlooked something). Would be very cool to add a "gain" setting in the sound menu!

All the best, and again, thanks for all the work!

Great, this has been my main issue with the player, thank you!
Title: Re: AGPTEK Rocker
Post by: Eugen5s on April 26, 2018, 06:34:02 AM
I don't have this player, but I can tell you the general procedures for rockbox.

How do you create a playlist and add a file to a playlist? I tried to long press the play button but it didn't work.

To create a new playlist:
   1. Find a song that you want to include in the playlist using either the file browser or the database.
   2. Hold down the select (middle) button to open the context menu.
   3. Select 'Playlist Catalog', 'Add to New Playlist'.
   4. Type in a name for the playlist (before '.m3u8') and save it (probably by holding down the select button).
To add a file to a playlist:
   Follow steps 1-2 as above
   3. Select 'Playlist Catalog', 'Add to Playlist',<name of playlist>.

Also how do I play all files? The files in a folder plays separately from the rest.

Go to 'Settings', 'General Settings', 'Playlists', 'Recursively Insert Directories'.


Thanks! I managed to make the playlist. I think I worded my second question a bit bad, what I meant by playing all files is ALL files in the sd card, like if I had 200 songs on the sd card it will show them like a playlist? Now it works like if I play a song in a folder it will only play the files in that folder. And if I play the one of the song that's not in a folder it will only play the files that's not in a folder.
Title: Re: AGPTEK Rocker
Post by: csussman on April 26, 2018, 08:29:09 AM
Try looking in one of the manuals.