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.


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 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.

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: 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: 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.

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

free time :-)
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: 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 install
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: Burrhus on April 21, 2018, 11:11:32 PM
There is another item quite similar : the Benjie BJ-T6.

Avalaible for purchase Aliexpress, for cheaper..

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.

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, 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). ;)

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: 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
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!

Great, this has been my main issue with the player, thank you!
Title: Re: AGPTEK Rocker
Post by: JimZipCode on May 10, 2018, 01:16:11 PM
(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
Awesome stuff.

Does Rockbox have to be re-compiled after this change?  Or can it be made "manually" in the files that Milardo has provided via zip?

Wodz, What you've done so far is awesome.  Thanks so much for it.
Title: Re: AGPTEK Rocker
Post by: poster79 on May 15, 2018, 03:13:01 AM
Great News ! there's life in Rockbox yet.


I've just a couple of questions before I order BENJIE T6 from Aliexpress.   (BENJIE T6 and AGPTek Rocker are exact same device)

How is battery life with Rockbox installed ?  I understand that battery life with the default firmware isn't great  - c. 10 hours ?   Is it any better with Rockbox installed ?

I think I read that a user had an issue with the font being too small. Does resizing of fonts work with AGPTek Rocker ?  In fact, is there any significant functionality which isnt working?

Finally, a worthy successor to my Sandisk  Clip with Rockbox !
Title: Re: AGPTEK Rocker
Post by: Пепсі Микола on May 20, 2018, 01:35:32 PM
Good day,Benjie T6 click the volume does not work,only a long tap  :(
Title: Re: AGPTEK Rocker
Post by: wodz on May 20, 2018, 02:05:29 PM
It works. The single step is tiny however.
Title: Re: AGPTEK Rocker
Post by: Пепсі Микола on May 20, 2018, 02:31:41 PM
It works. The single step is tiny however.
can not be improved?
does not cause inconvenience,but I would like better.
Rockbox very very good    :)
Title: Re: AGPTEK Rocker
Post by: Duceboia on May 21, 2018, 10:33:44 AM
Mine lasted just more of 8 hours with xduuo nx1 AMP and Superlux 681evo. Playback continous from huge playlist.
Using Milardo files(THANKS MAN).
Title: Re: AGPTEK Rocker
Post by: gomezz on May 24, 2018, 05:07:37 AM
Used mine over a work day yesterday.  Running time 6h 11m split over a morning and an afternoon session.  Play time was 4h give or take a couple of minutes so for the remainder of the afternoon had to switch back to using my Clip+.

It does not seem possible to use Rockbox while it is charging.  Is this a known issue?

Also, when recharging Rockbox never reports more than 90% charged even after several hours?
Title: Re: AGPTEK Rocker
Post by: wodz on May 25, 2018, 04:20:30 AM
It does not seem possible to use Rockbox while it is charging.  Is this a known issue?

Also, when recharging Rockbox never reports more than 90% charged even after several hours?

Could you be more specific about not possible to use Rockbox while charging? If you mean charging without entering usb mass storage mode simply hold select while plugging cable.

As of reported charge, voltage of the battery is reported by underlying OS (linux). It does not report SOC (state of charge). The mapping of voltage<->percentage of charge available is totally uncalibrated and assumed linear from 3.4 to 4.2V which simply is not true for li-ion. If someone run battery_bench plugin and provide results I can correct this.
Title: Re: AGPTEK Rocker
Post by: diegopau on May 25, 2018, 01:44:54 PM
Hi guys,

I am also thinking on getting a Benjie T6 now that there is Rockbox support (the battery of my old Clip Zip is giving up).

Those reports on battery duration are a bit worrisome, but it wasn't clear to me if you are testing using bluetooth or if you are using wired headphones. I expect the duration using bluetooth much less and I am interested in how long it last using just wired headphones.
I guess that duration also depends on what file you are playing as some audio formats might be heavier in CPU and memory card reading. If i remember correctly the Sansa Clip Zip has a 290mAh battery, and the Benjie T6/Rocker has a 600 mAh, so it is disappointing to know that it last less than the clip zip with double battery size!

One more doubt: do you know if the Benjie T6 has the exact same battery than the Rocker (same manufacturer)?

Thank you in advance
Title: Re: AGPTEK Rocker
Post by: gomezz on May 25, 2018, 03:34:07 PM
It does not seem possible to use Rockbox while it is charging.  Is this a known issue?

Also, when recharging Rockbox never reports more than 90% charged even after several hours?

Could you be more specific about not possible to use Rockbox while charging? If you mean charging without entering usb mass storage mode simply hold select while plugging cable.
Thanks for the tip.
Title: Re: AGPTEK Rocker
Post by: pechenyh on May 25, 2018, 04:03:32 PM

 If someone run battery_bench plugin and provide results I can correct this.

Here is my battery bench (Benjie T6, no bluetooth)
link to battery_bench.txt: https://yadi.sk/i/QvYpXhjz3WYHgZ (https://yadi.sk/i/QvYpXhjz3WYHgZ)

I really do not understand how it turned out 6:50 because in daily use it works about 4 hours
Title: Re: AGPTEK Rocker
Post by: elakir on May 27, 2018, 01:14:25 AM
As of reported charge, voltage of the battery is reported by underlying OS (linux). It does not report SOC (state of charge). The mapping of voltage<->percentage of charge available is totally uncalibrated and assumed linear from 3.4 to 4.2V which simply is not true for li-ion. If someone run battery_bench plugin and provide results I can correct this.

Benjie T6(no no bluetooth), "battery_bench.txt" in attach.
Or download from https://www.upload.ee/files/8486465/battery_bench_BenjieT6_no_BT_.7z.html

Title: Re: AGPTEK Rocker
Post by: ZiberPax on May 27, 2018, 05:47:28 PM
Hey. The same problem as in the photo. The folder ".rockbox" is put in the root of the SD card and there is "update", but nothing works :c
Title: Re: AGPTEK Rocker
Post by: Milardo on May 27, 2018, 09:43:05 PM
Hey. The same problem as in the photo. The folder ".rockbox" is put in the root of the SD card and there is "update", but nothing works :c

Hi, is this the first time installing rockbox on your device? If so, did you follow this:

"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"

What files did you download for the update or did you compile them yourself?
Title: Re: AGPTEK Rocker
Post by: wodz on May 28, 2018, 01:56:19 AM
Hey. The same problem as in the photo. The folder ".rockbox" is put in the root of the SD card and there is "update", but nothing works :c

I suspect you are hit by known bug that performing update (with update.upt) removes mountpoint for SD card. Try to boot original firmware once. It should recreate necessary directories and rockbox should be able to start on subsequent boot.
Title: Re: AGPTEK Rocker
Post by: wodz on May 28, 2018, 02:55:42 AM
Ok. Got two benches (thanks!) which looks pretty similar. I'll tweak calibration curve soon.
Title: Re: AGPTEK Rocker
Post by: ZiberPax on May 28, 2018, 08:14:43 AM
I tried to do the same with the original firmware, as advised vodz. But it did not help. First I install Shenzhen Benjie BJ-T6 V1.04Beta Firmware. After I put it in the root folder of the .rockbox and uptate (I formatted my SD, so I have nothing there). The same mistake. The first file is the original firmware, the remaining 2 that I put in the root
Title: Re: AGPTEK Rocker
Post by: wodz on May 28, 2018, 01:48:45 PM
I tried to do the same with the original firmware, as advised vodz. But it did not help. First I install Shenzhen Benjie BJ-T6 V1.04Beta Firmware. After I put it in the root folder of the .rockbox and uptate (I formatted my SD, so I have nothing there). The same mistake. The first file is the original firmware, the remaining 2 that I put in the root
1) put modified update.upt in the root of SD
2) put .rockbox folder in the root of SD
3) Boot *hiby player*
4) Shutdown player
5) This time it should be possible to boot rockbox
Title: Re: AGPTEK Rocker
Post by: alcaier on May 29, 2018, 12:21:41 PM
Hi guys,

I am also thinking on getting a Benjie T6 now that there is Rockbox support (the battery of my old Clip Zip is giving up).

Those reports on battery duration are a bit worrisome, but it wasn't clear to me if you are testing using bluetooth or if you are using wired headphones. I expect the duration using bluetooth much less and I am interested in how long it last using just wired headphones.
I guess that duration also depends on what file you are playing as some audio formats might be heavier in CPU and memory card reading. If i remember correctly the Sansa Clip Zip has a 290mAh battery, and the Benjie T6/Rocker has a 600 mAh, so it is disappointing to know that it last less than the clip zip with double battery size!

One more doubt: do you know if the Benjie T6 has the exact same battery than the Rocker (same manufacturer)?

Thank you in advance

It seems that the biggest power hog on this thing is the class AB amplifier vs class D of (Sansa clip).
https://statics.cirrus.com/pubs/proDatasheet/CS42L51_F2.pdf page 75 suggest something like 150mW which is (3.7(volts) * 0.6(Ah) * 0.7(losses)) / (0.05(cpu watts) + 0.15(amplifier watts)) = 7.7 hours .
I am  wondering if that noise on low volume that adjusting gain fixes is actually caused by microphone left open.
Title: Re: AGPTEK Rocker
Post by: tethyrian on May 31, 2018, 05:15:17 PM
Yes, both are present but I haven't ever tested those actually

I talked to an anon today who helped me out by telling me about and testing all the features I needed(even ones he didn't understand and thanked me a lot for teaching him about!). I decided to buy a Rocker v2 and honestly cannot wait to try it out. I wanted to echo the comment above me and say thank you so so so much for bringing rockbox back to a modern player. I honestly thought for a while that dedicated audio players were of a bygone era and am so happy to have found this product and port.

I know a decent amount of C and C++, etc. I am definitely not very well versed in the linux kernel or hardware programming in general but if there is anyway (or where) I can contribute now that I'll have a device on hand, I would love to offer my time.
Title: Re: AGPTEK Rocker
Post by: fretting on June 01, 2018, 11:00:39 AM

This is a treasure.

My sansa fuze died yesterday morning - probably failed battery.
Read this blog, ordered a Rocker V2.
Rocker arrived at 15:00 today.
Inserted SD card, it played files perfectly.
Downloaded Milardo files post #114
Followed instructions from his earlier post - (easy drag drop on mac of the .rockbox folder in the zip.)
The update took less than 10 minutes from download to install.
Rebooted into OS player first then reboot into Rockbox.

16:00 I have a new player fully Rockboxed.

version b9467e9347-180409
firmware 1.2 on the Rocker

bonus - a standard USB charge port, no sansa proprietary cable needed!

kudos to wodz for the port and Milardo for the simple install.
Title: Re: AGPTEK Rocker
Post by: wodz on June 12, 2018, 12:16:11 PM
Just to get you informed - Agptek Rocker port got merged upstream. I didn't make tests after merging and build script still points to my github branch but I'll sort this out soon.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on June 16, 2018, 04:08:58 PM
Just to get you informed - Agptek Rocker port got merged upstream.
WOOO HOOOOO!!!!!

I've been using it a lot these past few weeks.  Great port.  Thanks so much.
Title: Re: AGPTEK Rocker
Post by: N3ST on June 18, 2018, 10:53:49 AM
Hi Everyone,

I want to puchase the Agptek Rocker from amazon and install rockbox on it.

Does rockbox support bluetooth?

I understand that it is now in the main build is everyhting working fine with rockbox?

To install rockbox I should follow these steps right :

1) put modified update.upt in the root of SD
2) put .rockbox folder in the root of SD
3) Boot *hiby player*
4) Shutdown player

