PDA

View Full Version : [issue] Kali on USB with persistence and Brightness file at acpi_video0



Kn1ght Art0rias
2013-05-01, 14:11
Hi guys, I am your new whiny guy in this forum, as you may know this issue from the title.

Here I have HP Folio 13" i5 4GB 128SSD Intel HD3000.

I have installed Kali the same way as this document (Kali Linux Live USB Install: Adding Persistence to Your Kali Live USB (http://docs.kali.org/installation/kali-linux-live-usb-install)).

Everytime I boot up from my USB my screen turns off (or brightness goes to 0) after the boot screen.
What I do to fix this problem is I wait for 1 minute (while the screen is off, yeah I can see through !@#$) then I press (Ctrl + Alt + F1) then I type root (for login) and toor (for password)
Then I type this command "echo 10 | tee /sys/class/backlight/acpi_video0/brightness" THEN BAAAAM MY SCREEN SHINE LIKE A STAR :cool:

THE ISSUE IS:
I have to do this every time I boot up the USB, I tried to alias the command but it doesn't save it after I reboot

Of course I update everything and installed new kernel. I tried all solutions on other forums that I looked at.

If only I can make the brightness file change permanently.


Return 0;

root-boy
2013-05-01, 17:01
check the "Adding Persistence to Your Kali Live USB" section.

Kn1ght Art0rias
2013-05-01, 19:20
I fixed it with a payload (Rubber Ducky) but I have to run that payload every time I boot my USB which makes it easier for me.

REM Author: Kn1ght Art0rias
REM Desc: Increases the brightness of laptop screen when it boot up some *nix Distro like Kali
REM let it boot and wait for 20 seconds atleast (depends on your machine power) then plug in the rubber ducky

DELAY 100
CTRL-ALT F1
DELAY 1000
STRING <PUT THE USERNAME HERE>
ENTER
DELAY 200
STRING <PUT THE PASSWORD HERE>
ENTER
DELAY 300
STRING echo 10 | tee /sys/class/backlight/acpi_video0/brightness
ENTER
DELAY 300
STRING /etc/init.d/gdm3 stop
ENTER
DELAY 100
STRING /etc/init.d/gdm3 start
ENTER
I hope this might help someone

charonsecurity
2013-05-02, 01:54
Make sure Persistence is actually working., My recommendation, is see if you can create a simple text document to place on desktop. And reboot to see if it stays or not. If it does stay, how about making a simple script file that runs at boot to solve this issue. I've read other threads on this forum about the HP having this issue.

Also, check out this thread, maybe it might work for you. http://synapse.wordpress.com/2012/05/22/save-brightness-setting-on-reboot-in-debian-squeeze-wheezy/

Kn1ght Art0rias
2013-05-02, 03:45
it does save all files and updates but only this file is annoying
thx for the advice

Hitman
2013-05-02, 15:32
you can increase the brightness with the laptop brightness button without writing any command but its also not a permanent solution let me think on that......

Kn1ght Art0rias
2013-05-03, 01:36
Of course I tried that only the sound buttons works.. I think HP doesn't like Debian

the solution is already here

http://synapse.wordpress.com/2012/05...queeze-wheezy/