Author Topic: S7800B 1.6GHz (Tweaked) Minimal ROM w/Fixes (by WebClaw)  (Read 75876 times)

WebClaw (OP)

  • Posts: 385
S7800B 1.6GHz (Tweaked) Minimal ROM w/Fixes (by WebClaw)
« on: January 22, 2014, 12:47:38 am »
Current Version: 1.02 w/over 5000+ downloads:

This is a minimal tweaked 1.6GHz ROM - (soft-brick free) for all known JXD S7800B devices.
1.1.4 Base @ 1.6GHz (all S7800B devices - including the initial batch of 1200MHz units).

Clock / Performance Settings:

1.6GHz Max CPU 300Mhz Min CPU
533Mhz Max GPU (req. webclaw-boot.img) 50MHz Min GPU

As of 1.0.2, the default 1GB userdata (aka: data) partition changed to 2GB to allow for more applications to be installed.

This custom ROM scores ~19488 w/TuTu benchmark.

Quote
Download v1.02:
http://www.cloudstor.es/file/m1_OTMyNA/

Code: [Select]
File: webclaw1-02.img
CRC-32: 94967231
MD4: 8c76ca324e714e2840681e442bccfceb
MD5: 60d9674f05ffda94d8cf3c6411777fc6
SHA-1: 4f84260f47171eed75acea10372f6cf58cd78ec8
CPU Speeds Table / Freq:
MHz     mV
312     925
504     950
816     1000
1008    1075
1200    1200
1416    1250
1608    1350

Battery Life:
1.6GHz Battery Life 6.6 Hours (StressFree 12)
1.4GHz Battery Life 6.8 Hours (StressFree 12)

Customizations / Fixes:
Root has been fixed and SU binary has been updated.
Updated drivers (video and wifi) in {webclaw-boot.img} - thanks to JXD support.

Compiled with SDK and http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-kernel-device-drivers/

This is a minimal ROM release, I have removed the applications that have no business being installed by default or those that didn't work (however those to keep the GUI working remain - eg: Phone.apk).

Packages Excluded:
BooksProvider.apk
Chrome.apk
ChromeBookmarksSyncAdapter.apk
Galaxy4.apk
Gmail.apk
HoloSpiralWallpaper.apk
MagicSmokeWallpapers.apk
OpenWnn.apk
PhaseBeam.apk
PinyinIME.apk
RkApkinstaller.apk
RKEBookReader.apk
RkExplorer.apk
SuperSU.apk
Talk.apk
WifiDisplay.apk
KeyMappingUpdater.apk
Mms.apk
GoogleEars.apk
(+anything else illegal)


Known Issues:
vSync and HDMI still has the frame drop issues (address mark in the kernel is not the same). Problem cannot be fixed on JXD S7800B units until JXD releases the kernel source (or releases a new kernel.img).

Installation:
1. Download Rockchip Batch Tool 1.7: http://www.cloudstor.es/file/m1_OTM0OA/
2. Connect your S7800B to your computer via USB 2.0 (avoid USB 3.0 ports).
3. Power up your device and run the file RKBatchTool.exe (requires administrator) on your computer.
4. You'll note the tool shows a pink color indicating the status (device is connected).
5. Click the "Switch" button and your device will reboot. Install drivers via Device Manager.
6. Press the "Reset" button your device, wait for it to boot up.
7. Again, click the "Switch" button, this time the area above will turn green - programming mode ready (if it doesn't you didn't install the driver).
8. Select the desired flash image file (.img) and press "Restore".

Remember to backup /data prior to flashing should you want to keep those save-games ;-)

RAM OC Note:
I've been asked why the RAM was not overclocked. I have created 720MHz versions and 667MHz versions - both of which actually slow down the unit causing poor benchmark / performance. RAM needs to be timed to the GPU - changing this timing actually does the opposite of what you would think it would do.
« Last Edit: April 06, 2014, 08:27:35 pm by WebClaw »

mitcher78

  • Posts: 263
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #1 on: January 22, 2014, 01:36:36 am »
Is this the 1.6 Ghz. firmware available on the JXD website (1/16/2014)?

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #2 on: January 22, 2014, 01:41:08 am »
No. Wouldn't be much point to reposting that.

pursued_ghost

  • Posts: 7
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #3 on: January 22, 2014, 02:06:08 am »
I am eagerly awaiting.

darklight1138

  • Posts: 574
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #4 on: January 22, 2014, 02:17:26 am »
Maybe I am just sick or something but is this official as in from JXD?

Oh I can't decide whether to keep tan's which is working great or try this out. It's cool we have options though.

Will this have a better battery indicator?
GP2X Wiz
GPH Caanoo
Yinlips YDPG16
JXD S7800b (WebClaw 116.5 ROM)
Sony PSP-3000

mitcher78

  • Posts: 263
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #5 on: January 22, 2014, 02:46:02 am »
Ok, so this is an optimization, mmmmm!

What do you mean by saying that SetCPU can not change speed? I mean, how then to change governors? Can we use SetCPU or similar apps to change governors, or is it not necessary?