Then to upgrade rockbox I just need to download the latest rockbox build and replace the .rockbox folder?

Once I have my Rocker, I will be able to help you for the devellopment.

Do you think ot will be possible to add it to the officiale rockbox installer?

Best regards,

N3ST

Title: Re: AGPTEK Rocker
Post by: speachy on June 19, 2018, 06:08:13 AM

My second Clip+ just fried its flash, so I picked up a Benjie T6 to replace it.  All in all, it's looking pretty awesome.

Running the latest git code (20bdfa82) and there are some issues.  My question is where I should report them -- in the forums (this thread?), In the flyspray tracker (no AGPTek Rocker entry there yet), the main mailing list, or where?

 * Wonky keymaps in some places
 * volume control steps are very gradual
 * LCD doesn't seem to update when skipping or seeking tracks, but does when pausing/playing.
 * Need to expose output gain selection (to select between HP and Line out)

Thanks!

(Longtime rockbox user, going all the way back to the original Archos Player!)
Title: Re: AGPTEK Rocker
Post by: wodz on June 19, 2018, 09:56:49 AM
Does rockbox support bluetooth?
No. It is possible but not implemented yet.

To install rockbox I should follow these steps right :

1) put modified update.upt in the root of SD
2) put .rockbox folder in the root of SD
3) Boot *hiby player*
4) Shutdown player

Then to upgrade rockbox I just need to download the latest rockbox build and replace the .rockbox folder?

Yes, that is correct procedure.

Do you think ot will be possible to add it to the officiale rockbox installer?
Sure it is. Its just someone has to do the work. My free time very limited unfortunately.
Title: Re: AGPTEK Rocker
Post by: wodz on June 19, 2018, 10:05:16 AM
Running the latest git code (20bdfa82) and there are some issues.  My question is where I should report them -- in the forums (this thread?), In the flyspray tracker (no AGPTek Rocker entry there yet), the main mailing list, or where?
I think forum is the best for now.

* Wonky keymaps in some places
I am open to improvements suggestions. Ideally a patch.

* volume control steps are very gradual
Yes, steps are 0.5dB. Personally I find it usefull to have fine grained control but users seem to disagree.

* LCD doesn't seem to update when skipping or seeking tracks, but does when pausing/playing.
Interesting. I didn't spot this. Will check.

* Need to expose output gain selection (to select between HP and Line out)
I don't understand. AFAIK it only has HP output not line out.
Title: Re: AGPTEK Rocker
Post by: Markfm on June 19, 2018, 10:22:35 AM
Would it maybe be possible to have volume step size a user-adjustable setting?  We've done things like that with VLC.
Title: Re: AGPTEK Rocker
Post by: wodz on June 19, 2018, 11:59:28 AM
Rockbox has *a lot of* adjustable settings, way too much for average user. I am not saying it is impossible it is just very unlikely to go upstream.
Title: Re: AGPTEK Rocker
Post by: Milardo on June 19, 2018, 12:05:19 PM
I asked this question on IRC but didn't get a reply yet. Is the dev builds page going to be updated soon to include agptek rocker?
Title: Re: AGPTEK Rocker
Post by: wodz on June 19, 2018, 12:21:45 PM
I think I commited all needed changes however server admin needs to deploy this. I'll try to catch him.
Title: Re: AGPTEK Rocker
Post by: johnb on June 19, 2018, 01:10:06 PM
Regarding the volume steps see http://gerrit.rockbox.org/r/#/c/1555/. I made the comment about the hack respectively missing a clean and global solution.

Regarding keymaps:
I would suggest two changes (and can create a patch):
- Currently there is no way to cancel when in "Recent Bookmarks" screen, i.e. you have to select one and only then can quit. I would assign Cancel to the Power button.
- Like on the clip+, when in any of the other menus, clicking Power twice takes you back to WPS.

Right now I don't have the tool chain compiled myself, only then I would create the patches, i.e. when I am able to test myself.
Title: Re: AGPTEK Rocker
Post by: wodz on June 19, 2018, 02:33:25 PM
simulator is pretty convenient for testing keymaps.
Title: Re: AGPTEK Rocker
Post by: wodz on June 20, 2018, 08:39:44 AM
Regarding the volume steps see http://gerrit.rockbox.org/r/#/c/1555/. I made the comment about the hack respectively missing a clean and global solution.
706e31b should fix this without hack.
Title: Re: AGPTEK Rocker
Post by: saratoga on June 20, 2018, 11:42:37 AM
FWIW, we usually aim for a 1 dB step size in the audio drivers if the hardware is capable of it.  The rationale is that 1 dB is approximately the smallest step size that most people will notice without careful concentration. 
Title: Re: AGPTEK Rocker
Post by: speachy on June 20, 2018, 12:55:39 PM
706e31b should fix this without hack.

I saw the commit and rebuilt it this morning, and I'm happy to say that the WPS volume control buttons now have an audible difference.

* LCD doesn't seem to update when skipping or seeking tracks, but does when pausing/playing.
Interesting. I didn't spot this. Will check.

I misspoke -- basically, while in the WPS, the screen doesn't update until/unless a button is pressed.

* Need to expose output gain selection (to select between HP and Line out)
I don't understand. AFAIK it only has HP output not line out.

The CS42L51 doesn't have a dedicated line out, but via the output gain setting you can mimic it fairly closely by controlling the peak-peak voltage range/swing.  (Se page 17 of its datasheet)  Basically, "consumer line level" expects a peak-peak swing of ~0.9V (vs "pro line level" of about ~3.5V).

Both of my vehicles' line (not AUX!) inputs seem to fall on the "consumer" side of that line, and dialing the gain down to '0' results in noticably better audio quality, with 0.97v p-p voltage, vs the ~1.25v p-p voltage of the previous setting of '2'.  It also presumably results in slightly better battery life.

As an aside, Benjie/AGPTek's not releasing their Linux kernel sources is quite annoying; it would be nice to be able to utilize more of the CS42L51's features, like the native bass/treble control.

(When I have some more time I intend to start poking around via adb)
Title: Re: AGPTEK Rocker
Post by: wodz on June 20, 2018, 02:28:15 PM
FWIW, we usually aim for a 1 dB step size in the audio drivers if the hardware is capable of it.  The rationale is that 1 dB is approximately the smallest step size that most people will notice without careful concentration. 

While I agree that 1dB is about right step it was definitely a bug to not honor AUDIOHW_SETTING() declared step. Now it is up to developer what it defines as step (which usually reflects hardware capabilities).

I misspoke -- basically, while in the WPS, the screen doesn't update until/unless a button is pressed.

28cfeed4 should fix this.
Title: Re: AGPTEK Rocker
Post by: Milardo on June 20, 2018, 04:40:47 PM
Hi wodz,

            Just downloaded the latest dev build, however for people that are new this rockbox port, it doesn't seem to include the update_rb.upt file which is supposed to be named update.upt? Is it still necessary to do this? Also is there a webpage for the agptek rocker which includes the instructions for upgrading to rockbox?

Found it:

https://www.rockbox.org/wiki/AgptekRocker

Doesn't seem to include instructions for rockbox installation or update?
Title: Re: AGPTEK Rocker
Post by: speachy on June 20, 2018, 06:25:04 PM
I misspoke -- basically, while in the WPS, the screen doesn't update until/unless a button is pressed.
28cfeed4 should fix this.

Excellent, thank you!

BTW, one more for the bug/quirk list -- When audio playback starts (or resumes) there is sometimes an audible pop/click -- Several theories (codec automatically going into powersave mode?) but no way to really confirm anything since I still can't get ADB to work.  (Is there some trick involved beyond launching it via the bootloader?)
Title: Re: AGPTEK Rocker
Post by: wodz on June 21, 2018, 01:22:56 AM
Just downloaded the latest dev build, however for people that are new this rockbox port, it doesn't seem to include the update_rb.upt file which is supposed to be named update.upt? Is it still necessary to do this? Also is there a webpage for the agptek rocker which includes the instructions for upgrading to rockbox?

Found it:

https://www.rockbox.org/wiki/AgptekRocker

Doesn't seem to include instructions for rockbox installation or update?
update_rb.upt is ONLY needed to install bootloader (usually ONLY once). We will not distribute patched original firmware images for legal reasons. I have plan to significantly simplify process of update_rb.upt generation but I don't have much time to work on this.

Once bootloader is installed you only need to unzip rockbox.zip (which is now directly available from dev build page) to the root of SD.

You know that this page you are referring to is WIKI, right? Feel free to contribute.

BTW, one more for the bug/quirk list -- When audio playback starts (or resumes) there is sometimes an audible pop/click -- Several theories (codec automatically going into powersave mode?) but no way to really confirm anything since I still can't get ADB to work.  (Is there some trick involved beyond launching it via the bootloader?)

I didn't spot this pop/click but I don't use Rocker daily. Anyway I am afraid there is nothing I can do about this.

There are reports that you need to use adb older than 1.0.37 on PC. Personally I use 1.0.32 without problems. Another thing is that you cannot use ADB and run original firmware. Hiby player seems to intentionally overwrite android usb gadget settings breaking adb.
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 21, 2018, 10:07:46 AM
Hello!
On the latest dev. build (d64ff86) the display keeps working when backlight is off: https://imgur.com/ge7VyK6.gifv
Title: Re: AGPTEK Rocker
Post by: wodz on June 21, 2018, 01:49:03 PM
Hello!
On the latest dev. build (d64ff86) the display keeps working when backlight is off: https://imgur.com/ge7VyK6.gifv

Anyone can confirm this? I can't reproduce. Anyway which player (T6, Rocker v1, Rocker v2), which original firmware version? Are you able to hook ADB?
Title: Re: AGPTEK Rocker
Post by: johnb on June 21, 2018, 02:50:04 PM
It works for me (screen off).
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 22, 2018, 04:06:14 AM
Hello!
On the latest dev. build (d64ff86) the display keeps working when backlight is off: https://imgur.com/ge7VyK6.gifv (https://imgur.com/ge7VyK6.gifv)

