Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  New cheap portable player in the market
« previous next »
  • Print
Pages: 1 [2] 3 4 ... 9

Author Topic: New cheap portable player in the market  (Read 11537 times)

Offline pmp4

  • Member
  • *
  • Posts: 46
    • youtube.com/@portablemp4
Re: New cheap portable player in the market
« Reply #15 on: August 05, 2022, 04:11:06 PM »
Here the firmware uncompressed/splitted using bzpwork (in the files res.bin ps.bin kern.bin usr.bin)

https://github.com/ilyazx/bzpwork

https://www.mediafire.com/file/qsuoqkevd42wtel/portableplayer.zip/file

And here a little demo extracting res.bin using binwalk: The image of welcome when start the device.

* welcome.gif (8 kB, 128x160 - viewed 55 times.)
Logged
https://www.youtube.com/@portablemp4

Offline pmp4

  • Member
  • *
  • Posts: 46
    • youtube.com/@portablemp4
Re: New cheap portable player in the market
« Reply #16 on: August 05, 2022, 04:30:24 PM »
Some info from a strings kern.bin:

Platform Version: MOCOR_12C.W13.04.23.BTDialer.20_Release
Project Version:   6531E_PCB_V1.0
A80_MK_220_21KEY_LCD(XXTCTC7735S_SJCTC9106_JLCTC3021_XXT9108BOE)_V1.0
BASE  Version:     BASE_SVN
HW Version:        6531E_PCB_V1.0
11-29-2021 22:09:15
Logged
https://www.youtube.com/@portablemp4

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #17 on: August 05, 2022, 04:33:21 PM »
Pmp4 awesome work
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #18 on: August 05, 2022, 04:41:11 PM »
I'm on mobile atm but if that's right here is a datasheet https://datasheetspdf.com/mobile/1455703/Spreadtrum/SC6531E/1

It says 32Mbits nor flash and 32Mbits pSRAM internal that's 4 megabytes
Each which is not a whole lot

But it does say up to 128 Mbits is supported embedded
Which is 16 megabytes but don't know yet I'd assume 4megabytes
« Last Edit: August 05, 2022, 05:28:52 PM by Bilgus »
Logged

Offline pmp4

  • Member
  • *
  • Posts: 46
    • youtube.com/@portablemp4
Re: New cheap portable player in the market
« Reply #19 on: August 06, 2022, 05:53:39 AM »
could rockbox run in a 4 MB ram device?
Logged
https://www.youtube.com/@portablemp4

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9275
Re: New cheap portable player in the market
« Reply #20 on: August 06, 2022, 07:57:03 AM »
The sansa clip has about 2.3MB, although it helps that it's a monochrome display. 4 MB should be ok for a color screen.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #21 on: August 06, 2022, 08:36:01 AM »
note he didn't say the clip+ that was the original clipv1
I seem to remember ARM922T where as this is the ARM926E

it will be  a slightly limited experience but yes rockbox should run on it!!

ARM926EJ-S with ARM Jazelle technology, which enables the direct execution of 8-bit Java bytecode in hardware, and an MMU
Support 32-bit ARM and 16-bit Thumb instructions
« Last Edit: August 06, 2022, 08:46:35 AM by Bilgus »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9275
Re: New cheap portable player in the market
« Reply #22 on: August 06, 2022, 03:03:21 PM »
Yes the original clip has 2MB of SDRAM vs. 8 MB of SDRAM on the Clipv2 and plus.  Both have additional SRAM.  The processors are quite similar except for performance, with the 9E processors having the faster multiplier and the v5E DSP extensions, which a few of the codecs use to save power. 
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #23 on: August 06, 2022, 07:50:30 PM »
Unfortunately outside of baidu and cdsn (need wechat to download) I can't seem to find any headers so I guess one of the first orders of business will be going through that datasheet and grabbing all the hardware registers and offsets and start building up a toolchain for it

Pmp4 have you verified that you can repackage the extracted bins and write back to the device?
Logged

Online bahus

  • Member
  • *
  • Posts: 135
Re: New cheap portable player in the market
« Reply #24 on: August 07, 2022, 05:04:56 AM »
Quote from: Bilgus on August 06, 2022, 07:50:30 PM
Unfortunately outside of baidu and cdsn (need wechat to download) I can't seem to find any headers

