Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: pamaury on November 12, 2013, 02:17:33 PM

Title: Sony NWZ-E370
Post by: pamaury on November 12, 2013, 02:17:33 PM
This is a dedicated thread for the Sony NWZ-E370 and NWZ-E380
The port is already working even though many improvements needs to me made.
Title: Re: Sony NWZ-E370
Post by: pamaury on November 12, 2013, 02:47:28 PM
Here are prebuilt bootloader to test rockbox:
Sony NWZ-E370:
Sony NWZ-E380:
Title: Re: Sony NWZ-E370
Post by: pamaury on November 20, 2013, 08:42:06 AM
I updated the keymap based on lebellium's work, please tell us what do you think. Still no keymap for plugins and games though.
Title: Re: Sony NWZ-E370
Post by: Marc on March 05, 2014, 07:58:46 AM
Thank you for this port. It works good on my e384.  The keymap is great but I cannot find out how to put my walkman on hold, is this possible?
Title: Re: Sony NWZ-E370
Post by: merfux on March 17, 2014, 04:51:50 PM
Hello all,

Will this work on NWZ-E375, please ?
Thank you.

Tippin' my hat to the Team.
Title: Re: Sony NWZ-E370
Post by: pamaury on March 18, 2014, 06:53:08 AM
Yes, it works on all NWZ-E37x and E38x.
Title: Re: Sony NWZ-E370
Post by: cosmos10040 on May 29, 2014, 08:43:34 AM
Thank you for this port. It works good on my e384.  The keymap is great but I cannot find out how to put my walkman on hold, is this possible?

Did you ever find out if the hold/lock works? plugins work? How is sound quality? Thanks
Title: Re: Sony NWZ-E370
Post by: Marc on May 31, 2014, 03:27:04 PM
I have not gotten hold to work unfortunatly. Sound quality is great, I don't use plugins so I wouldn't know if they work.
Title: Re: Sony NWZ-E370
Post by: cosmos10040 on May 31, 2014, 04:44:01 PM
Pamaury, can you post instructions to install this? i am not able to move the .rockbox folder, i keep getting errors about not being able to copy due to not working even though i can transfer music with no problem.
Title: Re: Sony NWZ-E370
Post by: pamaury on June 18, 2014, 08:37:46 AM
Hi,
install instruction for the bootloader are here: http://www.rockbox.org/wiki/SonyNWZE370Port (http://www.rockbox.org/wiki/SonyNWZE370Port) and to install the main binary, download http://build.rockbox.org/data/rockbox-sonynwze370.zip (http://build.rockbox.org/data/rockbox-sonynwze370.zip) and extract it at the root of the device. The bootloader has working USB mode so you can always upload the firmware once you have installed the bootloader.
Title: Re: Sony NWZ-E370
Post by: pamaury on June 18, 2014, 08:41:02 AM
Hi,
I am the Sony NWZ port developper.
This is a call for testing: some people have reported that the keys do not work on the E380 when using the E370 rockbox firmware. Since no one has been willing to help (and immediately uninstalled it instead), I'm looking for someone who is willing to install a test build I will provide to help me understand the issue since I don't have the device myself.
Thanks
Title: Re: Sony NWZ-E370
Post by: evilsebasti on June 18, 2014, 11:11:26 PM
My friend I just installed rockbox e370 firmware on a NWZ e384. All buttons works. Only thing weird is that it turns on with de play/pause button, and turns off with power button. I will feedback any issue i have. Do you know any method to lock the keys? thanks!!!
Title: Re: Sony NWZ-E370
Post by: pamaury on June 19, 2014, 09:01:50 AM
Hi,
thanks for the report, yes I know it may sound weird but I already this discussion in the past and people convinced me to use play/pause (and not OFF) to power on. On the other hand, using anything else than OFF to power off would be weird... Currently there is no lock method because it has no hold key but we have support for a soft-lock mode in Rockbox, but we need to decide which key (or combo) to bind to it. A natural candidate could be long OFF press (short would still be menu and very long still power off), or maybe long back ? Ideas are welcome !
Title: Re: Sony NWZ-E370
Post by: evilsebasti on June 20, 2014, 01:53:28 AM
Hi again. Today i used my e384 with rockbox. Sound quality is amazing with all the sound options in rockbox. I didnt have any issues, the player is stable and all keys are working. There are few downsides. 1. When the screen turns off playing music it always keeps a soft bright backlight. I dont know how much this light would affect battery life. 2. Battery life seems to be quite shorter with rockbox. 3. Fm Radio does not work. Tomorrow i will test it for longer time and i will post any issue
Title: Re: Sony NWZ-E370
Post by: pamaury on June 20, 2014, 02:15:33 AM
Hi,
Indeed battery life is shorter and radio doesn't work because the tuner is pretty hard to support but I worked on it at our last DevCon, and I hope to commit this very soon when the last bug is squashed. Your comment about soft brightness is interesting, this could definitely explain the difference: I will investigate this, maybe we are missing a GPIO to turn it off completely.
Title: Re: Sony NWZ-E370
Post by: evilsebasti on June 22, 2014, 11:30:20 AM
Hi!

Yesterday I used an external charger with my e384 and battery indicator just went crazy. After 4 hours it reported only 85% charged. I unplugged it and went to 5%, then plugged it again and suddenly battery was fully charged. I am curious about actual battery life but these days I've been very busy and I could not test it for long periods. For 3 - 4 hours use it goes from 100% to 70 - 60% but I dont know how accurate it is.

Another small issue I had is that I started OF to listen to the world cup in the radio, but after the match I turned it off and tried to start rockbox but it keep starting OF. I had to use reset button and then rockbox worked again.

Today I hope to test it for longer time.   
Title: Re: Sony NWZ-E370
Post by: pamaury on June 22, 2014, 02:18:40 PM
Hi,
this is strange, the battery indicator is based on the voltage so I don't know what could have gone wrong to display this.
What you describe is an issue of the OF: you cannot power down the device with it, it only goes to sleep mode. You must reset it to reboot to rockbox.
Title: Re: Sony NWZ-E370
Post by: WOWa on June 28, 2014, 01:25:38 AM
pamaury, thank you very much. Sorry for my english. I use it on my new nwz-e383. Every things fine.
1) SQ in stock < SQ in Rockbox (flat Eq). Rb better. IMHO.
2) What themes i can use?
3) What is the difference between sonynwze370_1.0.1.firmware.sb (I use this) and sonynwze370_rb_.firmware.sb?
4) How I can switch to sony fw and back to rockbox? Now I ON rb with Play and SonyFw with Back, but then I can ON rb only plug the USB cable.

HOLD - long play will be better.

+ battery indicator - OK.
Bug 1: When I listening a song and then try to play a track from .CUE, nothing happens - it does not play, but .flac - OK. I must restart player adn play .cue first of all.
Bug 2: When the screen turns off playing music it always keeps a soft bright backlight (Screen is gray In the dark).
Title: Re: Sony NWZ-E370
Post by: evilsebasti on June 30, 2014, 11:32:38 AM
Hi!!!

I have been using rb all these days and battery life is getting a little better. I think it must go for about 10 hours with mp3 music files.

Battery indicator is still crazy. It almost never shows battery fully charged even if I keep charging the device all night. Soft backlight also keeps on. Everything else is working great, and sound quality is just great.

WOWa: To go back to rockbox you have to press reset button.
pamaury: whenever you have a new build let me know to test it. I will gladly help!!!
     
Title: Re: Sony NWZ-E370
Post by: pamaury on June 30, 2014, 11:34:56 AM
Hi,
I have a potential fix for the backlight light problem, I'm currently benchmarking to see the increase in battery life but right now it seems to be pretty good. I'll also use the data to calibrate the discharge curve. Should land into trunk in a few days when confirmed.

EDIT: I have pushed the plugin keymap and backlight fix, feel free to try. What I'm interested in:
- feeback on plugins: try them, tell me if some are unusable or you have better keymapping ideas
- battery life: it should be much better now, please confirm/bench (you can use the battery_bench plugin, I also encourage you to try against the OF)
- backlight: the slight glow should be gone: please confirm
Title: Re: Sony NWZ-E370
Post by: WOWa on July 01, 2014, 05:32:38 AM
backlight - OK
battery: flac (hi vol) >25h. (battery_bench) and 5% left!
CUE - OK
Calc, calendar, keybox, mini games - ok. Doom is playable, but the picture is vertically stretched.
Title: Re: Sony NWZ-E370
Post by: pamaury on July 02, 2014, 02:57:31 AM
For a battery bench to be useful you must do it the proper way: start from full battery, reasonable volume (something you would listen to), load a very big album/playlist, select repeat all, and run the battery_bench plugin. Wait until it fully discharged. Don't forget to plug the headphones. The battery_bench log file will be at the root of the player.
Title: Re: Sony NWZ-E370
Post by: merfux on July 22, 2014, 12:59:42 PM
Any news please ?
Thank you very much for your efforts.
Title: Re: Sony NWZ-E370
Post by: WOWa on August 04, 2014, 08:05:15 AM
Hi!
Status: Keys    100%    Hold is working
How?
Title: Re: Sony NWZ-E370
Post by: pamaury on August 04, 2014, 08:06:41 AM
Hi,
this is a typo, the E370 doesn't have a hardware hold key.
Title: Re: Sony NWZ-E370
Post by: glasswalker on August 18, 2014, 04:15:50 PM
I have it installed on an nwz-385,   the problem I have seen is the "recently added" playlist does not seem to function.  After I add new music files this playlist is still empty
Title: Re: Sony NWZ-E370
Post by: pamaury on August 19, 2014, 02:27:20 PM
Have you enabled the database ? Anyway this is not a NWZ specific bug, if you do have the database enabled, this probably should continue on another forum instead of New Ports.
Title: Re: Sony NWZ-E370
Post by: merfux on November 13, 2014, 11:03:25 AM
Hello all,

