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