Any advice on setting screen resolution in such way so it doesn't scroll a bit to the left or right?
Swyped from my Galaxy S II using Tapatalk
inside bt.img there is a file named as ui
in terminal emulator if you follow steps till you type bt and get a root@localhost prompt
at this point you cna go to
cd /root/bin
and here you will see there is a file named ui
inside ui file you can see the text somthing like
vncserver -- geometry abcXdef
here abc=854 and def=480 for X10i simmilarly what ever is your screen resolution you just need to place that in correct place all done
@Doom please provide update script with correct resolution, as i am not sure about exact size of screen.
directly updating ui file once bt command has been fired and img is mounted should do the trick
in terminal emulator if you follow steps till you type bt and get a root@localhost prompt
at this point you cna go to
cd /root/bin
and here you will see there is a file named ui
inside ui file you can see the text somthing like
vncserver -- geometry abcXdef
here abc=854 and def=480 for X10i simmilarly what ever is your screen resolution you just need to place that in correct place all done
@Doom please provide update script with correct resolution, as i am not sure about exact size of screen.
directly updating ui file once bt command has been fired and img is mounted should do the trick
Is there any editor to change this file easily?
I tried vi but it doesn't seem to work properly. Backspace (as well as other stuff) won't work.
EVOLUTION
Quote:
iPhone > iPhone 3GS > HTC Desire > ZTE Blade > LG Optimus 2X (P990)> Samsung Galaxy S II (GT-i9100) Samsung Galaxy S III (GT-i9300)
@Doom please provide update script with correct resolution, as i am not sure about exact size of screen.
directly updating ui file once bt command has been fired and img is mounted should do the trick
Ok will do! Sgs2 resolution is 800x480... so in the ui file (startvnc too???) we just need to change the number 854 with 800... A sed command should do the trick...
Quote:
Originally Posted by jastonas
Is there any editor to change this file easily?
I tried vi but it doesn't seem to work properly. Backspace (as well as other stuff) won't work.
Please wait I will post a small updated file (or command for this)
Doesn't seem to work for me.. Everything is fine until i connect with android-vnc-app.. only grey screen with black cross which i can move around with my fingers.. :/ no gui loading..
after the startbt command and before executing bt command,
just execute the following command:
(u should be at this shell> # )
Code:
busybox sed -i 's/850/800/g' /data/local/bt/root/bin/ui
(the above needs to be done only once)
Quote:
Originally Posted by Omegavirus
Doesn't seem to work for me.. Everything is fine until i connect with android-vnc-app.. only grey screen with black cross which i can move around with my fingers.. :/ no gui loading..
thats odd.. did u get any errors on screen while executing the commands?
if possible can u post screenshots of output after executing each command?
export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$su
# cd /sdcard/bt
# sh installbt.sh
[ STEP 1 ]
BackTrack CHroot v0.2 for SGS2
This process does NOT damage Android OS!
based on Xperia X10 Customization by Anant http://anantshri.info
modded for SGS2 by DooMLoRD
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Cleaning up old Chunks . . .
Creating necessary directories
Setting up files
[ STEP 1 COMPLETE ]
BackTrack is now configure!
to Start BackTrack type 'startbt' (without the quotes)
Usage: mount [-r] [-w] [-o options] [-t type] device directory
# startbt
[ STEP 2 ]
mknod: /dev/block/loop254: File exists
losetup: applet not found
mount: mounting /dev/block/loop254 on /data/local/bt failed: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
startbt: cannot create /data/local/bt/etc/resolv.conf: directory nonexistent
startbt: cannot create /data/local/bt/etc/resolv.conf: directory nonexistent
startbt: cannot create /data/local/bt/etc/hosts: directory nonexistent
BackTrack Loader by Anant based on ubuntu loader
[ STEP 2 COMPLETE ]
BackTrack is ready just type 'bt' (without the quotes)
# busybox sed -i 's/850/800/g' /data/local/bt/root/bin/ui
sed: /data/local/bt/root/bin/ui: No such file or directory
#
Please restart ur phone and try again (run the commands only once) and please post output ba k here...
Also it seems u are using a diff version of busybox... can u please post output of the following:
(in the terminal emulator program)
Code:
busybox
Quote:
Originally Posted by Omegavirus
screenshots are attached.. thanks for your help!
btw i used better terminal, but terminal emulator leaves me with the same problem..
On ur rom busybox symlinks aren't correctly configured... u see those "Toolbox!"... this means that the mount command is still symlinked to /system/bin/toolbox
U can verify this: (in terminal emulator program)
On ur rom busybox symlinks aren't correctly configured... u see those "Toolbox!"... this means that the mount command is still symlinked to /system/bin/toolbox
U can verify this: (in terminal emulator program)
Code:
ls -l `which mount`
Can u check it and verify please?
Sent from my GT-I9100 using XDA App
i use infusion rom v1.4 and output of the command is one line: "lrwxrwxrwx 1 app_117 app_117"
The importance of good and appropriate graphics for your development work is undeniable. Be … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?