Is this project stopped, please ?
Or what's the latest update, please ?
Thank you very much for your time and effort you put into this.
Best regards.
Title: Re: Sony NWZ-E370
Post by: pamaury on November 13, 2014, 11:37:29 AM
Hi,
rockbox is working on this target despite what the front page status (unusable)  might make one thinks. Installation still has to be done manually following the instructions on the wiki, please use the nightly builds because we not have a released version yet.
Title: Re: Sony NWZ-E370
Post by: JosieQ on December 06, 2014, 09:05:53 AM
Greetings!  I've just gotten the Sony NWZ-E85, which I did foolishly before finding out if it was compatible with Rockbox and further without realizing just how addicted to Rockbox I was.  I've been using it for the past year or two on my Sansa Fuze, which sadly broke, and now I find I simply cannot live with the standard MP3 player's OF.  They're so crap!  Ugh!  Just looking at them makes me want to puke my face off!  You've spoiled me and now I can't do without you, is what you Rockbox bastards have done.  >.<

Well so, here are a few things I've noticed.

1 - I can't seem to get a numeric value on either my battery nor my volume.  I've clicked "Numeric" for both of them, and it's set to that every time I go in, and yet they still display graphical.  :C  This is my current most important issue (along with #2 coming up), because I really like the numeric volume especially.  I have no idea what I'm on with that little bar that's only an estimation, really.  I like it on 6 for my car and -14 or so for my ears!  THAT'S what I know, not this crazy little inaccurate volume bar!!
2 - Keymapping hmmm.  I think you've done well with this, except for the already mentioned power on/off button.  Currently you've got the PWR/HOLD as how you turn OFF the player, but to turn it on you press the play/pause button.  I know you mentioned before some people suggesting the reassignment of the player's power function, but I agree with your point that it is just... weird.  I'd prefer to have the same key power it on and off, and I'd prefer to have that key be the original PWR/HOLD button doing both.  At the very least, if you won't change it, would it be possible to have the PWR/HOLD button ALSO turn on the player, in addition to the play/pause button?  That way I can just use that button for both on and off and ignore the fact that the play/pause puts it on.  It just would make me feel a lot better because I'm... just anal-retentive about this issue.  I want PWR for power and I want it to be on AND off!  *Stomps feet tantrum-style*
3 - I've tried a few game plugins (Xobox, Bubbles, Brickmania) and they work fine so far.  (It's hard for me to play the damn things with buttons instead of a wheelie-gig like my Sansa had, but again my problem.)  I'll post again (if you want, that is) if anything glitches out.
4 - I too have the faint glow problem that other fellow mentioned, but it seems to go away after a while and doesn't drain the battery so I don't know if it matters.  I mean sometimes it's not even there.  Right now it's not.  I don't even know if I imagined it, because it's only visible in HIGH light anyway, which makes no sense if it's a glow.  Maybe it's a crazy reflection!  I don't know!!  I could only be seeing it because that other guy put it in my head!  DAMN YOU AND YOUR PUTTING THINGS IN MY HEAD!!  I mean that could've been there with the OF and I didn't notice it.  :/  So not really an important issue, I guess, is what I'm saying.

My battery life seems to be pretty good but I've only just gotten songs and stuff sorted out so I've barely used it enough to test.  Like the other fella, I do get weird reports when I'm charging, with it fluctuating from like 35% to 80% and back down again.

Side-note that no one will care about:  It was sad to me that I couldn't get any themes for this thing, but then that's my fault for having a crazy screened player I didn't vet out.  (Seriously, why is it vertical!)  I have fixed this problem now by making my own theme now, which I never set out to do, but accidentally learned all about it in my retentive desire to just take away the yellow of Cabbie because I hate yellow... and the effort took me like six friggin' hours, but it was worth it because now I have an awesome awesome theme that's like so awesome OMG!!  (Well, it's probably not awesome to everyone.  But I love it anyway.)

Anyway so, that's what I've got to say about that.

In closing, you guys are great.  I'm glad I've at least got you on this platform, even a little bit, because I love your Rockbox, I really do.  So even if you never fix any of those issues above, I'll still keep you on my thingiemabob.  ^-^
Title: Re: Sony NWZ-E370
Post by: pamaury on December 06, 2014, 09:19:04 AM
Hi, great thanks for the report ! Let me try to answer your points:
1) I *think* it depends on the theme (I only develop the low-level stuff so I'm not 100% sure), and I *think* we have other themes for this resolution, you should have a look on our theme website, just pick a player with the same resolution (select search by lcd size and enter "128x160"). It is also possible that it is a bug of the theme engine.
2) I think your suggestion is okay, we could have both buttons power the player, to be honest I don't even remember why we selected play. That will require a bootloader change though but I'll add this to my TODO list.
3) yeah the pad is just not great for games
4) Ok, then I have no idea what to do, if the battery life is not impacted I'd say just ignore it.

About battery reports, I'll try to have a look at it, the battery meter is really calibrated for the NWZ-E370 and calibration is probably not the same on the NWZ-E380 which may explain the problem. If you have the time to do it, you could help by doing a battery benchmark: start with full battery, select repeat all, start a long playlist (at least 30 files), and start the battery_bench plugin. Let your player alone until battery is drained, and send me the battery bench log (it should be at the root of device I think).

Thanks again for your comments :)
Title: Re: Sony NWZ-E370
Post by: JosieQ on December 10, 2014, 10:14:05 AM
Thanks for the reply!

I did manage to put a numeric display for battery and volume into my theme, so that problem's fixed and I appreciate that clue.   ;)

And finally (took a bit of time), I did the battery bench test for you!  (Also for me, since it's my player after all, heh.)  I'm attaching it and, assuming I'm understanding any of this correctly, it did last over 26 hours.  ^-^
Title: Re: Sony NWZ-E370
Post by: pamaury on December 11, 2014, 05:07:08 AM
Thanks for the report :) I have another question: does the battery percent "swing" only in the bootloader screen or also in Rockbox ? I kind of expect this behaviour in the bootloader because at the moment the "raw" voltage is displayed, whereas in Rockbox it is smoothed, thus removing the most abberant values.
Title: Re: Sony NWZ-E370
Post by: JosieQ on December 11, 2014, 11:33:58 AM
It seems to be only on the bootloader screen, you're right.  The only thing it does weird-ish with the battery while IN Rockbox is that the graphical battery value shows a tiny bit missing even when it's 100% and never displays full graphical.  (It does however show full in the while-playing screen.)

Oh, I did have a weird glitch while playing music yesterday.  I went into a different folder from the one I was in and started clicking around on different mp3 files trying to find a song... and the music stopped playing and behaved as if it was paused.  The icon still showed a "play" status and I could switch between "play" and "pause" with the button but it was just sitting there, not playing or advancing the time, as if paused.   I tried a bunch of songs with no luck, and then I restarted and that fixed it.

Cuuuuuurious.   ???
Title: Re: Sony NWZ-E370
Post by: jrbb on December 28, 2014, 08:16:06 AM
Hey,

I'm using the rockbox firmware since about half a year on my nwz e384. It's great, but I'm having a few issues:

1)
I'm having that key-Issue which was already mentioned somewhere. Somekeys(!) sometimes(! actually pretty often at the moment) don't work.
Especially the Back/Home- and the Play-Keys often don't work. Sometimes also the forward and back keys don't work, but they work most of the time. The up and down keys always work!
Addionally sometimes a key is triggered multiple times in a row, i.e. press forward to select an entry and it selects x entries in a row until it reached a leaf of the file-tree.
If a key is not working, a reboot has no effect. I can't reproduce it or see anything that influences the behaviour.
All the keys work perfect all the time in the original fw.

Since this seems not to be a "regular" (i.e. logical bug) I was wondering whether it might be some kind of a low level threshold issue. Is there some threshold that determines whether a button was pressed or not? Is it possible, that the voltage might be a little different depending on battery voltage, temperature, humidity? This could also explain the multiple trigger issue (button is pressed but the noisy voltage triggers key-released multiple times in a row).

Any ideas? I had the issue with a fw version from approx 6 month ago and updated my fw two days ago with no effect.

2)
The playback stops even though the play indicator says playing bug -- see JosieQs post -- also occurs sometimes. Not often and not really annoying, a reboot fixes the issue.

Thanks a lot for your work!
Title: Re: Sony NWZ-E370
Post by: jrbb on December 28, 2014, 08:44:25 AM
I had a brief look at the code. I think I found the thresholds ("expected value") but since I'm not familiar with the code and I don't have a build environment setup I think I would take me quite a lot effort the figured out how to fix it. But if there's a plugin or debug facility that displays the raw button values I could provide those values.
Title: Re: Sony NWZ-E370
Post by: pamaury on December 28, 2014, 06:06:05 PM
Hi,
it could be that the E380 uses sligthly different values than the E370. You can view the raw values in the debug menu: System > Debug > View HW Info > Button.
However, out of memory, I think the E380 screen might be too small to correctly display this information, if that's the case, I'll commit a fix tomorrow to make it more readable and so that you can provide the values :)
Title: Re: Sony NWZ-E370
Post by: jrbb on December 28, 2014, 08:32:02 PM
Hey,

hmmm so what I could figure out so far:

A quick hot fix is to increase the hardcoded threshold in

firmware/target/arm/imx233/button-imx233.c:92  to 100.

I have no idea whether this might have any side effects but it seems to work for now.


