Latest product reviews
ARCHOS 50 Diamond
ARCHOS GamePad2
ARCHOS
Smartphones
ARCHOS
TV Connect
ARCHOS 101 XS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288

 Please donate to support OMA and CrewRKTablets firmware work, thank you !

sp_Feed sp_TopicIcon
Brightness FIX
Simple hack for fixing brightness on some RK30 devices
Avatar
uncoder
New Member
Forum Posts: 9
Member Since:
2013/10/16
sp_UserOfflineSmall Offline

Thanks Received: 3
1
2013/11/22 - 13:57
sp_Permalink sp_Print sp_EditHistory

Hi guys!

Sorry for my bad english :)

I installed 1.3.3 version on my GoClever R83.2 (Mediacom 875S2) and brightness adjustment not worked for me because system trying to write brightness level to 

/sys/class/backlight/rk28_bl/brightness

istead of

/sys/class/backlight/rk30_bl/brightness

 

I have mounted system.img to my file system and using grep I found this path using in compiled library /system/lib/hw/lights.rk30board.so

 

Then using HEX editor I replace only two bytes (in text: 28 -> 30) and IT WORKS!!!

 

Now I have not time to build patch, but may be one of you can do it? :)

 

Download and replace your lights.rk30board.so

OR

Flash your device used patched system.img (1.3.3 Oma's image. only this lib replaced)

 

ACHTUNG!!! Don't forget: you must set permissions to this file!

it possible from terminal or via adb: chmod 777 /sys/class/backlight/rk30_bl/brightness :)

 

Enjoy!

Tomorrom I will try to build patch for using via CWM

The following users say thank you to uncoder for this useful post:

Alucard1989pl, admin, Oma7144
Avatar
Oma7144

Moderator

Firmware Guru
Forum Posts: 5783
Member Since:
2012/10/06
sp_UserOfflineSmall Offline

Thanks Received: 1281
2
2013/11/22 - 15:57
sp_Permalink sp_Print

Cool. Well done!

I can do a CWM fix if you are ok with that?

 

- Oma -

 

 

Avatar
Alucard1989pl
Active Member
Forum Posts: 21
Member Since:
2013/07/02
sp_UserOfflineSmall Offline
3
2013/11/22 - 16:30
sp_Permalink sp_Print

That will sounds so gay but ... I LOVE YOU uncoder! :D . This fix works on my GoClever R974.2 ^^. I can't wait for cwm package by Oma7144 :) .

Avatar
admin

admin
Forum Posts: 5872
Member Since:
2010/09/11
sp_UserOfflineSmall Offline

Thanks Received: 3163
4
2013/11/22 - 16:40
sp_Permalink sp_Print

Great find uncoder.

Just thinking about another way to fix the problem without patching files, would it also work by making a symlink from /sys/class/backlight/rk28_bl/brightness to /sys/class/backlight/rk30_bl/brightness  ?

Cheers.

If you like our web site, applications and firmwares, feel free to support our site. Donations are used to pay the bills for our server hosting costs, development tools and purchase new tablets to support.


Avatar
uncoder
New Member
Forum Posts: 9
Member Since:
2013/10/16
sp_UserOfflineSmall Offline

Thanks Received: 3
5
2013/11/22 - 16:43
sp_Permalink sp_Print

Oma, of course!

Alucard, Thanks :)

Avatar
uncoder
New Member
Forum Posts: 9
Member Since:
2013/10/16
sp_UserOfflineSmall Offline

Thanks Received: 3
6
2013/11/22 - 16:47
sp_Permalink sp_Print sp_EditHistory

admin, I don't know how to write to realtime sysfs /sys partition :( I cant' create any files/folders here. only chown.

And it is my first ROM reverse engineering experience :)

P.S. if it possible do with patching script - it would be great!

Avatar
Alucard1989pl
Active Member
Forum Posts: 21
Member Since:
2013/07/02
sp_UserOfflineSmall Offline
7
2013/11/22 - 16:55
sp_Permalink sp_Print