Anyone can confirm this? I can't reproduce. Anyway which player (T6, Rocker v1, Rocker v2), which original firmware version? Are you able to hook ADB?
Benjie T6, orig. firmware from 【AGPTEK】ROCKER UPT1.2 (https://www.agptek.com/blog/agptek-rocker-firmware-download-2/) (AGPTEK_ROCKER(20171101).rar)
I think adb is working:
Code: [Select]
C:\adb>adb devices
List of devices attached
0123456789ABCDEF        device
BTW, one more for the bug/quirk list -- When audio playback starts (or resumes) there is sometimes an audible pop/click -- Several theories (codec automatically going into powersave mode?) but no way to really confirm anything since I still can't get ADB to work.  (Is there some trick involved beyond launching it via the bootloader?)

I didn't spot this pop/click but I don't use Rocker daily. Anyway I am afraid there is nothing I can do about this.

There are reports that you need to use adb older than 1.0.37 on PC. Personally I use 1.0.32 without problems. Another thing is that you cannot use ADB and run original firmware. Hiby player seems to intentionally overwrite android usb gadget settings breaking adb.
I was able to run adb v1.0.40 after manual driver install (Android ADB Interface, 08/28/2014, 11.0.0000.00000).
Title: Re: AGPTEK Rocker
Post by: wodz on June 22, 2018, 05:24:26 AM
Benjie T6, orig. firmware from 【AGPTEK】ROCKER UPT1.2 (https://www.agptek.com/blog/agptek-rocker-firmware-download-2/) (AGPTEK_ROCKER(20171101).rar)
I think adb is working:
Code: [Select]
C:\adb>adb devices
List of devices attached
0123456789ABCDEF        device

Ok, run adb shell and then issue echo 1 > /sys/class/graphics/fb0/blank. This should blank the screen obviously. Write 0 to unblank. Report if this works.
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 22, 2018, 05:36:31 AM
Ok, run adb shell and then issue echo 1 > /sys/class/graphics/fb0/blank. This should blank the screen obviously. Write 0 to unblank. Report if this works.
echo 1 - backlight off, screen still displays (usb plug image) and stops refreshing (time on status bar).
echo 0 - backlight on, screen is frozen (still displays usb image), can blindly navigate and play music.
Title: Re: AGPTEK Rocker
Post by: pechenyh on June 22, 2018, 06:17:41 AM
Anyone can confirm this? I can't reproduce. Anyway which player (T6, Rocker v1, Rocker v2), which original firmware version? Are you able to hook ADB?

Benjie T6, same problem. Original firmware 【AGPTEK】ROCKER UPT1.2
Title: Re: AGPTEK Rocker
Post by: wodz on June 22, 2018, 06:22:31 AM
echo 1 - backlight off, screen still displays (usb plug image) and stops refreshing (time on status bar).
echo 0 - backlight on, screen is frozen (still displays usb image), can blindly navigate and play music.

So something is wrong with linux driver then. Besides it is strange you can easily see something on lcd with backlight off. Could you try to upgrade OF to 1.4 (patched with rockbox bootloader of course)?
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 22, 2018, 06:25:46 AM
So something is wrong with linux driver then. Besides it is strange you can easily see something on lcd with backlight off. Could you try to upgrade OF to 1.4 (patched with rockbox bootloader of course)?
Where can I get that version?
Found it.
Hmmm... 1.4 and 1.3 files are identical to 1.1 file.
Edit:
Checked with patched 1.1, 1.06beta and 1.05beta - no difference, same reactions as
echo 1 - backlight off, screen still displays (usb plug image) and stops refreshing (time on status bar).
echo 0 - backlight on, screen is frozen (still displays usb image), can blindly navigate and play music.
Edit2: Found 1.04beta (Benjie version) and got the same reaction (on patched).
Title: Re: AGPTEK Rocker
Post by: speachy on June 25, 2018, 08:01:19 AM
Another couple of bugaboos:

 * Plugging in USB _power_ always sends rockbox into "usb storage" mode, halting any playback and locking the buttons.  Holding select down when plugging in avoids this.
 * Holding down select when plugging it into a PC still results in the SD card being remotely mounted/accessible, even while rockbox is still actively playing.  This causes ...problems.

(BTW, I now have ADB running properly; turned out to be a bug in ADB itself, fixed in a newer version than I had running)

Title: Re: AGPTEK Rocker
Post by: speachy on June 26, 2018, 08:41:59 AM
BTW, one more for the bug/quirk list -- When audio playback starts (or resumes) there is sometimes an audible pop/click -- Several theories (codec automatically going into powersave mode?) but no way to really confirm anything since I still can't get ADB to work.  (Is there some trick involved beyond launching it via the bootloader?)

I didn't spot this pop/click but I don't use Rocker daily. Anyway I am afraid there is nothing I can do about this.

There's a click that happens ~3s after pausing playback.  Its intensity is unaffected by the selected output volume.  It's probably due to the codec's amp being powered down after a period of silence, most likely by logic in the kernel's driver.  Changing the output port to something other than '2' (ie headphone) produces an immediate click/pop, so that approach won't work either.

So we're basically boned without the kernel sources (or the ability to roll our own..) Has anyone attempted to get them from AGPtek or Benjie?  EDIT: Saw that neither is cooperating.  A pity.
Title: Re: AGPTEK Rocker
Post by: wodz on June 28, 2018, 03:11:03 AM
There's a click that happens ~3s after pausing playback.  Its intensity is unaffected by the selected output volume.  It's probably due to the codec's amp being powered down after a period of silence, most likely by logic in the kernel's driver.  Changing the output port to something other than '2' (ie headphone) produces an immediate click/pop, so that approach won't work either.

So we're basically boned without the kernel sources (or the ability to roll our own..) Has anyone attempted to get them from AGPtek or Benjie?  EDIT: Saw that neither is cooperating.  A pity.

I tried on my player and I don't get any pop. Do you happen to use very sensitve headphones?
Title: Re: AGPTEK Rocker
Post by: wodz on June 28, 2018, 04:53:46 AM
* Holding down select when plugging it into a PC still results in the SD card being remotely mounted/accessible, even while rockbox is still actively playing.  This causes ...problems.

I guess this is with ADB enabled in bootloader. Try without enabling adb and report back if you still see this.
Title: Re: AGPTEK Rocker
Post by: speachy on June 28, 2018, 05:12:39 AM
I tried on my player and I don't get any pop. Do you happen to use very sensitve headphones?

Dunno about "very sensitive" -- they're just a random pair of earbuds I got with a cell phone a few years ago.  The pop is also quite audible when plugged into my car's line input.  (I have the output gain set to '1' in my builds, but that didn't seem to make an appreciable difference...)

I guess this is with ADB enabled in bootloader. Try without enabling adb and report back if you still see this.

I'm seeing inconsistent results.  The last time I tried this I had adb on, and the PC didn't try to mount anything.
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 28, 2018, 05:21:08 AM
I tried on my player and I don't get any pop. Do you happen to use very sensitve headphones?
I hear a pop after pause only on right channel. My headphones are iSK HP2011 (32 Ohm, 94±3dB sensitivity), Zero Audio Carbo Tenore (16 Ohm, 102dB) and Alwup UPC630 (16 Ohm, 110dB - audible noise floor on silent parts of music and on pause before pop; setting gain from 3 to 0 helps a little bit with noise (http://forums.rockbox.org/index.php/topic,51653.msg241969.html#msg241969)).
Latest build 8742f6f made pause on headphone unplug work but it pauses after ~1 second late.
Title: Re: AGPTEK Rocker
Post by: speachy on June 28, 2018, 05:48:25 AM
setting gain from 3 to 0 helps a little bit with noise

A couple of days ago I was interactively mucking with the gain settings (using amixer via adb) and it looked like only the values 1-7 had any effect -- eg set it to 7, then set it to 0, and the output doesn't change, but setting it to 1 had an immediate effect.  Can you see if this is the case for you as well?
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 28, 2018, 06:30:30 AM
A couple of days ago I was interactively mucking with the gain settings (using amixer via adb) and it looked like only the values 1-7 had any effect -- eg set it to 7, then set it to 0, and the output doesn't change, but setting it to 1 had an immediate effect.  Can you see if this is the case for you as well?
Code: [Select]
amixer set 'CS42L51 Gain' 0 - no change.
1-7 - can hear changes.

Code: [Select]
amixer cset numid=3 valuevalue from 0 to 7 works.
Title: Re: AGPTEK Rocker
Post by: Dulus_No on June 28, 2018, 07:03:48 AM
I hear a pop after pause only on right channel.
Now after tinkering with amixer I hear pop on both channels.
Title: Re: AGPTEK Rocker
Post by: sduck on July 09, 2018, 12:16:55 AM
Sorry for posting this, possibly a bit off topic. Forgive me! But I'm really hoping bluetooth will get enabled for this soon - I'm waiting eagerly. I have a new car that doesn't have an aux jack, but this player works with it quite well. And having rockbox on it would really make it complete - I've had rockbox on all my various DAPs since about 2003. So, any support I can give - just let me know. I'm not a coder, but I'm an excellent tester, and will happily buy pizzas and beer if that'll help. Thanks!
Title: Re: AGPTEK Rocker
Post by: wodz on July 09, 2018, 03:51:25 AM
Low level aspect of bluetooth on Agptek has been explored. The lack of time/developers is limiting factor.
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on July 09, 2018, 11:44:22 AM
Hi everybody! I find a bug. In all versions of rockbox screen always on, only backlight is off. You can see this problem on bright ligt, pictures still on screen ang if you choose a theme with moving pictures (jumping equaliser) you'll see mowing pictures when screen(should be, but not) off.
Title: Re: AGPTEK Rocker
Post by: wodz on July 09, 2018, 01:58:03 PM
Hi everybody! I find a bug. In all versions of rockbox screen always on, only backlight is off. You can see this problem on bright ligt, pictures still on screen ang if you choose a theme with moving pictures (jumping equaliser) you'll see mowing pictures when screen(should be, but not) off.

Let me guess - Benjie T6?
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on July 09, 2018, 02:23:10 PM
Yes, benjie t6.
Title: Re: AGPTEK Rocker
Post by: titzesan on July 09, 2018, 07:08:19 PM
Hi everybody! I find a bug. In all versions of rockbox screen always on, only backlight is off. You can see this problem on bright ligt, pictures still on screen ang if you choose a theme with moving pictures (jumping equaliser) you'll see mowing pictures when screen(should be, but not) off.

Let me guess - Benjie T6?

Just noticed the same behavior this morning in bright sunlight on my AgpTek Rocker (not the the Benjie model or firmware). UI is hard to see, but a white cover image can be noticed if you look closely.. Besides Rockbox the player is running the 1.2 OFW. So far didn't have the time to take a more detailed look.
Title: Re: AGPTEK Rocker
Post by: alcaier on July 14, 2018, 05:17:38 PM
Sorry for posting this, possibly a bit off topic. Forgive me! But I'm really hoping bluetooth will get enabled for this soon - I'm waiting eagerly. I have a new car that doesn't have an aux jack, but this player works with it quite well. And having rockbox on it would really make it complete - I've had rockbox on all my various DAPs since about 2003. So, any support I can give - just let me know. I'm not a coder, but I'm an excellent tester, and will happily buy pizzas and beer if that'll help. Thanks!
There is libasound_module_pcm_bluetooth.so and libasound_module_ctl_bluetooth.so on the system. I have no experience on alsa but this is pretty generic linux stuff e.g. https://github.com/mikebrady/shairport-sync/issues/200 .  I think wodz figured out how to make aplay work with this module. I think once one gets aplay to work with it you could modify rockbox to read alsa output device from file and then use a script to modify this file with bluetooth device mac. Ugly but I think it would be sufficient absent better ideas.


Here is a quick way to change alsa device. It looks for /etc/asound_device_override which could be created with a simple echo "alsa_devide" > /etc/asound_device_override from script . I have not even tried to compile this code.
Code: [Select]
diff --git a/firmware/target/hosted/pcm-alsa.c b/firmware/target/hosted/pcm-alsa.c
index f6a3ffc..112779a 100644
--- a/firmware/target/hosted/pcm-alsa.c
+++ b/firmware/target/hosted/pcm-alsa.c
@@ -421,10 +421,21 @@ void pcm_play_dma_init(void)
 {
     int err;
     audiohw_preinit();
-
-    if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0)
+       
+       char device_override[64];
+       device_override[0] = 0;
+       FILE *fp = fopen("/etc/asound_device_override", "r");
+       if (fp && fgets(device_override, 64, fp))
+               device_override[strcspn(device_override, "\r\n")] = 0; // remove trailing \n
+               
+       fclose(fp);
+       
+       if (strlen(device_override) <= 1)
+               strcpy(device_override, device);
+
+    if ((err = snd_pcm_open(&handle, device_override, SND_PCM_STREAM_PLAYBACK, 0)) < 0)
     {
-        panicf("%s(): Cannot open device %s: %s\n", __func__, device, snd_strerror(err));
+        panicf("%s(): Cannot open device %s: %s\n", __func__, device_override, snd_strerror(err));
     }
 
     if ((err = snd_pcm_nonblock(handle, 1)))

Title: Re: AGPTEK Rocker
Post by: sg2002 on July 24, 2018, 10:06:03 AM
Since another Clip+ started dying, and getting them is harder and harder, I've bought a T6, to see if it's a good replacement for them.

Now I'm trying to get Rockbox running on it. First of all, I have a question about the build procedure on github ( https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker/ (https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker/) ) - I have to provide an existing update.upt from the manufacturer and then it's gonna get patched, right?

Another thing is that while I'm struggling with manual build I've decicded to try the prebuild update files, there's one at head-fi ( https://www.head-fi.org/threads/the-shenzhen-benjie-bj-t6-agptek-rocker.834797/ (https://www.head-fi.org/threads/the-shenzhen-benjie-bj-t6-agptek-rocker.834797/) ) and another on russian 4pda forum ( https://4pda.ru/forum/index.php?showtopic=900933 (https://4pda.ru/forum/index.php?showtopic=900933) ). Neither of those worked for me, I get "Insert TF pls", "Updater V 1.1" and "v_v Failed".

Also my About This Player page reports that firmware version is 1.08Beta, maybe it's ther reaspon I cannot update?

Thanks for working on this, this port is what would probably keep rockbox alive.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on July 24, 2018, 10:45:07 AM
Story:
 
Last week, Thurs or Fri, I was cooking dinner while playing my Rocker thru my external speakers, when it ran out of charge and "died".  After finishing dinner, I plugged a charging cable into it, and an error notification popped up.  I didn't worry about it, figured it had stopped in an error condition and would reboot fine when it was charged up.

Next morning the error screen was still displaying, but I barely glanced at it, just unplugged and turned the player off.  When I powered up, the normal bootloader choice appeared, but when I chose Rockbox it said it could not boot Rockbox.  I tried a few times.  It did boot into the "Hiby player" just fine, but not into Rockbox.  When I booted into the original firmware, it couldn't find any of my music.  When I plugged the player into my computers, it would charge, but the player would not be detected by the computer.  I tried it on a laptop running RHEL7, and on a desktop running Windows 7.  Neither machine detected that anything was plugged in, though the player itself said it was "connecting to computer", and it started to charge.  I took out my microSD card and put it back in, no joy.

Eventually on Sunday I bit the bullet.  I used the orginal firmware to restore factory settings.  I used original firmware to re-format my microSD card.  Copied the update_rb.upt file over (I had it stored on one of my computers), and I unzipped the Rockbox dev build from here.  Booted original firmware, turned off, then booted Rockbox.  Success!  Recopied all of my music over, which took an hour or so.  Now player seems as good as "new", ie good as originally Rockboxed.

I dunno if this anecdote is useful to anyone.  Something during normal usage cycle "fried" (technical term) my microSD card, and required reformatting and reinstall of Rockbox to restore to service.  But I don't know what the "something" was.  Also it didn't brick the card, I was able to reformat and continue using the card.  Just lost all the data.  Wish I had paid more attention to that original error message, captured it.

Thanks a lot for merging upstream.  Having the dev build available was super useful.

Title: Re: AGPTEK Rocker
Post by: wodz on July 24, 2018, 03:12:08 PM
Now I'm trying to get Rockbox running on it. First of all, I have a question about the build procedure on github ( https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker/ (https://github.com/wodz/rockbox-wodz/tree/agptek-rocker/tools/agptek_rocker/) ) - I have to provide an existing update.upt from the manufacturer and then it's gonna get patched, right?
Yes, you need to provide original update file and it will be patched with bootloader. This is one time process.

Another thing is that while I'm struggling with manual build I've decicded to try the prebuild update files, there's one at head-fi ( https://www.head-fi.org/threads/the-shenzhen-benjie-bj-t6-agptek-rocker.834797/ (https://www.head-fi.org/threads/the-shenzhen-benjie-bj-t6-agptek-rocker.834797/) ) and another on russian 4pda forum ( https://4pda.ru/forum/index.php?showtopic=900933 (https://4pda.ru/forum/index.php?showtopic=900933) ). Neither of those worked for me, I get "Insert TF pls", "Updater V 1.1" and "v_v Failed".
Direct this questions to people providing those update files.
Title: Re: AGPTEK Rocker
Post by: wodz on July 24, 2018, 03:16:59 PM
I dunno if this anecdote is useful to anyone.  Something during normal usage cycle "fried" (technical term) my microSD card, and required reformatting and reinstall of Rockbox to restore to service.  But I don't know what the "something" was.  Also it didn't brick the card, I was able to reformat and continue using the card.  Just lost all the data.  Wish I had paid more attention to that original error message, captured it.
Its a pitty you didn't note what error it was. Anyway if bootloader popped up it would be enough to run checkdisk on SD card/reformat it and unzip rockbox on it. Flashing patched update.upt is only needed to inject bootloader. Anyway FAT filesystem is rather sensitive to power outages.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on July 24, 2018, 03:25:11 PM
...if bootloader popped up it would be enough to run checkdisk on SD card/reformat it and unzip rockbox on it.  ...  Anyway FAT filesystem is rather sensitive to power outages.
I didn't know that.  Thanks.


Its a pity you didn't note what error it was.
Yes.

I apologize for the vague nature of the report.  I only posted so the info would be out there, in case other users report something similar.  Then someone might say "that sounds a little like what happened to JZC" and maybe help spot a "trend", if there turns out to be one.

Great port, by the way.

Title: Re: AGPTEK Rocker
Post by: sg2002 on July 25, 2018, 04:28:46 AM
Ok, so I was able to patch update.upt. But I'm still not able to flash it, since I could not find any firmware that would flash on my unit. I get the same "Insert TF pls", "Updater V 1.1" and "v_v Failed" every time. Tried 2 different cards formatted by the player.
Title: Re: AGPTEK Rocker
Post by: wodz on July 25, 2018, 04:42:27 AM
Ok, so I was able to patch update.upt. But I'm still not able to flash it, since I could not find any firmware that would flash on my unit. I get the same "Insert TF pls", "Updater V 1.1" and "v_v Failed" every time. Tried 2 different cards formatted by the player.

Are you able to flash unpached file at all?
Title: Re: AGPTEK Rocker
Post by: wodz on July 25, 2018, 04:50:43 AM
I am looking for help how to organize BT ui in rockbox and how it should operate (I am really bad at UI design). One should be able to:

I think linux tries to connect to known devices when BT is started. Mockups and comments welcome (BTW. I find agptek firmware UI pretty confusing when setting up BT).
Title: Re: AGPTEK Rocker
Post by: sg2002 on July 25, 2018, 05:10:33 AM
No, none of the unpatched firmwares work.
Title: Re: AGPTEK Rocker
Post by: wodz on July 25, 2018, 08:28:09 AM
No, none of the unpatched firmwares work.

I can't really help in this case.
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on July 25, 2018, 02:08:23 PM
Hi! What about always working screen? Have any ideas?
Title: Re: AGPTEK Rocker
Post by: wodz on July 25, 2018, 02:46:10 PM
I can't reproduce on my Agptek, sorry.
Title: Re: AGPTEK Rocker
Post by: NotableFrizi on July 25, 2018, 04:14:15 PM
I am looking for help how to organize BT ui in rockbox and how it should operate (I am really bad at UI design). ... Something else?
 Maybe view known devices list?

Although I'm not sure of the practicality, being able to change/accept the BT pin would be useful. I've noticed that there are some incompatibilities with the HiBy BT feature due to its extremely limited pin functionality (i.e., it can only be 0000).

And although not UI related, I've noticed that when connected to some of my everyday BT systems, it will do one of three things:


The software isn't terribly old on my devices. It functions as per the first item on my list on my 2013 Camry and functions as per the second item on both a 2018 Mercedes B180 and 2016 Chromebook netbooks. I'm puzzled as to why there would be these incompatibilities.  ???
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on July 26, 2018, 01:20:44 AM
I can't reproduce on my Agptek, sorry.
Turn on bright light and look at the bottom of the screen at an acute angle
Title: Re: AGPTEK Rocker
Post by: Bilgus on July 26, 2018, 04:50:57 AM
I assume this player is a backlit color lcd screen, the screen being on really doesn't draw much power and the dev effort would be better spent elsewhere
Title: Re: AGPTEK Rocker
Post by: speachy on July 28, 2018, 10:14:39 AM
Mockups and comments welcome (BTW. I find agptek firmware UI pretty confusing when setting up BT).

I'll echo NotableFrizi's request for supporting non-zero PINs.  Not sure if that's fixable without bypassing the hiby "system server" bluetooth glue and doing it using native linux commands.

The first cut might be to mirror the agptek firmware UI.  It's kind of clunky but does mostly work.  Mostly.

FWIW, I've managed to completely crash the Rocker 1.2 firmware this morning trying to get it to play nicely with my car's headunit (aftermarket JVC).  And even when it was working the audio would randomly break up badly.   The head unit could control next/prev track, but nothing else worked -- no track information or any meaningful status.  I don't know if there's a way to hook into that.

At $dayjob I have access to a high-end bluetooth sniffer/analyzer.  I'll see if I can find out what's actually going on.
Title: Re: AGPTEK Rocker
Post by: wodz on July 30, 2018, 03:48:44 AM
I'll echo NotableFrizi's request for supporting non-zero PINs.  Not sure if that's fixable without bypassing the hiby "system server" bluetooth glue and doing it using native linux commands.

Seems like there is no simple way to support non zero PINs :-(
Title: Re: AGPTEK Rocker
Post by: mambate182 on August 01, 2018, 02:57:30 AM
Finding helps about the following issues :'(

I have installed Rockbox but sometimes it fails to load the os. (after a couple reboots it seems ok now) -- why?

And now playing problems from Rockbox:
- playback occasionally creates a burst of static before a song starts
- the playlists still don't work properly; the m3u files in the \Playlists folder do not work, but those in the \Music folder do
- powering down sometimes shows some kind of fault... but it flashes too quickly for me to see what it says

Is there anyone can help?

Title: Re: AGPTEK Rocker
Post by: NotableFrizi on August 02, 2018, 04:04:54 AM
I have installed Rockbox but sometimes it fails to load the os. (after a couple reboots it seems ok now) -- why?

This is normal behaviour to have to boot into HiBy after first installing Rockbox.

And now playing problems from Rockbox:
- playback occasionally creates a burst of static before a song starts
- the playlists still don't work properly; the m3u files in the \Playlists folder do not work, but those in the \Music folder do
- powering down sometimes shows some kind of fault... but it flashes too quickly for me to see what it says

1. Many others in this thread have reported the same thing, but as wodz can't seem to recreate the problem (or at least, his ears aren't sensitive enough), it has yet to be addressed.
2. The playlists use relative paths, so M3U playlists in the music folder will work fine, but if moved anywhere else, they will not find the specific files. My workaround is to first load the playlist in the music folder, then save the playlist again in Rockbox as a .m3u8 file, which uses full paths.
3. This seems to be normal behaviour for my player. No unwanted side-effects have sprouted up due to the termination code.
Title: Re: AGPTEK Rocker
Post by: Frankenpod on August 02, 2018, 05:12:55 AM
Finding helps about the following issues :'(

I have installed Rockbox but sometimes it fails to load the os. (after a couple reboots it seems ok now) -- why?

And now playing problems from Rockbox:
- playback occasionally creates a burst of static before a song starts
- the playlists still don't work properly; the m3u files in the \Playlists folder do not work, but those in the \Music folder do
- powering down sometimes shows some kind of fault... but it flashes too quickly for me to see what it says

Is there anyone can help?

I don't have this player, but would the second point not depend entirely on how you created the playlists?  Doesn't sound like an issue specific to the rocker or to rockbox, if the playlists don't have the correct relative pathnames they aren't going to work.

I export mine from my music manager on the PC (after ensuring I have the same music directory structure on the PC and on the player), and it took a bit of thought to ensure it had the correct options to set the paths correctly (i.e. such that entries began with "..\Music\"  - with the leading double dots)
Title: Re: AGPTEK Rocker
Post by: mambate182 on August 02, 2018, 06:58:54 AM
Thank you so much for all your answers! Sorry I haven't checked the posts before.
I'm a newcomer here, and still need some time to figure out how this forum works!

At last, I would like to know if anyone feel uncomfortable with the volume control with AGPTEK ROCKER just like me, it is very slow, I mean, when holding the button, it should also gradually accelerate how quickly it changes.

Can I hope this will update in the future firmware?
Title: Re: AGPTEK Rocker
Post by: wodz on August 03, 2018, 06:07:08 AM
Thank you so much for all your answers! Sorry I haven't checked the posts before.
I'm a newcomer here, and still need some time to figure out how this forum works!

At last, I would like to know if anyone feel uncomfortable with the volume control with AGPTEK ROCKER just like me, it is very slow, I mean, when holding the button, it should also gradually accelerate how quickly it changes.

Can I hope this will update in the future firmware?

Which version of rockbox are you using? I fixed tiny volume steps some time ago. If you submit a patch implementing volume change acceleration I can review it but personally I do not plan such functionality.
Title: Re: AGPTEK Rocker
Post by: Markfm on August 03, 2018, 08:29:56 AM
I'm psyched to hear about progress on BT - I always use BT speakers and headsets ☺
Title: Re: AGPTEK Rocker
Post by: yzdev on August 07, 2018, 01:58:58 PM
I’ve run into some trouble with m4a-files (podcasts):
m4as with jpeg included like this one (http://bretterwisser.de/podlove/file/1686/s/webplayer/c/episode/bws059.m4a) (16 MB) just get skipped by rockbox. (They work flawlessly with vlc on my PC.) If I remove the jpeg/"video" by
Code: [Select]
ffmpeg -i input.m4a -vn -codec:a copy output.m4aoutput.m4a plays fine on the Benjie T6.

Is this a problem with rockbox in general or just with this port/device?
Title: Re: AGPTEK Rocker
Post by: saratoga on August 07, 2018, 02:28:23 PM
AAC is a hard format to decode on portable devices due to it requiring a lot of RAM.  Usually when AAC files can't be parsed its because the MP4 container requires more RAM then is available to parse it.  Usually just repacking it into a "mobile optimized" or "iTunes format" MP4 file will solve that problem. 
Title: Re: AGPTEK Rocker
Post by: Gomas on August 10, 2018, 01:53:46 PM
Hello people, decided to try the T6 because like a lot of people my Sansa died. I've been following the thread and tried almost everything in matters of trying to update the T6 but nothing worked. Neither the original or the rockbox one. Tried with files from the very forum itself and from other sources. On exFAT and FAT32. 2 SDs that works like a charm on other places (one of them comes from the Sansa).
Do I have some way of checking if it is the T6 or I messed it up on some step? Thank you guys.
Title: Re: AGPTEK Rocker
Post by: squidman on August 10, 2018, 03:08:04 PM
I am also having the issue where the screen doesn't turn off all the way, only the backlight. So the battery life is terrible.  I am using an AGPTEK rocker not a benjie.
Title: Re: AGPTEK Rocker
Post by: johnb on August 11, 2018, 02:22:56 AM
So what is the runtime with your device exactly? Have you run the battery_benchmark plugin?
Title: Re: AGPTEK Rocker
Post by: speachy on August 13, 2018, 09:40:46 AM
So what is the runtime with your device exactly? Have you run the battery_benchmark plugin?

Anectdotally, my T6 with rockbox has less than half the battery life as the (very well-used) Sansa Clip+ it replaced.  It doesn't survive an 8-hour drive playing low-bitrate audio books (mp3), whereas the latter would easily last for the return trip as well.
Title: Re: AGPTEK Rocker
Post by: squidman on August 13, 2018, 02:29:34 PM
So what is the runtime with your device exactly? Have you run the battery_benchmark plugin?
I forgot to run the battery bench for the first hour of playback but in the bench I got 6 hours and 34 minutes of mixed flac, opus and mp3 v0 playback. So I got around 7 hours and 34 minutes of playtime.
Title: Re: AGPTEK Rocker
Post by: wodz on August 14, 2018, 03:58:17 AM
Unfortunately there is little I can do about battery life. Kernel on agptek doesn't perform freq and voltage scaling. I try to powerdown lcd which reportedly doesn't work for some (although lcd itself eats only tiny amount of power compared to backlight). Without kernel sources I see next to no room for improvement.
Title: Re: AGPTEK Rocker
Post by: Gomas on August 14, 2018, 04:59:23 AM
Some advice or tip about the ones who can't update the firmware? Just trying to know if it the file which it is not working or the device.
Title: Re: AGPTEK Rocker
Post by: shikotee on August 14, 2018, 10:03:05 AM
Ok, so I was able to patch update.upt. But I'm still not able to flash it, since I could not find any firmware that would flash on my unit. I get the same "Insert TF pls", "Updater V 1.1" and "v_v Failed" every time. Tried 2 different cards formatted by the player.

I just received my T6 (1.08beta) yesterday, and am having identical problems.
Tried different cards, formatted through device and computer.
Player works - it just can't seem to update.  >:(

Is there anyone here who has recently purchased a T6 that shipped with 1.08beta who has been able to update their firmware (either to 1.2, or to Rockbox?)

It sounds like this issue is with recent T6's purchased from Aliexpress
Title: Re: AGPTEK Rocker
Post by: Gomas on August 15, 2018, 05:14:53 PM
Mine was adquired on AliExpress too. I already messaged the seller, so we might have some info soon.
Title: Re: AGPTEK Rocker
Post by: shikotee on August 15, 2018, 09:16:12 PM
Mine was adquired on AliExpress too. I already messaged the seller, so we might have some info soon.

I also messaged the seller about this problem, and their response was that 1.08b was the latest firmware, and thus it was not necessary to upgrade.

Am I correct in my understanding that with previous builds, it was possible to install older firmware?

In any case - I responded that as far as I am concerned, it is a defective unit if the firmware can't be changed.
I have a limited window to open a dispute, and will start the process if we can't resolve this problem.

Does anyone know if there actually is arms length between Benjie and Agptek?
Is it possible that this limitation was deliberate?
Was it not such that Agptek was supportive of Rockbox development, while Benjie was not?

Title: Re: AGPTEK Rocker
Post by: speachy on August 15, 2018, 10:29:30 PM
I also messaged the seller about this problem, and their response was that 1.08b was the latest firmware, and thus it was not necessary to upgrade.

You may have better luck attempting to get a downloadable 1.08b firmware image from Benjie, as it stands to reason that folks with older T6 firmware would want to upgrade.  That 1.08b image could then, in theory, be altered to include the rockbox bootloader.

(Assuming there's no hardware differences that preclude this..)
Title: Re: AGPTEK Rocker
Post by: Gomas on August 16, 2018, 06:59:27 AM
I have a limited window to open a dispute, and will start the process if we can't resolve this problem.
I'm on same boat than this mate. All in all I would be able to use it as normal player, althought I didn't buy it for that. Also there's people on the AliExpress page who put rockbox on it so we should be able to.

You may have better luck attempting to get a downloadable 1.08b firmware image from Benjie, as it stands to reason that folks with older T6 firmware would want to upgrade.
Maybe this is our best option. We could even try to go 1.06 and 1.2 afterwards.
Title: Re: AGPTEK Rocker
Post by: speachy on August 16, 2018, 07:40:15 AM
I'm on same boat than this mate. All in all I would be able to use it as normal player, althought I didn't buy it for that. Also there's people on the AliExpress page who put rockbox on it so we should be able to.
The thing is, unless the device was specifically advertised as "rockbox compatible" by the manufacturer or the seller, you're not going to have much grounds to complain.

Maybe this is our best option. We could even try to go 1.06 and 1.2 afterwards.

No, the idea here is that we'd patch the 1.08b image to include the rockbox bootloader, rather than attempt to downgrade to an older firmware image or one intended for a different product.  There's even a non-trivial possibility that the hardware itself has changed, rendering the older images completely incompatible.

It's a shame there's no simple way (ie not requiring disassembly and minor soldering) to dump out the flash contents.
Title: Re: AGPTEK Rocker
Post by: Gomas on August 16, 2018, 08:28:58 AM
@pizza
The idea behind the 1.2 firmware is that even if I can not get Rockbox on it, I would still like to have the latest firmware so I can enjoy updated codecs and stuff.

Also got a reply from them which goes like this:

Hi my friend, sincerely thanks for your kindly reply, but if you update here have problem,then we kindly do not update it, you also can use this item, and the functions are all workable, sincerely hope you could kindly understand.
Any question, please feel free to contact with us, nice day.


So good luck to the people which is still trying.
Title: Re: AGPTEK Rocker
Post by: speachy on August 16, 2018, 08:55:09 AM
@pizza
The idea behind the 1.2 firmware is that even if I can not get Rockbox on it, I would still like to have the latest firmware so I can enjoy updated codecs and stuff.

The 1.2 firmware is the latest for the Rocker, not the Benjie T6.  That the firmware files were interchangeable between the units was fortunate, but nothing that was ever guaranteed, and indeed looks like it is longer the case.

(Heck, this  could have easily been done at AGPtek's request -- after all, it's clear that AGPtek has invested a lot more in firmware improvements, and they understandably want folks to buy AGPtek hardware in order to utilize it..)
Title: Re: AGPTEK Rocker
Post by: shikotee on August 16, 2018, 10:30:27 AM
I am also wondering if this was deliberately done by Agptek's request.
They've clearly invested in firmware development, and distribution through Amazon (albeit through a shady process of lumping 4 different devices with differing functionality under 1 umbrella, making it a major pain in the butt to access specific user feedback).
Benjie sales are considerably cheaper.

If this is deliberate, at the least they should be upfront about it.
Had I been aware of this limitation, I would have purchased AGPTek through Amazon and paid more in order to have the ability to change firmware. It really seems like a dick move to do this without mentioning.

Lol - my latest reply requested that I make a video of the problem and send it to a couple of emails.
Pretty much impossible to tell if they are sincere, or just stalling so that the short dispute window closes.

As pizza mentioned, nowhere in the posting is it mentioned that the device would be able to flash Agptek firmware. Hence why my argument is that they need to prove that Benjie firmware upgrades works.

Another possible argument could focus on a listed feature that does not seem to work - lyric display.
My songs have lyrics embedded, and the settings set to display, but I have not been able to get this to work (could be possible I just haven't figured out something).

Mostly, I'm really bummed out because I was looking forward to once again playing with Rockbox.
I used it in early Archos days, as well as with a Fuze+ (whose touchpad interface limitations and instability became way too annoying).

My biggest annoyance with Benjie BT functionality is that I am forced to keep the display permanently on in order to be able to skip songs through my headset. When the display blacks out, only play/pause and volume control work. My fingers are crossed a future firmware update would fix this (along with 15000 song limit), as this obviously lowers battery time. My hope is to use this as a cyclist, where I can't safely ride and play with the device to skip songs.


@pizza
The idea behind the 1.2 firmware is that even if I can not get Rockbox on it, I would still like to have the latest firmware so I can enjoy updated codecs and stuff.

The 1.2 firmware is the latest for the Rocker, not the Benjie T6.  That the firmware files were interchangeable between the units was fortunate, but nothing that was ever guaranteed, and indeed looks like it is longer the case.

(Heck, this  could have easily been done at AGPtek's request -- after all, it's clear that AGPtek has invested a lot more in firmware improvements, and they understandably want folks to buy AGPtek hardware in order to utilize it..)
Title: Re: AGPTEK Rocker
Post by: wodz on August 20, 2018, 04:53:18 AM
It's a shame there's no simple way (ie not requiring disassembly and minor soldering) to dump out the flash contents.

Without someone skilled with 'unupgradable T6' at hand acting up we really don't know why it doesn't want to accept updates. I am even not sure it doesn't accept only Agptek updates or updates in general (Did Benjie ever published update image for T6?). Gaining access to serial console is pretty simple (soldering 3 wires to test points + 3.3V usb-to-serial converter) if they didn't removed support for this. From there it is pretty easy to extract recovery firmware. I can help if someone with 'faulty' T6 is willing to take the risk.
Title: Re: AGPTEK Rocker
Post by: dhartmei on August 23, 2018, 01:36:06 AM
I just upgraded the firmware on two newer AGPTEK Rockers (silver, light) which came with firmware 1.2.
The first one simply worked. On the second one, with the same SD card, when choosing the upgrade firmware, the confirmation screen (with a cross on the left and a check on the right) came up, but pressing the center button did simply close it.
I retried about a dozen times, trying different key presses (like pressing right, then center), and eventually it also worked.
So, if you have an 'unupgradable' device, please describe what you're seeing and doing that doesn't work. It might just be a UI fluke or user error :)
Title: Re: AGPTEK Rocker
Post by: Experiment on August 25, 2018, 02:12:34 AM
Hello,
I just bought à Rocker and would like to experiment with Rockbox.
I managed to follow the instructions and used the Docker to generate the upt file and rockbox.zip.
However before I do the big jump, it is not quite clear how to revert to the old firmware in case something goes wrong ?
All relevant post I found are related to Sansa Clip.

Thanks
Title: Re: AGPTEK Rocker
Post by: Milardo on August 26, 2018, 12:00:18 AM
Hello,
I just bought à Rocker and would like to experiment with Rockbox.
I managed to follow the instructions and used the Docker to generate the upt file and rockbox.zip.
However before I do the big jump, it is not quite clear how to revert to the old firmware in case something goes wrong ?
All relevant post I found are related to Sansa Clip.

Thanks

Hi,

     I managed to mess up my agptek rocker where it would only display the loading screen when turned on and i could turn it off. This happened after I messed up the rockbox firmware upgrade. However, I was told by agptek to prepare a sd card and put the official agptek firmware update

https://www.agptek.com/blog/agptek-rocker-firmware-download-2/

in it and then insert sd card into player, then push the power button and the volume - button to initialize the firmware update from sd card. That restores the original agptek firmware i believe. Also to note that the rockbox firmware update is dual boot, meaning you have your choice of booting to rockbox or the original agptek firmware. Hope this helps
Title: Re: AGPTEK Rocker
Post by: Experiment on August 26, 2018, 02:07:38 AM
Thanks a lot.
Then I did the update and it updated without problem.
The 2 first time boot, I got a message that Rockbox cannot boot. And the third time it worked.
So far it seems to work, except that I cannot use the power button to switch if off. It seems that the power button is behaving like a "Go Back" button.
So I have to hold it down to force shutdown.
Perhaps it is the way Rockbox is behaving ? Anyway I will then go over another topic to ask about Rockbox behavior.
Title: Re: AGPTEK Rocker
Post by: Milardo on August 26, 2018, 05:22:30 PM
Thanks a lot.
Then I did the update and it updated without problem.
The 2 first time boot, I got a message that Rockbox cannot boot. And the third time it worked.
So far it seems to work, except that I cannot use the power button to switch if off. It seems that the power button is behaving like a "Go Back" button.
So I have to hold it down to force shutdown.
Perhaps it is the way Rockbox is behaving ? Anyway I will then go over another topic to ask about Rockbox behavior.


I'm not sure how to edit the behavior of the power button, for me it unlocks/locks the buttons and yes if you press and hold the power button that's how it shuts off on mine as well.
Title: Re: AGPTEK Rocker
Post by: underst0rm on August 27, 2018, 10:14:17 AM
Without someone skilled with 'unupgradable T6' at hand acting up we really don't know why it doesn't want to accept updates. I am even not sure it doesn't accept only Agptek updates or updates in general (Did Benjie ever published update image for T6?). Gaining access to serial console is pretty simple (soldering 3 wires to test points + 3.3V usb-to-serial converter) if they didn't removed support for this. From there it is pretty easy to extract recovery firmware. I can help if someone with 'faulty' T6 is willing to take the risk.

I have opened up my unupgradable T6 and got RS232 access.

Notes:


I did not get ADB over USB to work to get the recovery mdt and analyze what else it needs to be happy.
Title: Re: AGPTEK Rocker
Post by: underst0rm on August 27, 2018, 10:32:13 AM
Silly me... Why do I have sdcard in that system to copy data onto  ;D Hint's on how to get ADB working would be helpful still though.

Anyways. I now have the whole set of mtd devices mirrored on SD card. I'll try to extract the recovery image and see where to go from there.

EDIT: I got so far as to getting the decompressed Image of the recovery file.

dd if=mtdblock3 of=Image.gz bs=64 skip=1
gunzip Image.gz

However I do not know how to get the initramfs from this..

EDIT2: I got to the initramfs by using binwalk. However, it looks like the actual bootloader (recoveryd, initated by /etc/init.d/S90user)is a binary file..

EDIT3:  Got it! The version format changed from a simple version code to a date, as shown here: https://www.rockbox.org/wiki/ShanlingM2sPort

That's also why it did show a date when changing to version 2. - the year starts with 2 also :-D. Putting in todays date updates the player. I'm no being shown a chinese USB info. Will put it back together but I believe I'm on the rocker firmware 1.2 now:

Code: [Select]
(GUI:D)lg_activity_usb: on_create
Device setup complete
Name: HibyPlayer-888888 -> AGPTEK ROCKER
Agent registered

EDIT4: Applying the date fix to a rockbox enabled 1.2 AGTPEK image gave me working rockbox and a better AGTEK firmware. I do not believe these changes to be malicious. They just updated their kernels and bootloader. Unfortunately, this breaks firmware images since the boot loaders are not compatible anymore. But hey, we got it working again :-)
Title: Re: AGPTEK Rocker
Post by: A_Bone on September 09, 2018, 11:40:50 PM
Joe Average here! I just bought the Rocker and am pretty happy with the original software.
However, I miss Rockbox (from the Cowon X5 and Sansa Clip+ days). I browsed the forums with regard to the Rocker but am still not 100% sure:

- Does Rockbox work on the Rocker already?
- Can Joe Average install it already? I'm not a developer but can usually follow power user instructions.
- My device came with firmware ver 1.2. Is that a problem (how do I tell if my device is upgradeable)?

Any help or pointers would be appreciated!
Title: Re: AGPTEK Rocker
Post by: wodz on September 10, 2018, 02:46:11 AM
Joe Average here! I just bought the Rocker and am pretty happy with the original software.
However, I miss Rockbox (from the Cowon X5 and Sansa Clip+ days). I browsed the forums with regard to the Rocker but am still not 100% sure:

- Does Rockbox work on the Rocker already?
- Can Joe Average install it already? I'm not a developer but can usually follow power user instructions.
- My device came with firmware ver 1.2. Is that a problem (how do I tell if my device is upgradeable)?

Any help or pointers would be appreciated!
1) Yes rockbox works on Agptek Rocker
2) That depends. If your device is 'upgradable' (and so far only Benjie T6 appears to change update process) you can follow instructions in this thread and use prebuild update images linked there. Main binary can be taken from http://build.rockbox.org/data/rockbox-agptekrocker.zip
3) So far the only way to know is to try updating. If device refuses to update you have infamous unupgradeable device. The issue with this seems to be sorted out but none prepared ready to use images so far.
Title: Re: AGPTEK Rocker
Post by: Njones on September 13, 2018, 05:58:14 PM
Got it to boot Rockbox once. Changed SD card to one with music on it and now rockbox won't boot. Gives the option for rockbox but says it can't boot.
Title: Re: AGPTEK Rocker
Post by: speachy on September 13, 2018, 06:21:08 PM
Got it to boot Rockbox once. Changed SD card to one with music on it and now rockbox won't boot. Gives the option for rockbox but says it can't boot.

The rockbox firmware needs to be present on the inserted SD card.
Title: Re: AGPTEK Rocker
Post by: Njones on September 13, 2018, 07:24:29 PM
OK Thanks,
How do you get the car mode to work when it won't play and charge at the same time?
Are more themes going to be available?
Title: Re: AGPTEK Rocker
Post by: skarbonke on September 18, 2018, 07:54:53 AM
Are more themes going to be available?

Themes for 128x160 px are suitable:
http://themes.rockbox.org/index.php?target=creativezenmozaic
Title: Re: AGPTEK Rocker
Post by: Njones on September 18, 2018, 08:48:47 PM
Rockbox stops playing when usb charger is connected. Is there a setting to allow it to play when plugged in?
Title: Re: AGPTEK Rocker
Post by: skarbonke on September 19, 2018, 12:48:02 AM
turn on the player, then hold down the center button, connect the charging cable, listen to the music (-;
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on September 22, 2018, 06:38:27 AM
If you can't upgrade benjie t6 to agptek rocker firmware you should download and install older version firmware agptek rocker and then make upgrade to last version. For upgrade  use combination of buttons on/off  and volume down.
Title: Re: AGPTEK Rocker
Post by: shikotee on October 05, 2018, 03:03:44 PM
If you can't upgrade benjie t6 to agptek rocker firmware you should download and install older version firmware agptek rocker and then make upgrade to last version. For upgrade  use combination of buttons on/off  and volume down.

None of the AGPtek firmware (1.01, 1.05b, 1.06b, 1.2) from the AGPtek website works with T6's that shipped with 1.08B (using update.upt through the device).

Unless I am mistaken, only underst0rm has managed to do this successfully by opening up the device, soldering access through serial console, and making a date fix.
Unfortunately, this is not something that regular users (including myself) are likely capable of.
I'd be willing to give it a shot (I do have soldering tools), but would pretty much need a detailed step-by-step guide for what to do.

My fingers are crossed that (sometime in the near future) something will be figured out that will allow flashing from the device.



Title: Re: AGPTEK Rocker
Post by: underst0rm on October 07, 2018, 04:20:21 AM
Unless I am mistaken, only underst0rm has managed to do this successfully by opening up the device, soldering access through serial console, and making a date fix.

My fingers are crossed that (sometime in the near future) something will be figured out that will allow flashing from the device.

Not true. In the end, the fix is only to change the version string in the image, not something on the player. No need to open up the device.

Under Linux, I can modify the AGPTEK image to flash on the T6 like this:

Code: [Select]
# Download imagearchive and extract image
$ wget http://images.agptek.us/Download/AGPTEK_ROCKER\(20171101\).rar
$ unrar e AGPTEK_ROCKER\(20171101\).rar

# Extract the internal image files into the "iso" folder
xorriso -osirrox on -ecma119_map lowercase -indev ROCKER_update.upt -extract / iso

# Open iso/version.txt, Replace ver=1.0.0.0 with ver=2018-10-07T00:00:00+08:00

# Repack into an update image
xorriso -as mkisofs -volid 'CDROM' --norock -output uROCKER_update_1.8_beta.upt iso

The same process works also on a rockbox enabled 1.2 firmware. I'm sure you can also use windows, as long as you find something which can unpack and pack an iso image.
Title: Re: AGPTEK Rocker
Post by: shikotee on October 12, 2018, 09:08:14 AM
Confirmed.

I changed the .upt extension to .iso, and extracted the contents to a folder.
I modified Version.txt as explained by underst0rm.
Using IMGBurn, I rebuilt the iso, and changed the extension back to .upt

I was then able to update my 1.08B FW to AGPtek 1.2.
The interface seems pretty much the same - just more colourful.

Will play around with 1.2 today, and will explore installing Rockbox this week-end.

Many thanks to underst0rm for figuring this out!
Title: Re: AGPTEK Rocker
Post by: WaterWolf on October 12, 2018, 01:18:16 PM
Hello!

Today I received my AGPTek Rocker today with firmware 1.2 to replace my old Sansa Clip Zip. I've installed the latest nightly rockbox build on it using the update_rb.upt file linked to earlier in this thread. I'm not sure if it's been mentioned yet, but I had to rename the file to just update.upt before the player recognised it as a firmware update.

Anyway, it all appears to be working really well. Thanks for the great work!

I have one question - how do you 'stop' playback on the rocker as opposed to 'pausing' it? I ask this because I have the setting turned on for creating a bookmark when playback is stopped, but I can't actually stop it! On the Clip Zip if I pressed the power button it would 'stop' and jump back to the main menu - on the rocker it locks and unlocks the buttons.
Title: Re: AGPTEK Rocker
Post by: gomezz on October 12, 2018, 04:25:32 PM
Press and hold the Play / Pause button seems to stop playback creating a bookmark.

I seem to have a problem though starting playback from a bookmark.  Just takes me to the Delete? Y or N screen?
Title: Re: AGPTEK Rocker
Post by: WaterWolf on October 12, 2018, 04:53:00 PM
Yes, pressing and holding play seems to work thanks. I am able to resume playback on a bookmark successfully, at least from the Recent Bookmarks menu. Just select the bookmark and press Play.
Title: Re: AGPTEK Rocker
Post by: gomezz on October 14, 2018, 06:10:20 AM
I seem to have a problem though starting playback from a bookmark.  Just takes me to the Delete? Y or N screen?
Realised that it is bookmarks created on a FLAC file that cannot be used to restart playback.  The mpa files of three hour and more radio programmes (extracted from satellite TV recordings on my Freesat PVR) work with Bookmarks properly which is actually what I want them for.  So while it would be nice to have bookmarks usable on my music collection in FLAC format not an essential - I could always go back to the mp3 formatted version of my music library if it did start to annoy me.
Title: Re: AGPTEK Rocker
Post by: tximista_rissole on October 14, 2018, 02:58:46 PM
Hey! I've had Rockboxed stuff for a while (about 6 years or so) but I just bought a Rocker (upgraded with 1.2 firmware) the other day since I really wanted a modern Rockbox player.

I was very happy to see it working, let me tell you. However, I've noticed some quirks so I decided to let you know about them.
Bear in mind that this stuff doesn't bug me for the most part, but are mostly nitpicks (from most to least important):

- I have to select Rockbox from a menu every time I turn the player on. Is there some way to have it go straight to Rockbox?
- The player hangs up when trying to leave some of the applications and demos, but more importantly it does so whenever I try to update the database or scan for album art. I have a fairly large music collection (a 200gb microSD card) so I don't know if it's either that or something with the software. So for now I can only play through folders. :-\
- Files don't fully disappear after I delete them.
- I tried to save before quitting "jewels", but it resets to play a new game when you resume.
- A lot of the 128x160 themes didn't fully work, at least for me.
- Doom gets a "Missing Base WAD" error when I try to start it up.

That's all for now. I know that as development goes on these will be ironed out, but I'm just giving some input to what I've found!
Title: Re: AGPTEK Rocker
Post by: shikotee on October 14, 2018, 10:02:48 PM
Upon figuring out the T6 firmware glitch, I was finally able to install Rockbox.

I also experienced several crashes as I tried to do my initial database scan.
I fiddled around with the settings, and specified only to scan a smaller folder.
I then expanded my folders.
I also expanded the size limits of playlists.
I think I had a few reboots in between.
I saved a copy of my dynamic playlist (16528 songs).
Not sure why, but things have sped up since I did this.

Have been tinkering around, figuring things out.
I last used Rockbox years ago with my Fuze+, which was very tricky to use due to hardware touchpad issues.
I pretty much got used to not using much functionality because of this.

What themes did you get working?
Was there anything with larger album art?
My assumption was that we could only use the ones that were bundled.

I had previously been using a BT transmitter with my old 5th gen iPod nano,
so just connected it to my T6 to use my BT speakers. Works great.
Fingers still crossed Rockbox BT development works out.

Not sure if this is a glitch - but when you try to add a song to a new playlist (that does not exist on the microsd), it is saved in root and not the playlist folder (which is where the dynamic playlist saved by default).

I created a bunch of empty playlists (with varying names) in my playlist folder, and am adding songs as I shuffle through my library.
This functionality will allow me to apply further classifications to my music (such as - Instrumental.m3u)

Copying these playlists into root allows Folderview access from HibyPlayer, but it appears songs are limited to the ones that were included in the 15000 scan.
It just skips songs that were included outside of that range.

All in all - have been loving it. Feel like I've met up with a long lost friend!
Big thanks to wodz for all efforts!

Hey! I've had Rockboxed stuff for a while (about 6 years or so) but I just bought a Rocker (upgraded with 1.2 firmware) the other day since I really wanted a modern Rockbox player.

I was very happy to see it working, let me tell you. However, I've noticed some quirks so I decided to let you know about them.
Bear in mind that this stuff doesn't bug me for the most part, but are mostly nitpicks (from most to least important):

- I have to select Rockbox from a menu every time I turn the player on. Is there some way to have it go straight to Rockbox?
- The player hangs up when trying to leave some of the applications and demos, but more importantly it does so whenever I try to update the database or scan for album art. I have a fairly large music collection (a 200gb microSD card) so I don't know if it's either that or something with the software. So for now I can only play through folders. :-\
- Files don't fully disappear after I delete them.
- I tried to save before quitting "jewels", but it resets to play a new game when you resume.
- A lot of the 128x160 themes didn't fully work, at least for me.
- Doom gets a "Missing Base WAD" error when I try to start it up.

That's all for now. I know that as development goes on these will be ironed out, but I'm just giving some input to what I've found!

Title: Re: AGPTEK Rocker
Post by: tximista_rissole on October 14, 2018, 10:28:40 PM
Thanks for the tips!

Quote
What themes did you get working?
Was there anything with larger album art?
My assumption was that we could only use the ones that were bundled.

I downloaded several themes. The ones that worked perfectly that I downloaded were: Redux, Rockboxed Plus, and Pen and Paper. The only one that had larger art I tried (lebellium Samsung-style) didn't really work though, since it didn't display any album art.

EDIT: lebellium Samsung-style actually works really well for album art, I just needed to run my library through MusicBrainz to embed it.

You can create a "custom" theme of sorts by Frankensteining together different parts of themes and using different fonts. The one I currently use I call "hipster minimal" (made from the Alien theme, which was all-black for whatever reason, and Helvetica).
Title: Re: AGPTEK Rocker
Post by: gomezz on October 15, 2018, 01:36:54 PM
When I stop playback which returns me to the Bookmarks screen there does not seem to be any way of going back to the main menu.  I would have expected the Left button to do this but it does the same as the central Select button offering the option to delete the bookmark.  I have to restart playback then use the Up button to get to the main menu.  Am I missing something?
Title: Re: AGPTEK Rocker
Post by: shikotee on October 17, 2018, 11:45:38 PM
Was hoping to get some clarification regarding inline headset controls.
My understanding is that this sort of Rockbox functionality is dependent on the device.

My JVC HA-FR100X wired headset 1 button control does not work with my T6 running 1.2 firmware, nor does it work with the latest Rockbox build.
My Forza Metallo Wireless BT headset 3 button control does work with my T6 - I can play/pause, skip and go back to previous songs.

Q1 - Is it impossible to have wired 1-button control on the T6 through Rockbox?
Q2 - Should BT work out for Rockbox on this device, would there be 3 button control functionality?

My plan was to use the device as a cyclist, but am suspecting that it might not be so great for this.
Title: Re: AGPTEK Rocker
Post by: wodz on October 19, 2018, 03:46:58 AM
AFAIK wired control is impossible (missing support in underlying linux). BT controls might work but first BT support needs to be implemented in rockbox.
Title: Re: AGPTEK Rocker
Post by: shikotee on October 21, 2018, 12:00:25 PM
AFAIK wired control is impossible (missing support in underlying linux). BT controls might work but first BT support needs to be implemented in rockbox.

Thanks for clarifying.
Fingers definitely crossed that it be possible for the Xduoo X3ii (the next device I am considering purchasing).
Title: Re: AGPTEK Rocker
Post by: Pingouin on October 25, 2018, 05:56:27 AM
- I have to select Rockbox from a menu every time I turn the player on. Is there some way to have it go straight to Rockbox?

I'd like to know too. I planned to upgrade my Sansa Fuze+ to an AGPtek Rocker, but if this is correct and there is no way to get the device to boot straight to Rockbox, this would be a deal breaker for me.
Thanks!
Title: Re: AGPTEK Rocker
Post by: speachy on October 25, 2018, 06:09:25 AM
I'd like to know too. I planned to upgrade my Sansa Fuze+ to an AGPtek Rocker, but if this is correct and there is no way to get the device to boot straight to Rockbox, this would be a deal breaker for me.

It has a timeout so it will boot into rockbox (or whatever the last choice was, actually).

(that said, IMO it would probably make more sense to automatically boot into the previous selection without delay, but if you hold down a key (eg select) it will enter the menu...)
Title: Re: AGPTEK Rocker
Post by: Pingouin on October 26, 2018, 11:56:40 AM
Thanks speachy!
How long is this timeout? Basically, I leave my player in the car, connected to the AUX input, press the player power button, and let it start autoplay where it stopped. And when I leave the car, I just press the power button to switch it off. Hence why I'm keen on having the player just work "unattended".
Title: Re: AGPTEK Rocker
Post by: tximista_rissole on October 26, 2018, 12:41:33 PM
I believe that it's about a 10-second delay. It's not much at all, and it doesn't really bug me personally.

I don't know about any autoplay feature though, unless you mean "Resume Playback".

You can just play through folders with the right setting after that, though.
Title: Re: AGPTEK Rocker
Post by: gomezz on October 26, 2018, 03:25:28 PM
10 seconds may not sound like a lot but as a multi-drop delivery driver I can tell you that all that stop / start dead time adds up!
Title: Re: AGPTEK Rocker
Post by: Pingouin on October 26, 2018, 05:35:30 PM
Yes, I meant auto resume playback. And I also have auto jump to next folder also, so I'm really only ever doing on/off and not touching anything else on the Fuze+ (thanks for that because the Fuze+ "buttons" are atrocious!).
10 seconds is quite a bit more than I thought, and I don't think that would qualify as an upgrade to my Fuze+, so I'll stick with it while it's working. Besides, I was planning to go for the cheapo Benjie T6 and I hear some people have problems getting Rockbox on it.
Thanks for the replies though!
Title: Re: AGPTEK Rocker
Post by: Gavsgovenko on October 30, 2018, 01:50:48 PM
Hi! Someone fix problem with always work display (only backlight is off but display still show content)? May be rocker can show black picture on screen when backlight is off?
Title: Re: AGPTEK Rocker
Post by: Gomas on November 20, 2018, 03:21:45 AM
So, here I come with the rockboxed results:

Note: I had one of those "unupgradable" Benjies

I was able to patch my device with the steps on reply #248, from underst0rm, on page 17. I say it because the thread is not too large and this kind of thing can be lost easily.
As I got my device on 1.2, I started to work on the rockbox version of the update.upt, having zero idea, so I will be describing the steps to the people who like me, never patched experimental images on their devices.
At this time, you can reboot, and you probably will be seeing the bootloader. If you are not you didn't get the patched update.

On this point, we only have the bootloader, I needed to re-unzip the .rockbox folder, so I'm listing it too.

So far it works wonders, the only matters I had issues with were theme related, where I've tried to put custom colours (it have me the option) and I couldn't choose them, because if Up/Down works right, Right/Left works at same time as Ok/Cancel, which made impossible to select the right setting to edit.
I also have issues with Volume buttons outside the playing screen. Which means if I'm on the main menu I can't change the volume.

I will be testing more next days to come and probably will be posting more little issues. Thank you devs for bringing the port to our Benjies :D
Title: Re: AGPTEK Rocker
Post by: breeman on November 29, 2018, 10:08:05 AM
  • Get your rockbox zip, I got mine from a link on this very thread, but I guess the right move to do is to get it from the release page (http://www.rockbox.org/download/)

The best place to get the rockbox zip for this player is on the dev builds page (https://build.rockbox.org/ (https://build.rockbox.org/) - its the first one on the page) the links on this thread are old builds (I had been using one of those for the longest time, which had very small increment volume steps). I just finally upgraded to the latest dev build and am so happy to have more manageable volume control.
Title: Re: AGPTEK Rocker
Post by: menachem on November 29, 2018, 02:45:17 PM
I've recently moved to the AGPTEK Rocker with rockbox installed, and am still finding my way around, so I may have missed how to do this.

I have the Timestretch option enabled, and I rebooted the Rocker, but I can't figure out how to get to the Timestretch Options. I can open the Pitch Screen, but I can't switch through the available modes.

The Sansa C200 uses the Rec key to do this, for example: https://download.rockbox.org/daily/manual/rockbox-sansac200/rockbox-buildch4.html#x6-630004.3.3
The Sansa Clipp Plus uses the Menu key.

How do we do this on the AGPTEK Rocker, which doesn't have a Rec key or a Menu key?

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

Also, in the Pitch Screen, clicking on the up arrow send you back to the While Playing Screen, instead of changing the pitch.
Title: Re: AGPTEK Rocker
Post by: JJ on December 02, 2018, 09:01:32 PM
I just got the rocker and also found that I couldn't change the playback speed. I use this all the time on my clip zip when listening to podcasts.
I looked at the code and saw that the action to toggle the mode isn't mapped to a button.

The default toggles between two modes. Changing this setting gives more modes with the ability to increase playback speed with pitch correction.
Settings->Sound Settings->Timestretch->Yes

Here's the changes I suggest to make to
"static const struct button_mapping button_context_pitchscreen[]" in "apps/keymaps/keymap-agptekrocker.c"

Move exit to BUTTON_SELECT so it acts like confirming a setting.
Keeping BUTTON_POWER to also exit is ok. It's not as convenient to use, but doesn't hurt anything. This was the only way on the clip and I found it annoying.
Toggle mode on BUTTON_UP to navigate.
Reset by holding BUTTON_SELECT. (Could also use BUTTON_DOWN)
I like keeping the pitch only control on the volume up/down since those might not be used very often. I know I don't use that ability.

Current mappings:
Code: [Select]
//    { ACTION_PS_TOGGLE_MODE,    BUTTON_REC,                BUTTON_NONE },
    { ACTION_PS_RESET,          BUTTON_SELECT,             BUTTON_NONE },
    { ACTION_PS_EXIT,           BUTTON_POWER,              BUTTON_NONE },
    { ACTION_PS_EXIT,           BUTTON_UP,                 BUTTON_NONE },


New mapping suggestion:
Code: [Select]
    { ACTION_PS_TOGGLE_MODE,    BUTTON_UP,                   BUTTON_NONE },
    { ACTION_PS_RESET,          BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT },
    { ACTION_PS_EXIT,           BUTTON_POWER,                BUTTON_NONE },
    { ACTION_PS_EXIT,           BUTTON_SELECT|BUTTON_REL,    BUTTON_SELECT },


On the the now playing screen,
  "static const struct button_mapping button_context_wps[]"

Set button to get to the pitch screen. Hold BUTTON_UP is the same as the clip and isn't currently assigned on the rocker.
I use this action a lot since I change the speed based on what I'm listening to.
Code: [Select]
{ ACTION_WPS_PITCHSCREEN,   BUTTON_UP|BUTTON_REPEAT,     BUTTON_UP },

I think these above changes should made and won't break how people currently use the device.

--

In my build I made some other changes to button_context_wps, but not sure what is consistent or most useful to have easier access to.
Here's my current experimentation. I think I use browse the most.
Changed lock to a 2 button press. This is an easy combo to do with one hand. Much easier that what the clip had.

Code: [Select]
{ ACTION_STD_KEYLOCK,       BUTTON_POWER|BUTTON_VOLUP,   BUTTON_NONE  },  // was BUTTON_POWER
{ ACTION_WPS_QUICKSCREEN,   BUTTON_POWER|BUTTON_REL,     BUTTON_POWER },  // was hold BUTTON_DOWN
{ ACTION_WPS_VIEW_PLAYLIST, BUTTON_POWER|BUTTON_VOLDOWN, BUTTON_NONE  },  // was unassigned
{ ACTION_WPS_BROWSE,        BUTTON_DOWN|BUTTON_REPEAT,   BUTTON_DOWN  },  // was unassigned
Title: Re: AGPTEK Rocker
Post by: wodz on December 03, 2018, 09:25:07 AM
Thanks for inspiration:
https://git.rockbox.org/?p=rockbox.git;a=commit;h=b552a3720525652d01fe94e214d4fb195acab50a

I feel keymap needs more refinement. Personally I am against using 2-keys-combo for locking when simple power is available and consistent with OF and general smartphone feeling.
Title: Re: AGPTEK Rocker
Post by: Bilgus on December 03, 2018, 05:32:32 PM
@Wodz
Have you verified if the volume up keys work in menus on the Rocker?
I saw your keymap patch and noted that the other person that submitted a patch in gerrit
http://gerrit.rockbox.org/r/#/c/1900/5/apps/keymaps/keymap-agptekrocker.c@102 (http://gerrit.rockbox.org/r/#/c/1900/5/apps/keymaps/keymap-agptekrocker.c@102)
had to switch to using BUTTON_VOLUP instead of BUTTON_VOL_UP

I also don't see BUTTON_VOL_UP defined here: https://github.com/Rockbox/rockbox/blob/d64ff86fb6be22875cfae054f8a878dbd8b1472b/firmware/target/hosted/agptek/button-target.h (https://github.com/Rockbox/rockbox/blob/d64ff86fb6be22875cfae054f8a878dbd8b1472b/firmware/target/hosted/agptek/button-target.h)
Title: Re: AGPTEK Rocker
Post by: Gomas on December 04, 2018, 02:30:31 AM
If it means something, I can't change volume from menu in the (I believe) stable version of rockbox. Some menus doesn't work either when trying to change some settings. Message below.

http://forums.rockbox.org/index.php/topic,51653.msg243162.html#msg243162
Title: Re: AGPTEK Rocker
Post by: Bilgus on December 04, 2018, 03:40:13 AM
the patch didn't break existing functionality it just didn't fix it  :P
Title: Re: AGPTEK Rocker
Post by: wodz on December 05, 2018, 08:41:33 AM
I am looking at improving keymap further. This however makes me curious how Pitchscreen is supposed to work actually? I find it strange that left and right press/release cancels each other on every target I looked at. Either I miss something fundamental or ALL keymaps are currently broken wrt pitchscreen.
Title: Re: AGPTEK Rocker
Post by: Bilgus on December 05, 2018, 12:55:39 PM
I've never had a need for the pitch screen its always been an annoyance that I press in my pocket on accident.

On three devices I tested it on it isn't working properly [left and right]
I want to say it used to work.

It is possible I broke it when I refactored the action system but perhaps its been broken for a while..
It behaves the same with 3.13 Reading the manual it seems to be the desired behaviour
Left / Right
Temporarily change pitch by 2% (beatmatch), or modify speed (in timestretch mode).

 
Title: Re: AGPTEK Rocker
Post by: Frankenpod on December 05, 2018, 04:02:16 PM
I've never had a need for the pitch screen its always been an annoyance that I press in my pocket on accident.


I've used it a lot with podcasts - for speeding them up to save time (people talk too damn slowly!  I'm a busy guy, speak faster! Well. not that busy or I wouldn't be listening to podcasts so much, but still).

I don't use it on a Rocker, though.

Have to turn on 'timestretch' first, mind. Or that screen doesn't work. And, maybe - not sure, can't remember - reboot after doing so.
Title: Re: AGPTEK Rocker
Post by: JimZipCode on December 08, 2018, 01:30:27 AM
Rockbox stops playing when usb charger is connected. Is there a setting to allow it to play when plugged in?

turn on the player, then hold down the center button, connect the charging cable, listen to the music (-;

Now THAT is super helpful!  Thanks
Title: Re: AGPTEK Rocker
Post by: bahus on December 08, 2018, 09:09:05 AM
Personally I am against using 2-keys-combo for locking when simple power is available and consistent with OF and general smartphone feeling.
Thanks for you work.
I checked your latest version and found current power key handling is actually not consistent with original OF/smartphone feeling.

I expect it to turn off screen but instead it simply locks the buttons. It's  also not consistent with other rockboxed players I have (clip zip, Iriver H10 and iPod) - all of them use 2-keys-combo for locking and power key turn offs screen immediately. So could you please return this behavior for consistency.

There is another feature I miss from Clip Zip - long pressing right/left buttons in file view make names scroll. It's very convenient feature to quickly read long folder/file names. Could you please also enable this feature for Rocker