By the other way, if this is a 1.6 Ghz. firmware version, why do you quote the battery life for the CPU set to 1.8 Ghz.? What is the top speed then?

Thanks for the work!
« Last Edit: January 22, 2014, 02:50:36 am by mitcher78 »

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #6 on: January 22, 2014, 03:30:04 am »
A few friends and I wrote a program that would test the life of the battery if Pi (taken from SuperPi) was calculated. The idea here was to determine the battery draw. In any regard, we tested at 1.8GHz, 1.6GHz, and 1.4GHz. 1.8GHz was not stable and killed the battery much faster than expected - so we defaulted to the 1.6GHz. Battery life between 1.4GHz and 1.6GHz was nil.

And no, this is not the 1.6GHz firmware released by JXD - we simply contacted them to help us out on a few things which his why their name was referred. I am well aware of the stock 1.6GHz release.

You can install any aftermarket software you want, that said the governors are set in the .conf and not by a GUI like SetCPU. You can install SetCPU if you want; however the goal was a 1.6GHz released with some small tweaks in a minimalist package - hence the file size reduction.
« Last Edit: January 22, 2014, 03:43:52 am by WebClaw »

Joe Sixpack

  • Posts: 1413
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #7 on: January 22, 2014, 03:32:47 am »
What firmware was your base, 1.1.4?

What freq's are available? (Not max}

I'm assuming this accomplishes it the same way tan's patched kernels do?
What was changed to allow the 1.4 units to go above that? Voltage bump?