The vddio raw value changes when I press the up and down buttons between 31xx and 38xx (xx -> can't read ;-)) I assume this is the way it is supposed to be because of the scaling done in the code.

complete list for the left key:
vddio -> left
31xx -> 1977
32xx -> 2045
33xx -> 2111
34xx -> 2181
35xx -> 2246
36xx -> 2311
37xx -> 2377
38xx -> 2442

values for the other keys for vddio 36xx:

right 1957
down 3042
up 2680

can't get values for the other keys, because they quit the debug view.

I.e. they are of by almost the threshold in the code and a little bit of vddio scaling imprecision might cause the problem.

What do you think of just increasing the threshold value? This would be platform independent and since the values are spread for enough from each other there should be no overlapping. Might this cause any side effects?

Anyway, it's a complete new and great experience to use a rockbox with fully working buttons after half a year of annoying work arounds :D
Title: Re: Sony NWZ-E370
Post by: pamaury on December 29, 2014, 06:25:43 AM
Hum, to be honest I don't really like the idea of simply increasing the value because it affects many targets and may broke some of them. Furthermore, it doesn't really solve the problem which you identified: imprecision increases with vddio because of scaling. A quick fix could be to have a per-target threshold. But in this case it seems some of the values you are off compared to the expected values, which means that:
I'm going to double-check on my E370 as soon as possible. I'll also commit something so that one can try all the buttons in the menu.
Anyway thanks for the report and stay tuned :)
Title: Re: Sony NWZ-E370
Post by: JosieQ on January 15, 2015, 01:53:57 AM
The buttons-not-working issue!  Initially I read jrbb's post and it had never happened to ME before, so naturally I (as I'm sure most of us did) assumed he was completely insane.

;)

But yeah, I did get this issue the other day with the "Play" key and it was strange.  Pushing it hard or soft did nothing, and pushing it a bunch of times in succession didn't do anything either.  A restart did not fix it and eventually it just... fixed itself.  Although then it did play-pause-play-pause-play-pause real fast a bunch of times, so maybe it was sort of, I dunno, catching up with the past presses?  Is that possible?  Hmmm.

Everything else is going swimmingly.
Title: Re: Sony NWZ-E370
Post by: cosmos10040 on May 20, 2015, 11:10:33 AM
Hi there, i know its been a while since any activity in this thread but has this been updated with all the rockbox features working? thanks.
Title: Re: Sony NWZ-E370
Post by: pamaury on May 21, 2015, 06:22:19 AM
Hi,
the nighlty build contains all the features of Rockbox except the radio. Also the installation of the bootloader must still be done by hand but I have begun some work on this so it can be done automatically by Rockbox Utility. As for the radio, I have some patches but they are very unreliable, this is difficult matter because we don't have any doc.
Title: Re: Sony NWZ-E370
Post by: pislick0 on August 18, 2015, 07:46:30 PM
i try to plugin and some themes but themes have a problem, i generelly try other player's themes but screens different and for this reason have a problem.. And this rockbox have a little bit problem its not have a memory about of eq setting.. I make a some eq setting and 2 or 3 day later eq setting change by itself and alwany i obligation make new eq settings and themes setting.  Can you fix it ? or are you make a new update ?   (thank you so much for this application)
Title: Re: Sony NWZ-E370
Post by: keyser84 on September 20, 2015, 04:18:58 AM
I created a theme for the E370/380 some month ago: https://github.com/keyser84/rockbox_theme_BolderMono
Currently, some file information is displayed if the album cover is not available. However, I thought of changing this to just display a black screen.
Title: Re: Sony NWZ-E370
Post by: kofaz on December 27, 2015, 11:28:10 AM
I put this on my nwz-385.  Thank you very much, pamaury, for making this available!

There are some posts in this thread talking about strange activity with the buttons.  I used this player for over 6 months before putting rockbox on it, and had similar problems even then.  With the OF, it usually required resetting it, to fix the problem.  In rockbox, turning off then back on fixes it.

After installing rockbox, I once booted into the OF just to prove it was possible.  After booting back into rockbox...I noticed all settings were reset. When I went to reload the cfg and theme files, they were gone.  All the bookmarks,  shortcuts, and playlists were too.  It seems that when booting into the sony firmware, it deletes anything that wasn't put on the player through its software?  How rude! 

I haven't been able to get timestretch to work. Searching the forum suggests that once it's enabled, it still needs to be activated in the pitch screen.  On players with a record button, it's enabled by pressing it...Is there a button combination on these players to activate timestretch?

Again, thank you so much.  I really appreciate all the extra features as compared to the rather basic OF.
Title: Re: Sony NWZ-E370
Post by: pamaury on January 04, 2016, 09:17:48 AM
Hi,
thank you for your support :)
I have never witness this setting reset when booting back to the OF, I will check it out. It is possible that the OF simply wipes out some of the file, but then why did it not wipe out rockbox ?
I admit I never tried timestretch so I'll dig into the code to see how it works. Ideally I should write the manual for this player but i never found the courage to do it :(
Title: Re: Sony NWZ-E370
Post by: kofaz on January 06, 2016, 10:32:14 AM
OK, I tried this several more times, and now I'm even more confused.  Perhaps it's just me and my player?

First, I backed up what was new on the player since installing Rockbox.  Then I boot into OF, it took a very very long time to "creating library". Then I used the radio.  OF works fine.  Then I went into OF standby mode, then hit the reset button on back of player.  When I booted into Rockbox, all settings were default settings.  Cfg, theme, wps, and bookmark files were gone.  A folder in my music directory was also gone.  In this folder were all the playlists I had made using the player, I also created the folder using the player.  Another folder, containing a bunch of text files, was still on player.  This folder was created with a computer, and the files were transferred to the player. 

I was curious if it was OF or Rockbox deleting files.  So as a quick test I copied the backed up folder of playlists to device and booted into OF.  Then connected to a computer to see if it was still there.  Hmmm...I was surprised that even though I was in OF, the player was displaying rockbox usb screen...?  The folder was still there.  Once disconnected I was instantly back in Rockbox, and folder remained.

So now I'm guessing that only the files created on the player are getting deleted, not files transferred to it.  I transferred all the backed up files to player, boot into OF, then back into Rockbox...everything is still there, and player is just like it was before all these tests.

For one final test, I created a few new bookmarks, boot into OF, then into Rockbox.  I was assuming that everything would be there except the bookmarks I just created...But it was all gone again?!

A few more observations:
-There are now many new files on root of player.  They're named 137918_cache through 137935_cache.  When opened as text, they display garbled nonsense.
-The firmware.sb file is not on root of player.  Not sure if it ever was since after installing rockbox.
-I looked in my rockbox fonts folder.  I'd recently added all the fonts from the fonts pack, and "played" them all, to see what they looked like.  After playing them, a .gc file was created for each font.  The fonts were all still there.  But the font.gc files were not.  Again, the .gc files were created by the player, and disappeared.  Whereas the fonts were transferred to it, and stayed.

I think I'll just stay out of the OF.  Luckily, even if one accidentally long presses the back/home button, OF won't boot up until after a longpress on the hold button to unlock.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 09, 2016, 03:54:13 AM
I recently picked up a NWZ-E384 to replace my poor, dead Sansa Clip Zip, and had some real difficulty getting it Rockboxed. It's not an option on the utility, and there were some issues with the bootloader firmware provided at the beginning of this thread.

However, after visiting the IRC, I got some stellar assistance from Saint, who patiently listened to me trying to explain how nothing changed after putting the bootloader in the root directory, and then compiled a new bootloader and everything.

And it worked.

Saint will be in touch with the right folk about what was done to get it to work, and I can post anything I've found with it here. I still have muscle-memory from years and years of Sansa Clip use, and am finding that not all the keys work quite the same. Take the game plugin solitaire; in order to get it to deal new cards, need to hold the Option and then Up (it's the upper-left Back button on the Sansa).

(EDIT: After completing a game of solitaire, when the cards bounce all over, it locked up the entire device. Had to press the reset button on the back in order to restart the device.)

It seems like it could be a handy little device, and I may look at adapting the Cleanscreen theme for it.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 09, 2016, 01:18:07 PM
Something else I noticed that's another difference from the Sansa Clip Zip: Can't seem to browse the settings or anything else while playing a file.

In the Sansa, to browse the other options in Rockbox during play, you click the Home button (upper-left). With that you can browse other files, themes, plugins, etc.

In the Walkman, the button to get to the files, settings, plugins, and other options is the Play/Pause button, which also stops play. After over a decade of Clips, I'm probably a little too used to hitting the Walkman's Home/Back button to get to those options, because it's in the same location as the Clip's Home button -- but that does nothing. Would using the Home/Back button on the Walkman make more sense? Or would there be a way to get to those same options through the Context Menu? Because the Context Menu can be reached by holding down the Option button for a moment.

(And if you're still looking for lab rats to test builds, I'm in.)
Title: Re: Sony NWZ-E370
Post by: kofaz on February 10, 2016, 04:58:32 PM
I use an nwz-385.  While an mp3 is playing in the wps pressing the home/back button takes me to the file browser, pressing it again takes me to the main menu.  I have no trouble browsing files or settings.

I had no trouble installing.  There is a different bootloader for 37x models and 38x models.  Download the rockbox firmware/bootloader, rename it firmware.sb, put it in the root folder.  Perhaps your problems are from the bootloader saint built for you, keys not remapped?
Title: Re: Sony NWZ-E370
Post by: kofaz on February 10, 2016, 05:23:29 PM
In addition to my nwz-e385, I put it on someone else's nwz-e384.  Both work just fine.

Also, there is one other theme available for our screen size at the themes page-
http://themes.rockbox.org/index.php?themeid=2054 (http://themes.rockbox.org/index.php?themeid=2054)
Too bad there's no way to rotate the screen.  Because there are many 160x128 themes, but just the one 128x160.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 10, 2016, 06:21:06 PM
I use an nwz-385.  While an mp3 is playing in the wps pressing the home/back button takes me to the file browser, pressing it again takes me to the main menu.  I have no trouble browsing files or settings.

I had no trouble installing.  There is a different bootloader for 37x models and 38x models.  Download the rockbox firmware/bootloader, rename it firmware.sb, put it in the root folder.  Perhaps your problems are from the bootloader saint built for you?

I might just be having the "keys not always acting right" problem. Earlier today the home/back button worked for the first time. But after it came out of screen blank, it didn't work again, and pressing play/pause wouldn't even pause the file that was playing.

And sometimes if I pushed and hold the option button until that Context Menu appears and then press the option button again, it would take me out to other areas home/back does, but other times it just takes me back to the wps screen.

As for bootloader, do you mean the bootloader from the second post of this thread? Giving that a try now.
Title: Re: Sony NWZ-E370
Post by: kofaz on February 10, 2016, 09:12:37 PM
Yes, I used the 380 bootloader from second post in thread, stored on dropbox.