Not sure if it's useful but some Spreadtrum 6531 related sources can be found here:
https://cloud.mail.ru/public/8EPC/b3kQ4AuRf

Mirror: https://mega.nz/file/cf5BXBoT#_5onK5_GHdjcykgo47AmtmTdgT7aWWO-GJWYri_jHa8
« Last Edit: August 07, 2022, 05:54:52 AM by bahus »
Logged

Offline pmp4

  • Member
  • *
  • Posts: 46
    • youtube.com/@portablemp4
Re: New cheap portable player in the market
« Reply #25 on: August 07, 2022, 09:14:21 AM »
Quote from: Bilgus on August 06, 2022, 07:50:30 PM
Pmp4 have you verified that you can repackage the extracted bins and write back to the device?

I didnt try to flash anything yet.

I'm trying to understand firmware structure first.

I found this url with "Spreadtrum Research Download Tool" source code (2.9.7007 version)

https://files.elektroda.pl/798976,researchdownload_r2.html

I'm dont know yet if it can be useful.

"Spreadtrum Research Download Tool" uses another format of firmware, in .pac files.

Once I understand it better, I'll try a flash, it would be cool change intro/end logo or menu icons.

If it's possible I'd like to keep using open source free tools like bzpwork and uniflash software.
uniflash allows flash write, and bzpwork allows lzma compress.
Logged
https://www.youtube.com/@portablemp4

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #26 on: August 07, 2022, 10:27:36 AM »
bahus yes that appears to contain the headers
It was quite a large amount of files but I think I have the relevant part contained here
http://www.mediafire.com/file/j4e6xx28fhbrzg2/6531_chip_drv.zip

there appear to be several versions of each with different base addresses so might still need some figuring
Logged

Offline pmp4

  • Member
  • *
  • Posts: 46
    • youtube.com/@portablemp4
Re: New cheap portable player in the market
« Reply #27 on: August 07, 2022, 03:09:18 PM »
Quote from: bahus on August 07, 2022, 05:04:56 AM
Not sure if it's useful but some Spreadtrum 6531 related sources can be found here:

Huge find.

It seems almost the same version firmware than player complete source code, with a lot of extra tools.

with the tool /MOCOR_12C.W13.04.23.BTDialer.20_Source/tools/DEBUG_TOOL/ResOver/Bin/ResOver.exe I can view the res.bin file (and it can modify too).

As example I put here the first 4 menu icons, extracted from res.bin using ResOver.exe

* IMAGE_MAINMENU_ICON_AUDIO_PLAYER.PNG (1.64 kB, 33x33 - viewed 386 times.)

* IMAGE_MAINMENU_ICON_VIDEO_PLAYER.PNG (1.9 kB, 33x33 - viewed 384 times.)

* IMAGE_MAINMENU_ICON_RECORD.PNG (1.36 kB, 33x33 - viewed 376 times.)

* IMAGE_MAINMENU_ICON_FM.PNG (1.22 kB, 33x33 - viewed 382 times.)
Logged
https://www.youtube.com/@portablemp4

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 931
Re: New cheap portable player in the market
« Reply #28 on: August 12, 2022, 10:48:00 PM »
just an update

I haven't been able to flash the dump i made back onto the device thus far

the -wf switch just results in a timeout

I'm not sure if it needs a different command or just needs a lomger timeout
but i'll keep trying
Logged

Online bahus

  • Member
  • *
  • Posts: 135
Re: New cheap portable player in the market
« Reply #29 on: August 13, 2022, 07:15:41 AM »
Quote from: pmp4 on August 07, 2022, 09:14:21 AM
I found this url with "Spreadtrum Research Download Tool" source code (2.9.7007 version)

That's some outdated version. Latest version can be downloaded from official web-site https://spdflashtool.com/category/research-tool. Tutorial how to use it: https://spdflashtool.com/tutorial/use-spd-research-tool

I also saw instruction how to flash FullFlash .bin file with this tool (by default it requires .pac) https://4pda.to/forum/index.php?showtopic=625677&st=20#entry61083373
Though it's in Russian (Краткий гайд по прошивке китайских телефонов на базе SpreadTrum SC6531) - let me know if you need it and have any translation troubles.
« Last Edit: August 13, 2022, 08:32:46 PM by bahus »
Logged

  • Print
Pages: 1 [2] 3 4 ... 9
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  New cheap portable player in the market
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.043 seconds with 16 queries.