What do you mean by updated drivers? Like what?

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #8 on: January 22, 2014, 03:40:39 am »
Base was 1.1.6 - as stated in my post.
36000,54000,72000,126000,144000,294000,364500,500000,600000,720000, etc. You can review system.img if you want to take a peek.
/sys/devices/system/cpu/* (just cp or rename the freq you want to test).

Yes voltage bump - I don't use Tan's ROM's so I can't speak for him / methods. I was involved with another s7800b project.

mali and wifi have been updated (which I assume TAN also did as per his post)
« Last Edit: January 22, 2014, 03:59:35 am by WebClaw »

Joe Sixpack

  • Posts: 1413
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #9 on: January 22, 2014, 04:00:39 am »
Ah, well the thing is I'm pretty sure the one the call 1.1.6 is actually 1.0.9 but with the bump to get newer units above 1.4ghz.
Can you post what voltages youre using in comparison to stock?

The Mali driver fix the vsync frame drop issue on video's?

darklight1138

  • Posts: 574
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #10 on: January 22, 2014, 04:54:40 am »
The Mali driver fix the vsync frame drop issue on video's?

I think it means he overclocked the Mali to 600mhz like Tan did. It would be great to have that frame-drop bug fixed though.
GP2X Wiz
GPH Caanoo
Yinlips YDPG16
JXD S7800b (WebClaw 116.5 ROM)
Sony PSP-3000

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #11 on: January 22, 2014, 05:17:12 am »
Update drivers (mali and wifi); overclocked from stock (actually underclocked) to 533MHz - 500Mhz is max clock (rated by manf.) on this chip, we've seen too many issues with 600Mhz. vSync issues should be addressed with kernel patch (rkpatchomatic-tool) however I've never actually used stock JXD ROM long-term.

mali_dvfs=50,100,133,160,200,266,400,533 @ Performance govern.
Ref: boot.img & system.img

CPU was overclocked using: rkpatchomatic-tool (no source kernel is provided by JDX) - without the source there is really no "true" way to overclock (no access to CPU tables). For this reason 1.1.6 is not 1.0.9.
« Last Edit: January 22, 2014, 05:32:02 am by WebClaw »

stpat

  • Posts: 422
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #12 on: January 22, 2014, 03:38:42 pm »
Is it finished uploading yet? :)

stpat

  • Posts: 422
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #13 on: January 22, 2014, 03:41:27 pm »
CPU was overclocked using: rkpatchomatic-tool (no source kernel is provided by JDX) - without the source there is really no "true" way to overclock (no access to CPU tables). For this reason 1.1.6 is not 1.0.9.

I'm confused by this, can you elaborate? I thought 1.1.6 was really just a tweaked 1.0.9 to allow people to get their newer units about 1.4ghz. That's not the case?

Point being my understanding was that for some reason JXD tweaked 1.0.9 to make 1.1.6 (used 1.0.9 as the base) rather than 1.1.4 (and therefore 1.1.6 was missing any fixes that went in between 1.0.9 and 1.1.4).

Did that make sense? :)

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #14 on: January 22, 2014, 04:36:24 pm »
1.0.9 = Base for 1.1.4 without CPU freq mods or voltage edits).
1.0.9 = Base for 1.1.6 with CPU (freq mods and voltage edits) with 1.1.4 root fix.
1.1.6 = Fixed root issue (later fixed in 1.0.9 unofficial) with 1.1.4.

So 1.0.9 (with fixed root) is not the base for 1.1.6 (unless JXD just specifically addressed this problem which they didn't as it's missing a SU binary).

I am uploading at work now, @home was too slow.
« Last Edit: January 27, 2014, 03:20:56 am by WebClaw »

Kev7112001

  • !
  • Posts: 118
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #15 on: January 22, 2014, 05:32:07 pm »
1.0.9 = Base for 1.1.4 without CPU freq mods or voltage edits).
1.1.4 = Base for 1.1.6 with CPU (freq mods and voltage edits).
1.1.6 = Fixed root issue (later fixed in 1.0.9 unofficial) with 1.1.4.

So 1.0.9 (with fixed root) is not the base for 1.1.6 (unless JXD just specifically addressed this problem).

I am uploading at work now, @home was too slow.

is there a way to up the gpu voltage

mitcher78

  • Posts: 263
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #16 on: January 22, 2014, 06:05:40 pm »
A few friends and I wrote a program that would test the life of the battery if Pi (taken from SuperPi) was calculated. The idea here was to determine the battery draw. In any regard, we tested at 1.8GHz, 1.6GHz, and 1.4GHz. 1.8GHz was not stable and killed the battery much faster than expected - so we defaulted to the 1.6GHz. Battery life between 1.4GHz and 1.6GHz was nil.

And no, this is not the 1.6GHz firmware released by JXD - we simply contacted them to help us out on a few things which his why their name was referred. I am well aware of the stock 1.6GHz release.

You can install any aftermarket software you want, that said the governors are set in the .conf and not by a GUI like SetCPU. You can install SetCPU if you want; however the goal was a 1.6GHz released with some small tweaks in a minimalist package - hence the file size reduction.

Sorry for my ingnorance, but I do not get it. I mean, if governors are set in .conf, does that mean thet we must edit the file to change governors? Is it not better to allow the use of SetCPU, that is easier and allows profiles and so on? I mean, if I want change from "conservative" to "on demand" (for example), must I edit the .conf?

mitcher78

  • Posts: 263
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #17 on: January 22, 2014, 06:13:55 pm »
1.0.9 = Base for 1.1.4 without CPU freq mods or voltage edits).
1.1.4 = Base for 1.1.6 with CPU (freq mods and voltage edits).
1.1.6 = Fixed root issue (later fixed in 1.0.9 unofficial) with 1.1.4.

So 1.0.9 (with fixed root) is not the base for 1.1.6 (unless JXD just specifically addressed this problem).

I am uploading at work now, @home was too slow.

is there a way to up the gpu voltage

On my experience, it is totally unnecessary to go further 1.6 Ghz. It is a placebo, it does nothing, you will no see differences with 1,8 Ghz but a faster battery drain and instability issues.

Raise max speed had more sense on the previos model (S7300), in which CPU clock was stucked at 1.2 Ghz. being a machine of 1.5 Ghz. That was a 20% difference. In the case of this S7800, going from 1.6 to 1.8 Ghz. is an increase of only 11%, and by the other way 1.6 Ghz. should be enough to run any game/app.

WebClaw (OP)

  • Posts: 385
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #18 on: January 22, 2014, 06:14:46 pm »
I clearly didn't explain very well.

The values in the .conf files are by default statically set. Your more than welcome to use SetCPU (or any other program that does the same thing) to change the governors at will. As previously mentioned the set CPU speed in this image is 1.6GHz with the same voltages provided by JXD (with the exception of the CPU and DDR - hence the 533GHz GPU clock vs. the stock underclock).

The goal of this package was to define a profile that would be consistently used. Power users (or those familiar with SetCPU) can go nuts and configure as needed (it's just a pretty GUI for the files anyway). I did not include SetCPU in the image for this reason. If SetCPU is loaded you can change the governors  and frequencies within the set range as indicated in the .conf and patched kernel.

Hope that makes more sense.

@mitcher78, I complete agree. The GPU is really the slowdown on the S7800B and not the CPU. The MALI 400 is an older processor despite their efforts to simply throw more cores into it.
« Last Edit: January 22, 2014, 06:20:16 pm by WebClaw »

Kev7112001

  • !
  • Posts: 118
Re: S7800B 1.6GHz (Tweaked) Minimal Firmware w/Fixes (by JXD)
« Reply #19 on: January 22, 2014, 06:21:41 pm »
I clearly didn't explain very well.

The values in the .conf files are by default statically set. Your more than welcome to use SetCPU (or any other program that does the same thing) to change the governors at will. As previously mentioned the set CPU speed in this image is 1.6GHz with the same voltages provided by JXD (with the exception of the CPU and DDR - hence the 533GHz GPU clock vs. the stock underclock).

The goal of this package was to define a profile that would be consistently used. Power users (or those familiar with SetCPU) can go nuts and configure as needed (it's just a pretty GUI for the files anyway). I did not include SetCPU in the image for this reason. If SetCPU is loaded you can change the governors  and frequencies within the set range as indicated in the .conf and patched kernel.

Hope that makes more sense.

@mitcher78, I complete agree. The GPU is really the slowdown on the S7800B and not the CPU. The MALI 400 is an older processor despite their efforts to simply throw more cores into it.

right thats why i would like it faster im a modder im not worried about battery life thats why i like to have higher clocks on the gpu