I read the irc logs, and your issues reminded me of some wierdness I had on both installs (384 & 385).  After ejecting/unmounting player and unplugging, there was a sony graphic saying do not discconnect.  But it was already disconnected.  Nothing happened, both seemed frozen...was worried I bricked them.  But after poking the reset button, they boot up and rockbox was there.

As far as the buttons not working, that rarely happens to me.  Although I do notice that when player is cold (outside in winter) the play button stops working, and once the back/home button too.

All in all, I'd say rockbox is very stable and dependable on my player, too bad the radio doesn't work. I got mine in May.  The 384 I put it on was purchased in December.  I put rockbox on both in december.  Perhaps, like Saint said on IRC, yours may have a newer original firmware that was incompatible with pmaury's bootloader (he made over two years ago)?  On the root of both of these players is a file called deviceinfo.txt. they both say :
comp.1.00.0000
prod.1.00.0000
I'm guessing that was the sony firmware version?

Good to know someone else is using these players.  They're probably the only players still being made that have a usable rockbox port.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 11, 2016, 02:29:27 AM
kofaz, you're right, this device I have seems to be a bit different. In my DeviceInfo.txt, I have

COMP.1.00.0100
PROD.1.00.0100

So yeah, looks like there's been an update.

I re-installed the bootloader from the second post, and home/back is working more often now, but not consistently. But it didn't really work at all before, so that's an improvement. Aside from that little inconsistency, everything else is working fairly well, although I had that one hard lockup after finishing a game of solitaire (from the plugins).

If there are any more updates to this device's firmware, I'd be happy to test them.
Title: Re: Sony NWZ-E370
Post by: [Saint] on February 11, 2016, 11:45:51 AM
Observational bias.

The bootloader has absolutely zero bearing on the buttons under Rockbox, or, anything in Rockbox at all, for that matter.


[Saint]
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 11, 2016, 01:50:34 PM
Observational bias.

The bootloader has absolutely zero bearing on the buttons under Rockbox, or, anything in Rockbox at all, for that matter.


[Saint]

So, since according to my DeviceInfo.txt I have different, updated version, I'm guessing this must be an issue with the version of Rockbox that was whipped up for the device a couple years ago.
Title: Re: Sony NWZ-E370
Post by: saratoga on February 11, 2016, 01:56:57 PM
Observational bias.

The bootloader has absolutely zero bearing on the buttons under Rockbox, or, anything in Rockbox at all, for that matter.


[Saint]

So, since according to my DeviceInfo.txt I have different, updated version, I'm guessing this must be an issue with the version of Rockbox that was whipped up for the device a couple years ago.