@uncoder i find some problem after changing permissions. After every restart my device i must change this permission again. It's possible to set this permissions permanently or i must extract boot.img and change the permission in ramdisk?.

Avatar
uncoder
New Member
Forum Posts: 9
Member Since:
2013/10/16
sp_UserOfflineSmall Offline

Thanks Received: 3
8
2013/11/22 - 17:01
sp_Permalink sp_Print sp_EditHistory

@Alucard

hm.. I have not restarted device :) If you can change permissions in boot.img may be you can create symlink mentioned by admin? And then my hack would not be needed :)

 

I will try do this, but tomorrow 

Avatar
Alucard1989pl
Active Member
Forum Posts: 21
Member Since:
2013/07/02
sp_UserOfflineSmall Offline
9
2013/11/22 - 17:14
sp_Permalink sp_Print

@up i'll try fix permissions in boot.img ramdisk tonight. I hope it will work ;) .

Avatar
uncoder
New Member
Forum Posts: 9
Member Since:
2013/10/16
sp_UserOfflineSmall Offline

Thanks Received: 3
10
2013/11/22 - 17:18
sp_Permalink sp_Print

first try create symlink from /sys/class/backlight/rk28_bl/brightness to /sys/class/backlight/rk30_bl/brightness in boot.img - It would be better solution than hacking proprietary library :)

Avatar
Alucard1989pl
Active Member
Forum Posts: 21
Member Since:
2013/07/02
sp_UserOfflineSmall Offline
11
2013/11/22 - 17:37
sp_Permalink sp_Print sp_EditHistory

@up in init.rk30board.rc i found this line:

"#backlight
    chown system system /sys/class/backlight/rk28_bl/brightness"

 so i'll try change it to:

 #backlight
    chmod 0777 /sys/class/backlight/rk30_bl/brightness"

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

F**k yeah! I fixed the permissions. Now it works perfectly on every boot :) . Now boot.img must me flashed with RKAndroidTool v1.35.

Avatar
netlars

Firmware Guru
Forum Posts: 149
Member Since:
2013/06/11
sp_UserOfflineSmall Offline

Thanks Received: 29
12
2013/11/22 - 19:16
sp_Permalink sp_Print

I hope I fixed it right the brightness:

Can anyone please test it?

Download boot-rk30_brightness.img_.zip

Avatar
Oma7144

Moderator

Firmware Guru
Forum Posts: 5783
Member Since:
2012/10/06
sp_UserOfflineSmall Offline

Thanks Received: 1281
13
2013/11/23 - 10:08
sp_Permalink sp_Print

boot.img: http://crewrktablets.arctablet.com/?wpfb_dl=1227

patched lib: http://crewrktablets.arctablet.com/?wpfb_dl=1238

 

Both way will work, won't they?

 

- Oma -

 

 

Avatar
Oma7144

Moderator

Firmware Guru
Forum Posts: 5783
Member Since:
2012/10/06
sp_UserOfflineSmall Offline

Thanks Received: 1281
14
2013/11/24 - 19:06
sp_Permalink sp_Print

May I ask for feedback?

 

- Oma -

Avatar
xmaxxmax
New Member
Forum Posts: 5
Member Since:
2013/11/20
sp_UserOfflineSmall Offline
15
2013/11/24 - 23:27
sp_Permalink sp_Print

Oma7144 said
May I ask for feedback?

 

- Oma -

OK. With Boot.img + Cmw patch, brightness is now working on my mediacom 101s2.

Thanks.

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online: Bahramz, WILD_pianist
219 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (175), Phone (38), Tablet (8)

Top Posters:

Oma7144: 5783

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 432

maikal: 394

Newest Members:

WILD_pianist

Doddsy

rysieks

akheel

Kuzmi4

ampao2

Forum Stats:

Groups: 10

Forums: 185

Topics: 5916

Posts: 58848

 

Member Stats:

Guest Posters: 43

Members: 256487

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech


CrewRKTablets moderators: JochenKauz and Astralix