The wiki links to the current version.  If not that, which build of rockbox did you use? 
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 11, 2016, 10:37:35 PM
The wiki links to the current version.  If not that, which build of rockbox did you use?
Yep, I'm currently using the rockbox from the wiki. The only real issue I'm having is that home/back button almost never works. Re-installed the .rockbox today, and it worked at first after I disconnected. But whenever the screen blanks, the home/back button ceases to do much of anything. However, it's random; about 10% of the time, maybe ever three or four hours, the home/back button will work, but only until the screen blanks again.
Title: Re: Sony NWZ-E370
Post by: pamaury on February 12, 2016, 05:27:21 AM
Hi all,
I'm the dev of the port. Unfortunately I don't have the device anymore (I can't find it, I must have lost it :() so it's hard for me to test, I will try to buy one. Some thoughts:
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on February 13, 2016, 09:16:45 AM
Hi all,
I'm the dev of the port. Unfortunately I don't have the device anymore (I can't find it, I must have lost it :() so it's hard for me to test, I will try to buy one. Some thoughts:
  • There are clearly two versions of the software: 1.0.0 and 1.0.1
  • It is possible that the update process failed because the image I posted on the wiki was produced with an older version of my patch tool, I will update it
  • For the buttons: I will reply to this post later today to describe a procedure that will help me troubleshoot this, would be great if you can do it and report the results.

Thanks -- I hope you find your device.

The one thing I've noticed with the home/back issue is that it almost seems to be linked to how warm the device is. (Think something like this was mentioned earlier in the thread.) Where I'm at, we're currently having a winter cold snap, so if I'm outside, sometimes even play/pause doesn't work at first. I don't often keep the device in my hip pocket, and home/back usually never works. However, if it has been in my hip pocket (where it's warmer). then home/back is far more likely to work. Strange.

Also, since re-installing the .rockbox, I haven't had the lock-up with the solitaire plugin I had before.

Since I'm the one with the different version of the software, I'm willing to test things out.
Title: Re: Sony NWZ-E370
Post by: pamaury on February 13, 2016, 10:20:33 AM
Hi,
I'm going to buy another one. In the mean time, some questions:
Procedure:
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on March 04, 2016, 04:49:43 PM
Hi,
I'm going to buy another one. In the mean time, some questions:
  • Does that happne with the OF ?
  • Can you try the following procedure and report the result ?
Procedure:
  • Boot player, go to System > Debug (keep out) > View hardware info
  • In the list, go to button and press select: the screen should display a big table with many numbers
  • NOTE: I don't have the player, it is possible the table doesn't fit on the screen or is not exactly as described
  • One of the lines should be "vddio: 0[2/2] (raw=XXX) ...."
  • If you press up and down, the raw number above (XXX) should change: confirm this
  • Some lines should be "BBB: 0[2/2] (raw=YYY) ...." where BBB is a button name like "up" or "down"
  • Repeat the following for all offending buttons (like left, home, etc) :
    • press the button, write down the value YYY in the corresponding line together with the corresponding VDDIO value
    • release the button, write down values as above
    • press up or down several time to change the value of vddio
    • press the button, write down values as above[
    • release the button, write down values as above[

A lot to go through here, not all of it may make complete sense (at least for now). And for the record, these issues don't occur in the OF.

First: When I go to that HW Info scree, I see the big table, but not all of it -- the right-hand side is cut off.

Furthermore, the raw numbers are hard to make out, because they look like they're all a 4-digit number, but the 4th digit is constantly changing. It looks like the last digit is just running through all the numbers 0-9 over and over again. Only one button doesn't show this, the Right button, but I think that's because it's cut off on the right side, so it only shows the first two digits of what's probably a 4-digit string.

Second: Three of the buttons don't change any of the numbers, but just kick the user back out to the previous menu. Those include HOME (also BACK) and PWR/HOLD (also OPTION). The BACK button is one of the problem buttons, so can't really check that one.

Third: The first time I tried checking these buttons, the entire device locked up, and I had to do a hard reset. I think that has to do with the Up button (see below).

Fourth: Not sure if this is related to the button issue or not, but lately a new issue has emerged, where the device will do two things, often until a hard reset:

Fifth: The device not responding unless it reaches a certain temp (almost body temp) is occurring much more frequently now. Room temp in my place is around 65-70 degrees F (around 20 degrees C -- it's winter on the North American Atlantic coast). At room temp, the device's HOME (BACK) button pretty much does nothing. Warm the device up, and it works again.

So, on to what I think you were asking for with the table and the vddio numbers:

Pressing Up and Down repeatedly seemed to change the screen's brightness as well as the vddio number; pressing Up makes it brighter, pressing Down makes it dimmer. But if I pressed up too many times, the device locked up with a solid light screen -- the same screen as when you go to Plugins >> Applications >> lamp, and all I could do was power down.

Pressing HOME (BACK) and PWR/HOLD (OPTION) doesn't change vddio numbers, but just kicks the user back out to the previous menu (as noted above).

So that leaves me with left, right, up and down. Here are the initial raw numbers recorded, and then the numbers as they appeared after pressing down about 8 times (note that I'm only putting the numbers I could see, and am leaving off cut-off and rapidly-changing numbers at the end of the string, and I believe that string is 4 digits long):



I have no idea if I did this right or if this info is helpful or useful, but here's hoping.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on March 22, 2016, 11:49:14 PM
I fear this thread is dead, but...

I've found that the quick pause every 6-7 seconds almost always happens when a file is added to the current playlist. So you're listening to a file, decide to add something to the current playlist, do so, and the thing you're listening to then starts that annoying pausing.

I'm not sure if it continues to pause on the added item, because I've just done a hard reset every time -- because it's just not worth listening to that repetitive pause.

EDIT:

Just a note that when it does go into that weird pausing phase, the top of the Now Playing screen changes to look like all the other screens, with the battery indicator, volume indicator (which just reads -33), time, and a little lightning bolt in the upper-right corner. (This is with the standard cabbiev2 theme.)

Not sure if that helps or not, but there it is.
Title: Re: Sony NWZ-E370
Post by: pamaury on April 16, 2016, 12:59:48 PM
Hi All,
I'm working on the problems, so let me summarised:
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on April 19, 2016, 12:05:08 PM
Thanks! Trying out the new version presently. The button problem this build addresses -- is that the one where the Home/Back button doesn't work unless the device is sufficiently warm?

I've been trying something else to pinpoint that play/pause bug. I've reset the device to it's base settings to see if it was an adjustment that caused this to happen. The only thing I've adjusted is the bass/treble, and I've left everything else as is -- and so far, about five days into that test, no play/pause issues. (Did JosieQ have a similar issue (http://forums.rockbox.org/index.php/topic,43630.msg230784.html#msg230784)? Seems jrbb had something like that happen as well (http://forums.rockbox.org/index.php/topic,43630.msg232609.html#msg232609).) Here's what I've adjusted in the past whenever those issues occurred:


Under Settings > Playback Settings:

Under Settings > General Settings:

Under Settings > General Settings > Bookmarking:

I'm messing with some things in the new build you uploaded. One thing that seemed to be a problem in the past -- a trigger for the play/pause issue -- was playlists. Often, if there was more than one file in a playlist or if I added some files to the current playlist, that problem would occur. At this moment, with the new build I've got a playlist of 5 files going, and I've not experienced any of those play/pause issues. (Nor have I monkeyed with any settings at this point.) Hell, maybe it was something weird like removing the progress bar from the wps, no idea. But in any case, it's not happening at the moment.

On to the keymapping issues --

I went through the thread and tried to find what the keymapping issues were. Two common ones are the power vs play buttons for turning the device on, and that there doesn't seem to be a way to lock the device while playing in Rockbox. But three others (some of which were repeated/confirmed by other users, but a while back, so don't know if there have been other changes):

evilseabsti said (http://forums.rockbox.org/index.php/topic,43630.msg228683.html#msg228683):
Quote
All buttons works. Only thing weird is that it turns on with de play/pause button, and turns off with power button. I will feedback any issue i have. Do you know any method to lock the keys?

jrbb said (http://forums.rockbox.org/index.php/topic,43630.msg232609.html#msg232609):
Quote
I'm having that key-Issue which was already mentioned somewhere. Some keys(!) sometimes(! actually pretty often at the moment) don't work.
Especially the Back/Home- and the Play-Keys often don't work. Sometimes also the forward and back keys don't work, but they work most of the time. The up and down keys always work!
Additonally sometimes a key is triggered multiple times in a row, i.e. press forward to select an entry and it selects x entries in a row until it reached a leaf of the file-tree.
If a key is not working, a reboot has no effect. I can't reproduce it or see anything that influences the behaviour.
All the keys work perfect all the time in the original fw.

I said (http://forums.rockbox.org/index.php/topic,43630.msg236414.html#msg236414):
Quote
I still have muscle-memory from years and years of Sansa Clip use, and am finding that not all the keys work quite the same. Take the game plugin solitaire; in order to get it to deal new cards, need to hold the Option and then Up (it's the upper-left Back button on the Sansa).

EDIT
Just tried connecting the device to my computer (usb) while it was paused, and it caused a panic and needed a hard reset. Here's the info from the panic screen:

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

*PANIC*
buflib error (CTX:0 X600f9138,30841580 bytes0; crc mismatch: 0xBA9DF4F4, expected:0x3F87B1B9 pc: 60049828 sp: 00004C(the screen cuts off here) A: 00004CD0
bt end
start of logf data
(bunch of stuff that runs off the screen, four beginning with Codec: entering run, then Codec: calling entry, Codec: cleaning up, Codec: entering run, Codecn: calling entry, end of logf data)

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

Tried plugging it in while on in a few different screens, and it caused a panic every time.

Anything else I can do to help?
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on April 22, 2016, 08:45:25 AM
Update after using the new build for a few days:

I left the settings alone for a stretch, and didn't experience any issues. So I eventually went back and altered the settings to like what I mentioned above, and all was well for a couple days, until recently when powering on/starting the player in the middle of a playlist of 5 files. This had all the characteristics of the pause/play issue, where the wps becomes unresponsive; the only difference is the files didn't pause this time, the wps just became unresponsive, so that's a step in the right direction. Still had to hard reset with a paper clip in order to use the device again, and it automatically resumed to the file where the wps got stuck, and had to reset again (3 times total).

I have a sneaking suspicion it may have something to do with setting Startup/Shutdown > Start Screen to Resume Playback, so I changed that to Recent Bookmarks and see if I get the issue again.

One other thing is that many of the files seem a little bit crackly, but that might just be the podcasts themselves. It's not something I've noticed before, either with this device or those podcasts, so it may just be a coincidence, but it's just something I noticed. (And it's just slightly crackly, it doesn't really get in the way of anything and can be missed if you're not looking/listening for it.)
Title: Re: Sony NWZ-E370
Post by: pamaury on April 22, 2016, 09:20:51 AM
Hi,
sorry for the late answer. The build I provided (https://www.dropbox.com/s/17mlziuobfvjunh/rockbox_nwze380_buttonfix.zip?dl=0 (https://www.dropbox.com/s/17mlziuobfvjunh/rockbox_nwze380_buttonfix.zip?dl=0)) is supposed to fix the issue with buttons not working (due to temperature or other things). Can you confirm that it works or do you still have issues ? Apparently this build seems to have issue with USB mode (panic), I am not sure why, I'll upload a new build tonight or tomorrow, just use bootloader usb mode instead if you use this build.

Regarding the issue of using the power button to boot the device, I have some bad news. The short answer is that it is impossible.
The long answer is that the power button (contrary to all other buttons) sends a special signal to the soc. When the soc is powered off, this signal means "enter recovery mode". So if you press if from power off, the device will boot straight to recovery mode instead of our bootloader. If USB is not plugged then the recovery mode will timeout after 2 or 3 seconds and eventually boot rockbox. So you would need to hold the power button for 3 to 4 seconds to boot: that's a VERY long time. Now you might wonder how the OF does it. The answer is that the Of never powers off, it merely goes to deep sleep and thus avoids this problem.
Conclusion: unless we implement deep sleep (which is a lot of work for little benefit it seems), we can use any button to power off EXCEPT the power button...
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on April 23, 2016, 08:49:40 AM
Hi,
sorry for the late answer. The build I provided (https://www.dropbox.com/s/17mlziuobfvjunh/rockbox_nwze380_buttonfix.zip?dl=0 (https://www.dropbox.com/s/17mlziuobfvjunh/rockbox_nwze380_buttonfix.zip?dl=0)) is supposed to fix the issue with buttons not working (due to temperature or other things). Can you confirm that it works or do you still have issues ? Apparently this build seems to have issue with USB mode (panic), I am not sure why, I'll upload a new build tonight or tomorrow, just use bootloader usb mode instead if you use this build.

Yep, that's the build I've been using this week, and I can confirm that I've not had any issues with the buttons not functioning if the device wasn't sufficiently warm. So that's that sorted, nice work!

I'll give the other build a try when it's available to see if it still panics in usb mode. That's not any sort of show-stopper; personally I only used it to recharge the battery when I was listening to something, and didn't really have use for the mouse feature when plugged in. The only other issue I've had was that lockup on the wps screen, but it was only once and at least it's not pausing every six seconds. I can report that since I changed the Startup/Shutdown > Start Screen away from Resume Playback (to Recent Bookmarks) I haven't experienced the issue, but it's only been a day so far.

As for the power button, not sure that's a real problem in the grand scheme of things. As long as it turns on and off, I'm not sure if it's much to be bothered about, as long as it doesn't require a paper clip and the reset button.

EDIT

I spoke too soon. Just had the problem again where the wps is stuck, buttons won't work... and it's pausing every few seconds again. Two files were in the playlist, and it was bookmarked to start about 5 minutes into the first file. Can't get it to do much of anything at the moment. Press a button, nothing happens, and the wps will change screens, like if I hit the back button, but only after about 20 seconds or so, and the screen veeeeerrrrryyy slooooooowwwwwllllyyy fades in. Volume, play/pause, etc., those don't work. Was able to eventually power down without doing a hard reset, and when I started the device up again, I could change volume and play/pause, but when I hit the Back button from the wps, it all slowed down and became unresponsive again.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on April 30, 2016, 06:58:11 PM
One development in the weird random pausing thing (or just regular moments of silence that occurs at random times and the entire wps slooooows waaaay dooooown):

So of course it's happening again right now, because I have more than one file in a playlist, and that's when it happens. I was able to get it to power down just pressing the PWR/Hold button, but then it went into panic mode. So maybe this info will be useful.

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

*PANIC*
queue_post ovg q=60
0CF948
pc:60006BE94 sp:600008
          A: 600493B4
          A: 60059338
          A: 6006FD98
          A: 6005ECF8
          A: 60061A6C
          A: 60061AC0
          A: 00001B1C
bt end
     start of logf data
     Codec: entering run *may be more off-screen*
     Codec: calling entry *may be more off-screen*
     end of logf data
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on May 04, 2016, 04:17:42 PM
Okay, I think I know what's going on with the random pausing and the wps slow-downs.

The files that it occurs on aren't being read correctly. On all of the ones that have had this happen, they're supposed to be at a 128 Kbps at a constant bit rate mode, but if you go to Show Track Info, all the at-fault files read 127 Kbps. No other files do this.

(Show Track Info: from the wps, press and hold Option to get the Context Menu, and then choose Show Track Info.)

Another thing that happens with these files is if they're rewound a few seconds (skip back), it often goes to a different (earlier) place than it should. That also happened with Rockbox on the Sansa Clip with occasional files, but that never had the pausing and slow wps issue.

I took one of those problem files and just sent it through Audacity, exporting it with the same settings -- 128 Kbps, constant bit rate -- and put it back on the device. Once I did that, the file didn't have the issue, and Show Track Info read 128 Kbps, not 127 Kbps.

So I'm nearly sure it's something to do with those files being read incorrectly. I've double-checked those files on my machine, and according to mediainfo (linux command line tool) they seem to be 128 Kbps, but just aren't being read that way by Rockbox. It could be a problem with the files themselves, but they're coming from some national broadcasters, so I'm assuming they're doing things well enough, and the files seem to be without issue when being read on a computer (i.e. no 127 Kbps issue). If possible, I'd rather not have to send files through Audacity every time I want them to work on this device via Rockbox.

So that's that.
Title: Re: Sony NWZ-E370
Post by: pamaury on May 08, 2016, 01:28:17 PM
@mxyzptlk: that's a very interesting finding. Could you send me the file so I have a try on my device please ?
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on May 19, 2016, 03:01:59 PM
@mxyzptlk: that's a very interesting finding. Could you send me the file so I have a try on my device please ?

First, I've found some other similar issues on older sites, but they didn't have anything to do with Rockbox (or the Walkman). Looks like it was an issue for some who use Mac applications -- I think Quicktime -- to record/mix something. (What I saw was related to music, but the same issue applied.) So maybe this stems from places that use certain Mac tech to record their content?

Second, since my last post, I've tried converting with ffmpeg, avconv, and Audacity, and it doesn't make much of a difference.

Third, though, is that this has since happened with files that were originally recorded at a standard bitrate (128, 96). The thing is, though, the files that cause issues have to be one of two or three in a playlist (so Files >> Podcasts >> Name of Podcast >> multiple files in that directory). It doesn't make a difference if the playlist is automatically generated from what's in a directory or if I make it -- the same problem occurs if I'm listening to a single file from a single directory and add another file to the dynamic playlist -- if there's two or three in that dynamic playlist, the pausing/slow wps issue occurs. 

For whatever reason, when there's a load of files in a playlist (like a bunch of stories from NPR or BBC), the pausing/slow wps doesn't happen. But if it does happen, it's with files in a playlist of 2 or 3, and if the file was originally recorded at 127 bitrate, then it's pretty much guaranteed.

So that leads me to believe this is all down to how Rockbox is handling files in a playlist, particularly when there's only 2 or 3 files in that playlist.

Here's a file that was recorded at 127 -- a rugby league podcast from a radio station in Australia:
19/05/2016 Rush Hour Podcast
 (http://www.omnycontent.com/d/clips/566281f8-200e-4c9f-8378-a4870055423b/8a6b54c2-b48a-4fb5-a2bd-a4df00435a15/2e996423-b579-479b-8d16-a60b0099c931/audio.mp3?utm_source=Omny+Radio)

And here's one that wasn't recorded at 127, but still threw the pause/slow wps problem when in a playlist of two (Rockbox shows this as 96 kbps):
Rationally Speaking #115 - Maarten Boudry and Massimo On the Difference Between Science and Pseudoscience (http://traffic.libsyn.com/rationallyspeakingpodcast/rs115.mp3)
(That file was in a single directory with one other file, so two files in the playlist, and it caused the same issue.)

--------------
EDIT
--------------

Yeah, so the pause/slow wps problem definitely a playlist issue, and occurs whenever there is more than one but less than four files in a directory or in a dynamic playlist. This always occurs with files that are being read by Rockbox as 127 kbps, and almost never occurs any other time (but has at least once with the file above).

I did some experimenting, and put four files in a dynamic playlist. All were files that Rockbox shows as having a 127 kbps bitrate. All of them have given problems in the past, locking up the device and necessitating a hard reset (the file still plays, but the device becomes unusable until a hard reset or the file ends). Three of them come down as three separate 1-hour files in a 3-hour show, and the other was a different podcast.

The three have always given be trouble since I put Rockbox on the device. Always. But when I added all three to a dynamic playlist along with the fourth 127 kbps file, there were no issues.

And as noted above, this also occurred at least once with files that have a normal kbps. I've just rarely had occasion to have only 2 or 3 normal kbps files in a directory/playlist, so didn't notice it until recently, and thought it was only an issue with the 127 kbps files. (And to be clear, it doesn't always happen with normal files -- I have a two-file playlist going now, the two files are 64 kbps, and there are never any pausing/slow wps issues with them.)

So that seems to narrow it down to the way this spin of Rockbox on this device is dealing with playlists: If either the number of files in a directory or the number of files in a dynamic playlist is only 2 or 3, that seems to trigger the random pausing/slow wps issue that locks up the device, especially if Rockbox reads those files as 127 kbps instead of the standard 128 kbps.
Title: Re: Sony NWZ-E370
Post by: pamaury on May 31, 2016, 06:55:50 PM
Hi mxyzptlk,
I have been trying to reproduce the play/pause issue on the NZE-E380 with your files but no success so far... I tried to put your two files in a directory and play them, I have try to add them one by one to a dynamic playlist, but didn't trigger the bug. Do you have any specific procedure that triggers the bugs reliably and quickly ?
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on June 01, 2016, 11:52:31 AM
Hi mxyzptlk,
I have been trying to reproduce the play/pause issue on the NZE-E380 with your files but no success so far... I tried to put your two files in a directory and play them, I have try to add them one by one to a dynamic playlist, but didn't trigger the bug. Do you have any specific procedure that triggers the bugs reliably and quickly ?

Just the files that are read by Rockbox as 127 kbps when there are 2 or 3 in a playlist -- those always trigger the problem, every time. Those same files are always read as 128 kbps on the computer, but Rockbox reads them as 127.

The times are also screwy on those files: When the time reads 0:00 at the end of a file, the file isn't actually done and the time will go negative, so like -0:30, -2:10, etc. And if you skip ahead on those files, it'll actually go backwards first and then start skipping forward on repeated skips.

Normal files generally don't have that pause/slow wps issue, but on a couple of occasions, I've experienced the same problem with files at 128 kbps and with 96 kbps, and always when there were 2 or three files in a playlist -- never with 1, not with more than 3.

If I reset the device as mentioned above (in the settings, not the hard reset), then that issue doesn't happen for a short while, but always starts again after a few days use. But it's been a long time since I've done that, so I haven't reset the device and then tried deliberately triggering the playlist issue.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on June 07, 2016, 03:28:54 PM
Hi mxyzptlk,
I have been trying to reproduce the play/pause issue on the NZE-E380 with your files but no success so far... I tried to put your two files in a directory and play them, I have try to add them one by one to a dynamic playlist, but didn't trigger the bug. Do you have any specific procedure that triggers the bugs reliably and quickly ?

You got a new device, right? If you go into Files > DeviceInfo, what does it say? Mine is different than others on this thread -- mine reads

COMP.1.00.0100
PROD.1.00.0100
Title: Re: Sony NWZ-E370
Post by: pamaury on June 07, 2016, 03:54:24 PM

You got a new device, right? If you go into Files > DeviceInfo, what does it say? Mine is different than others on this thread -- mine reads

COMP.1.00.0100
PROD.1.00.0100

I am trying on NWZ-E380. What the OF displays mostly irrelevant is the sense that it depends on which version of the OF you flash (and you reflashed it to install the bootloader) and not on the hardware. Also we only really on an incredibly small piece of code of the OF to init the RAM at the beginning, if it was failing, Rockbox would not boot so it's unlikely the OF has any influence on Rockbox. But I can try to reflash my bootloader with this particular version to double check this theory. Another possibility is that there is a more subtle hardware difference between E370 and E380. Unfortunately, I don't have a E370 to test on anymore... By the way, you are running a nightly build right ?

It would be useful if anyone reading this thread could try to reproduce to problem. Maybe I simpy was unlucky in my attempt.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on June 16, 2016, 05:37:33 PM
By the way, you are running a nightly build right ?

Nightly build? I'm using the last build that was posted on this thread. (http://forums.rockbox.org/index.php/topic,43630.msg237072.html#msg237072) Is there some other build I can try? It doesn't work with the utility, the releases/dev builds don't show anything for this device, and the dedicated pages for the NWZ-370/NWZ-380 haven't been updated in three years.

If there is some nightly build I can try, I'd love to know about it.
Title: Re: Sony NWZ-E370
Post by: saratoga on June 16, 2016, 06:10:37 PM
The wiki page links to the development version:  http://build.rockbox.org/data/rockbox-sonynwze370.zip

If the port is pretty far along it might make sense to mark it as unstable and add it to the download page.

 
Title: Re: Sony NWZ-E370
Post by: pamaury on June 17, 2016, 04:44:24 AM
Saratoga is right, please use the the link provided the port status page (that he copied in his post): http://www.rockbox.org/wiki/SonyNWZE370Port (http://www.rockbox.org/wiki/SonyNWZE370Port)
I am currently away but I will take steps to move this target to unstable and make it appear in the download page, and also add support to RBUtil.
Title: Re: Sony NWZ-E370
Post by: mxyzptlk on June 30, 2016, 11:13:38 PM
Saratoga is right, please use the the link provided the port status page (that he copied in his post): http://www.rockbox.org/wiki/SonyNWZE370Port (http://www.rockbox.org/wiki/SonyNWZE370Port)
I am currently away but I will take steps to move this target to unstable and make it appear in the download page, and also add support to RBUtil.

Okay, two things:

First, I had no idea there were nightly builds available. It's not really clear on that page that the development version is new, so I thought it was an old one and hadn't looked there in months.

Second... I put the nightly build on, and it's better. All that stuff I had trouble with before -- the random pausing and the WPS dragging to a crawl, that's still happening, but it's not quite as bad with this version. When the WPS becomes unresponsive, the pause, play and volume keys still work, but the screen just stays blank. It's a step in the right direction.

(The issue is still happening, and although not as bad, it's now happening on more files when they're in a playlist of 2 or 3, not just the files that are mis-read as 127 kbps. This never happens with the OF, so I can't think of anything it could be other than a playlist issue.)

So thank you both, pamaury and saratoga, very much. I'll keep looking for nightly builds, but I guess I'm resigned to Rockbox just not always working that well on this device. But the OF is nearly unusable with podcasts, so I'll manage.
Title: Re: Sony NWZ-E370
Post by: daps on October 26, 2016, 06:25:57 PM
So I noticed that this is listed as a stable port on the homepage for Rockbox now. Doesn't that mean it should be added to the installer? I downloaded the rockbox utility to verify and it doesn't work. Is this something that will be happening soon or a mistake on the homepage?
Title: Re: Sony NWZ-E370
Post by: saratoga on October 26, 2016, 09:15:16 PM
So I noticed that this is listed as a stable port on the homepage for Rockbox now. Doesn't that mean it should be added to the installer?

No.
Title: Re: Sony NWZ-E370
Post by: daps on October 27, 2016, 07:14:13 PM
So I noticed that this is listed as a stable port on the homepage for Rockbox now. Doesn't that mean it should be added to the installer?

No.

Ok, Just wondered because the front of rockbox says the following:

Stable ports

Rockbox runs well on these players, has a complete manual and is supported by the installer:

Apple: iPod 1g through 5.5g, iPod Mini, iPod Nano 1g
Archos: Jukebox 5000, 6000, Studio, Recorder, FM Recorder, Recorder V2 and Ondio
Cowon: iAudio X5, X5V, X5L, M5, M5L, M3 and M3L
Creative: Zen Mozaic, Zen X-Fi, Zen X-Fi 3 and Zen X-Fi Style
iriver: iHP100 series, H100 series, H300 series and H10 series
MPIO: HD300
Olympus: M:Robe 100
Packard Bell: Vibe 500
Philips: GoGear SA9200, GoGear HDD16x0 and HDD63x0
Samsung: YH-820, YH-920 and YH-925
Sony: NWZ-E360, NWZ-E370 and NWZ-E380 series
SanDisk: Sansa c200, e200 and e200R series, Fuze and Fuze+, Clip, Clip+ and Clip Zip
Toshiba: Gigabeat X and F series
Title: Re: Sony NWZ-E370
Post by: saratoga on October 27, 2016, 07:37:19 PM
So I noticed that this is listed as a stable port on the homepage for Rockbox now. Doesn't that mean it should be added to the installer?

No.

Ok, Just wondered because the front of rockbox says the following:

The text you quoted has a link to the status of that port.  You can just click the link and find out what is implemented. 
Title: Re: Sony NWZ-E370
Post by: Jeff1138 on November 11, 2016, 07:50:52 AM
Hi,

Is there an alternative site to Dropbox (not downloading) for the E380 firmware?

Jeff
Title: Re: Sony NWZ-E370
Post by: pamaury on November 11, 2016, 07:58:24 AM
Hi Keff1138, I can upload it elsewhere but what is the exact problem with Dropbox? Is the link down or is the website just not working on your computer?
Title: Re: Sony NWZ-E370
Post by: Jeff1138 on November 11, 2016, 08:45:03 AM
Hi,

Thanks, please. Suspect the website is not working for me only, tried on several computers.

Jeff.
Title: Re: Sony NWZ-E370
Post by: pamaury on November 11, 2016, 08:48:31 AM
Here is a TEMPORARY link to the prebuild bootloader for the E380: https://www.pouly.fr/data/sonynwze380_rb_firmware.sb (https://www.pouly.fr/data/sonynwze380_rb_firmware.sb)
I will remove it in a few days at most.
Title: Re: Sony NWZ-E370
Post by: Jeff1138 on November 11, 2016, 08:57:47 AM
Hi,

Thanks, just downloaded. md5 of bf7154eb24d469faeb42486b8275ad56 *sonynwze380_rb_firmware.sb

Slightly OT, I also have a E354 which I suspect is not compatible with the E360, E370 and E380 ?

Jeff
Title: Re: Sony NWZ-E370
Post by: pamaury on November 11, 2016, 09:02:13 AM
Yes this is correct. The E354 is completely different but might be supported by the upcoming Sony NWZ Linux port. Stay tuned, I'll create a thread on the forum soon.
Title: Re: Sony NWZ-E370
Post by: Jeff1138 on November 11, 2016, 09:06:28 AM
Hi,

Interesting thanks

Jeff
Title: Re: Sony NWZ-E370
Post by: Jeff1138 on November 12, 2016, 12:32:51 AM
Hi,

Thanks for the help. Trying it now and its an improvement on the original firmware.

Thank you again for the time and effort that has gone into this port.

Jeff.
Title: Re: Sony NWZ-E370
Post by: kofaz on January 14, 2017, 11:06:32 PM
On this device, once enabling timestretch, there is not a way to 'activate' it in the pitch screen.  The 'home/back' button and the 'pwr/hold/option' button both do the same thing, take the player back to the WPS.  Perhaps the 'home/back' button could be used to toggle pitch changing mode.
Title: Re: Sony NWZ-E370
Post by: anotherche on June 24, 2017, 05:22:50 AM
Hello everyone! I hope that someone still supports this port. I used to participate rockbox development several years ago but now most things are forgotten and I faced a problem now when I try to use rockbox on Sony nwz-e383.

The main problem is that the player cannot boot to rockbox after boot to OF. It continues to boot to OF instead and says that I should unblock to use it. I have seen the message on this thread with the same problem but it seems remained unanswered. Just to clarify the problematic behaviour I will show actions to reproduce it:

1. boot to rockbox and use it for a while...
2. switch off (see shutting down screen, the player is switched off)
3. boot to rockbox again (just to check it still works): it still works. OK... switch off
4. boot to OF. No problem, OF works as new
5. switch off (player says that it is switched off, good buy, see you later  and so on)
6. try boot to rockbox.... Nope. It boots to OF instead and shows the hold screen (looks like it was not switched off at previous step, but went to sleep, although it clearly showed that it was down)
7. try to switch off and boot to rockbox many times. It boots OF every time from this moment on.
8. There are two ways to workaround this: to reset or to plug USB. In both cases rockbox is booting normally after that. But if to repeat #4 rockbox is not booting again until reset or USB plugging (at plugging USB rockbox usb screen showing every time, not the OF usb screen)

At first I thought that the problem appeared because I installed the rb bootloader for E370 initially instead of the one for E380 (it happened, by the way, because of very "logical" wiki page for the E383 port which says that E380 is the same as E370 and thus suggests to download E370 rb bootloader, although there is a separate bootloader for E380 in the second message of this topic which is clearly different from the bootloader for E370. strange...)
But when I changed the bootloader to that for E380 it did not help. The same behaviour still.

What can be done? Can it be a problem in the bootloader code which can be corrected? Or it is because of not correct installation of rockbox (I used the bootloaders from the second message of this topic and current development build of rockbox).
Title: Re: Sony NWZ-E370
Post by: pamaury on June 24, 2017, 05:25:32 AM
Hi,
unfortunately this is a "feature" of the OF: it does not power down, it simply shows a "Good bye" message and goes to sleep. The only way to really reboot the player are to press reset or plug USB. There is nothing than can be done, except modifying the OF.
Title: Re: Sony NWZ-E370
Post by: anotherche on June 24, 2017, 07:04:40 AM
Thank you!
The feature is awesome. Then wouldn't it be better to change the way OF is switched on? I mean to make it more complicated like "left button"+"power button" or something else to prevent an accidental OF power on and the annoying reset procedure (I'm preparing the player for a person who won't be happy with all these wander features). 
Can you please build the bootloader with the power-on keys like these if possible (and, yes, power on/off with the single button - long press of power button.. whatever reasons were to choose the play button for power on, I do not understand it). It would make me happy... Is this possible in principle for Sony? I used such "comb keys" with Cowon d2 and SanDisk Clip and it was pretty comfortable to me.
Title: Re: Sony NWZ-E370
Post by: pamaury on June 24, 2017, 08:02:52 AM
I am not sure I would call this feature awesome, it's really more trouble than anything for us.
Now, regarding the issue of the power button, I am going to quote one of my earlier posts:
Quote
Regarding the issue of using the power button to boot the device, there is a good reason why it is not the case
The long answer is that the power button (contrary to all other buttons) sends a special signal to the soc. When the soc is powered off, this signal means "enter recovery mode". So if you press if from power off, the device will boot straight to recovery mode instead of our bootloader. If USB is not plugged then the recovery mode will timeout after 2 or 3 seconds and eventually boot rockbox. So you would need to hold the power button for 3 to 4 seconds to boot: that's a VERY long time. Now you might wonder how the OF does it. The answer is that the OF never powers off, it merely goes to deep sleep and thus avoids this problem.

So basically, if I implemented booting with the power button, it would be very confusing because it would not behave as expected. I believe choosing another button is the best option. Similarly booting to the OF with power+left would cause the same problem because if you press power before left, then it will enter recovery mode (but not if you press left before power). Other combos are impossible implement because all other buttons are sensed using an ADC so one can only detect a single button press.
Title: Re: Sony NWZ-E370
Post by: anotherche on June 24, 2017, 05:02:52 PM
Thank you for the explanation. It's clear now.
But I have an idea how to improve this. What if to use a timer to wait pressing of a second key (like unblocking a key cell phone)? I will try this.
Title: Re: Sony NWZ-E370
Post by: pamaury on June 25, 2017, 10:07:32 AM
I still think this is not going to solve the problem. Let me explain in details why.
Imagine your device is powered down (for real) and you start pressing the power button:
What does that mean? It means that when the bootloader starts, the user may have been pressing the power button for anything from 0 seconds (a quick press) to ~5 full seconds, but it does not have any obvious way of knowing how long. Now, you don't want to boot immediately because if the user just pressed the power button by mistake (say in your pocket) that's unexpected, so you want to require the user to press say at least one more second. Now it means you might to need press as long as ~6 seconds to boot. I believe that's very confusing for the user.
On top of that, remember that all of this is when USB is not plugged. If USB is plugged, pressing power will go to recovery mode always, which is not what you want because you may want to use the OF USB mode sometimes. Thus using the power button to boot OF with USB is a no-go. That would mean a different combo for USB vs non-USB. Again very confusing.
Title: Re: Sony NWZ-E370
Post by: anotherche on June 26, 2017, 06:12:46 AM
Oh no, I did not mean to use power button for this. I've already realized from you explanation that it's no use to utilize power button to power on. I meant to use 1 second back button followed by, say, short left (pressed within 1 sec timeout). I've even tried to code it just after I restored the development environment. But something is wrong in my code - with the modified bootloader image keys are behaving just as with your bootloader.

My code of boot_decision in /rbutil/mkimxboot/dualboot/dualboot.c is (adc value range for LEFT is guessed from button-nwz.c):

Code: [Select]
static int boot_decision(int context)
{
    setup_lradc(0); // setup LRADC channel 0 to read keys
#ifdef SONY_NWZE360
    HW_PINCTRL_PULLn_SET(0) = 1 << 9; // enable pullup on hold key (B0P09)
#endif
    /* make a decision */
    int decision = local_decision();
    /* in USB or alarm context, stick to it */
    if(context == CONTEXT_USB || context == CONTEXT_RTC)
    {
        /* never power down so replace power off decision by rockbox */
        return decision == BOOT_STOP ? BOOT_ROCK : decision;
    }
    /* otherwise start a 1 second timeout. Any decision change
     * will result in power down */
    uint32_t tmo = HW_DIGCTL_MICROSECONDS + 1000000;
    while(HW_DIGCTL_MICROSECONDS < tmo)
    {
        int new_dec = local_decision();
        if(new_dec != decision)
            return BOOT_STOP;
    }

    /*My addition to code. Should wait short "left" within 1 sec timeout. In theory...*/
    if (decision == BOOT_OF)
    {
tmo = HW_DIGCTL_MICROSECONDS + 1000000;
while(HW_DIGCTL_MICROSECONDS < tmo)
{
int val = read_lradc(0);
if(val >= 2210 && val < 2310)
return BOOT_OF;
}
return BOOT_STOP;
    }
    return decision;
}

I'm not sure if this is the place responsible for the real decision of boot choice though. Is it?
Title: Re: Sony NWZ-E370
Post by: pamaury on June 26, 2017, 07:07:20 AM
Ok, my mistake :) Your ADC value does not look right, it should be (*)
Code: [Select]
if(val >= 2150 && val < 2250)See end of post for explanation.

I'll test your code tonight but maybe you did not properly recompiled everything. Here is a way to make sure:
make sure you recompile rbutil/mkimxboot/dualboot stub
Code: [Select]
make -C /path/to/rbutil/mkimxboot/dualboot clean && make -C /path/to/rbutil/mkimxboot/dualbootmake sure you recompile rbutil/mkimxboot
Code: [Select]
make -C /path/to/rbutil/mkimxboot clean && make -C /path/to/rbutil/mkimxbootthen regenerate the bootloader image
Code: [Select]
/path/to/rbutil/mkimxboot/mkimxboot -i /path/to/firmware.sb -b /path/to/bootloader-nwze370.sony -o firmware.sbboot to OF USB node (very important), put new firmware.sb at the root of the device, eject, boot to OF to trigger upgrade. It should display an upgrade screen for a few seconds I think.

IF YOU CANT REBOOT TO OF (because your dualboot code broken OF combo): make sure you have a recent version of Rockbox, go to Debug screen > HW info > dualboot. It should show something like 'cap boot: yes' and 'boot: normal'. Then press up/down to change it to 'boot: of' (to boot to OF) or 'boot: updater' (to boot straight into upgrade mode with firmware.sb at root of the device).

(*) ADC value explanation: the ADC is relative to VDDIO, because the button is a resistor dividor using VDDIO. In sony-nwc.c, the line
Code: [Select]
[I_VDDIO] = IMX233_BUTTON_(VDDIO, VDDIO(3630), "vddio"), /* we need VDDIO for relative */means 'the values that follow are the ones if VDDIO was exactly 3.630V, but you need to rescale based on VDDIO'. Now the thing is that early at boot time, VDDIO is at 3.5V I think. Let's take an example: the table says the 'play' button has a value of 1.536V if VDDIO=3.630V. Now if VDDIO=3.5V like at boot time, then the actuall value will be 1.536/3630*3500=1.48V and indeed the dualboot code is
Code: [Select]
if(val >= 1420 && val < 1520)notice how the range [1420,1520] is centered on 1480. If you want the left button, that's 2.290/3630*3500=2.207V

Now if you have a doubt, there is an easy way to try it: go to debug screen, HW info > button. It shows the ADC value and VDDIO value. If you press up/down, it will change VDDIO by 0.1V inc/dec. Thus you can set VDDIO to 3.5V and obvserve how the values change with it (Don't put VDDIO too low or high, else your device will crash ;) )
Title: Re: Sony NWZ-E370
Post by: anotherche on June 27, 2017, 12:22:12 PM
I've made it at last! The code is working with the ADC range you suggested for left button.
Title: Re: Sony NWZ-E370
Post by: ueguRah0 on July 04, 2017, 01:14:24 PM
First of all, thank you for making this port available. I could have posted this a few hours earlier if the Wiki (https://www.rockbox.org/wiki/ImxInstall#Prebuilt_bootloaders (https://www.rockbox.org/wiki/ImxInstall#Prebuilt_bootloaders)) didn't claim that the bootloader for my NWZ-E384 was the same as that for the 370 series :)
SonyNWZE380Same as SonyNWZE370
Could this be changed, perhaps? Eventually I ended up in this thread and successfully used the bootloader from the second post.

Things seem to work fine with the exception of the FM Radio (known issue, I reckon). Finally my daughter can see the 40 tracks of her favorite audiobook in the correct order!

Title: Re: Sony NWZ-E370
Post by: pamaury on July 04, 2017, 02:24:47 PM
First of all, thank you for making this port available. I could have posted this a few hours earlier if the Wiki (https://www.rockbox.org/wiki/ImxInstall#Prebuilt_bootloaders (https://www.rockbox.org/wiki/ImxInstall#Prebuilt_bootloaders)) didn't claim that the bootloader for my NWZ-E384 was the same as that for the 370 series :)
SonyNWZE380Same as SonyNWZE370
Could this be changed, perhaps? Eventually I ended up in this thread and successfully used the bootloader from the second post.

Things seem to work fine with the exception of the FM Radio (known issue, I reckon). Finally my daughter can see the 40 tracks of her favorite audiobook in the correct order!

Hi, indeed you are correct, I will fix the wiki! And yes FM radio is known issue, the tuner chip used in this player is particularly tricky to work with.
Title: Re: Sony NWZ-E370
Post by: rickyb on October 02, 2018, 12:29:10 PM
Hi,
install instruction for the bootloader are here: http://www.rockbox.org/wiki/SonyNWZE370Port (http://www.rockbox.org/wiki/SonyNWZE370Port) and to install the main binary, download http://build.rockbox.org/data/rockbox-sonynwze370.zip (http://build.rockbox.org/data/rockbox-sonynwze370.zip) and extract it at the root of the device. The bootloader has working USB mode so you can always upload the firmware once you have installed the bootloader.

Hi,

I am having major problems installing rockbox on my sony e383.
first of all theres no manual, the link is dead.

i copied firmware.sb (renamed it already) to MP_ROOT in the sony drive.

after from my understanding i unplug the player and then plug it back in holding hte power button for 2 seconds.  the screen goes black and then the typical sony usb connected screen shows up.

Im assuming rockbox utility doesnt work because i dont see sony on the list, and i saw on one of the pages that there was something separate for sony.

this is really difficult.
Title: Re: Sony NWZ-E370
Post by: Milardo on October 03, 2018, 01:31:10 AM
Hi,
install instruction for the bootloader are here: http://www.rockbox.org/wiki/SonyNWZE370Port (http://www.rockbox.org/wiki/SonyNWZE370Port) and to install the main binary, download http://build.rockbox.org/data/rockbox-sonynwze370.zip (http://build.rockbox.org/data/rockbox-sonynwze370.zip) and extract it at the root of the device. The bootloader has working USB mode so you can always upload the firmware once you have installed the bootloader.

Hi,

I am having major problems installing rockbox on my sony e383.
first of all theres no manual, the link is dead.

i copied firmware.sb (renamed it already) to MP_ROOT in the sony drive.

after from my understanding i unplug the player and then plug it back in holding hte power button for 2 seconds.  the screen goes black and then the typical sony usb connected screen shows up.

Im assuming rockbox utility doesnt work because i dont see sony on the list, and i saw on one of the pages that there was something separate for sony.

this is really difficult.

Hi, looks like you have to download this one bootloader:

https://www.dropbox.com/s/n3hrzdy8dfk5140/sonynwze380_rb_firmware.sb?dl=0

Next, make sure when you plug your player into your pc it shows up as mass storage device. Example below how you might put it into that mode.

Check your device letter in "My Computer"/"This PC". For example: WALKMAN (H:)
If you don't see any letter, that probably means your device is set in MTP mode instead of MSC mode. In this case, open the Device Manager, under 'Portable Devices' you should see WALKMAN. Right-click on it, select "Update Driver Software.." then "Browse my computer for driver software" then "Let me pick from a list of device drivers on my computer". Choose "USB Mass Storage Device" and click on "Next".

Next, copy the that file you downloaded and copy it directly to the main area of the device, example, if you plug in player and double click on it to see its contents: that is where you will put the file you downloaded.

Next, RENAME the file to firmware.sb

Next, safely eject device from computer.

Next, reboot/restart or power off you player and power it on again. I'm not sure from the instructions whether you need to boot to your original sony firmware or not. I suppose you can try and wait to see if upgrade screen comes up and if it doesn't try to boot to original firmware and then see if upgrade screen comes up.

Next, wait until the installation is finished, it can take several minutes. Do not reset your player during that time.

Next, i suppose after the bootloader has finished installing, you will need to reconnect your player to your pc and download a version like this one from the dev build page

https://build.rockbox.org/data/rockbox-sonynwze370.zip

Next, extract the .rockbox folder from it and copy the folder to the same the main area of your device like what i mentioned above. Disconnect player from pc and if you might need to power on and off to get rockbox firmware. Hope this helps.
Title: Re: Sony NWZ-E370
Post by: rickyb on February 07, 2019, 12:14:02 PM
hi guys i really need some help, my rock box sony nwz e383 is not charging properly.  also i noticed last time i used rockbox, it wasnt playing music properly.

anyone know how to fix this?
Title: Re: Sony NWZ-E370
Post by: Thoranaga on February 08, 2019, 04:18:42 AM
 Please give more details about your problem !
Title: Re: Sony NWZ-E370
Post by: corvin on March 11, 2019, 03:47:24 AM
Hi,

I installed rockbox to my player, it is fine and it works with some minor issues with buttons and charging. The thing is, that I am not sure if the issues are connected with rockbox, and I would like to come back to original bootloader/firmware now to test. Is there a howto to reflash original firmware/bootloader? Please help!
Title: Re: Sony NWZ-E370
Post by: Thoranaga on March 14, 2019, 08:57:33 AM
You can still  boot to original firmware :
"By default it will boot rockbox. The bootloader will boot the OF if you hold the back button for at least one second."
Title: Re: Sony NWZ-E370
Post by: corvin on April 08, 2019, 03:40:15 AM
OK. I know I can boot into original firmware, but I was asking about reflashing it to original. Is it possible? and if it is, how to do it?

Regards,
Title: Re: Sony NWZ-E370
Post by: saratoga on April 08, 2019, 12:36:31 PM
OK. I know I can boot into original firmware, but I was asking about reflashing it to original. Is it possible? and if it is, how to do it?

Take a look at the uninstall directions in the wiki.