My question is very simple and hopefully the great teachers in this forum can answer.
how to go and change the file in system / build.prop without activating usb debuging?
how to restore all my apps in / system / which have been erased without activating usb debuging?
<< ycusoy | http://admin-belajar.blogspot.com >>
Bonus: text mouse rotate
Code:
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
/* Optional - DO NOT SET FONT-SIZE HERE, SET IT IN THE SCRIPT */
font-style: italic;font-weight: bold;font-family: 'comic sans ms', verdana, arial;color: #000;
/* End Optional *//* Start Required - Do Not Edit*/
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}#outerCircleText div {position: relative;}#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
/* End Required *//* End Circle Text Styles */
</style>
<script type="text/javascript">
;(function(){ // Your message here (QUOTED STRING)
var msg = "http://forum.xda-developers.com/editpost.php?do=editpost&postid=26043694";
/* THE REST OF THE EDITABLE VALUES BELOW ARE ALL UNQUOTED NUMBERS */// Set font's style size for calculating dimensions// Set to number of desired pixels font size (decimal and negative numbers not allowed)
var size = 14;
// Set both to 1 for plain circle, set one of them to 2 for oval// Other numbers & decimals canhave interesting effects, keep these low (0 to 3)
var circleY = 0.75; var circleX = 2;
// The larger this divisor, the smaller the spaces between letters// (decimals allowed, not negative numbers)
var letter_spacing = 5;
// The larger this multiplier, the bigger the circle/oval// (decimals allowed, not negative numbers, some rounding is applied)
var diameter = 10; // Rotation speed, set it negative if you want it to spin clockwise (decimals allowed)
var rotation = 0.4; // This is not the rotation speed,its the reaction speed, keep low!// Set this to 1 or a decimal less than one (decimals allowed, not negative numbers)
var speed = 0.3;
////////////////////// Stop Editing //////////////////////
if (!window.addEventListener &&!window.attachEvent ||!document.createElement) return;msg = msg.split('');var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],o = document.createElement('div'), oi= document.createElement('div'),b = document.compatMode && document.compatMode !="BackCompat"? document.documentElement : document.body,mouse = function(e){e = e || window.event;ymouse = !isNaN(e.pageY)? e.pageY : e.clientY;
//
y-positionxmouse = !isNaN(e.pageX)? e.pageX : e.clientX;
//
x-position},makecircle = function(){
// rotation/positioning
if(init.nopy){ o.style.top = (b || document.body).scrollTop + 'px'; o.style.left = (b || document.body).scrollLeft + 'px';};currStep -= rotation;for (var d, i = n; i > -1; --i){
// makes the circle
d = document.getElementById('iemsg'+ i).style; d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px'; d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';};},drag = function(){
// makes the resistancey
[0] = Y[0] += (ymouse - Y[0]) * speed;x[0] = X[0] += (xmouse - 20 - X[0]) * speed;for (var i = n; i > 0; --i){ y[i] = Y[i] += (y[i-1] - Y[i]) * speed; x[i] = X[i] += (x[i-1] - X[i]) * speed;};makecircle();},init = function(){
// appends message divs, & sets initial values for positioning arrays
if(!isNaN(window.pageYOffset)){ ymouse += window.pageYOffset; xmouse += window.pageXOffset;} else init.nopy = true;for (var d, i = n; i > -1; --i){ d = document.createElement('div'); d.id = 'iemsg' + i; d.style.height = d.style.width = a+ 'px'; d.appendChild(document.createTextNode(msg[i])); oi.appendChild(d); y[i] = x[i] = Y[i]= X[i] = 0;};o.appendChild(oi); document.body.appendChild(o);setInterval(drag, 25);},ascroll = function(){ymouse += window.pageYOffset;xmouse += window.pageXOffset;window.removeEventListener('scroll', ascroll, false);};o.id = 'outerCircleText'; o.style.fontSize = size + 'px';if (window.addEventListener){window.addEventListener('load', init, false);document.addEventListener('mouseover', mouse, false);document.addEventListener('mousemove', mouse, false); if (/Apple/.test(navigator.vendor)) window.addEventListener('scroll', ascroll, false);}else if (window.attachEvent){window.attachEvent('onload', init);document.attachEvent('onmousemove', mouse);};})();</script>
paste before closing tag </head>
I noticed differences between the cflashlib.cfg of ICS and the ported version of JB.
ICS:
# Configuration file for CFlashDriver.
#
# CFlashDriver is an interface towards ST-Ericssons
# camera implementation.
#
# This file contains settings the the STE camera is higly dependant
# upon.
#
# *** Available flashmodes: ***
# XENON Enables xenon drv.Strobe managed by lm3561 drv.
# XENON_EXTERNAL_STROBE Enables xenon drv.Strobe managed externally.
# VIDEO_LED Enables the video led driver. Strobing is managed by the driver
# VIDEO_LED_EXTERNAL_STROBE Enables video led driver. Strobing is managed externally to driver.
# FLASH_MODE_STILL_LED Enables the still LED driver. Strobing is managed by the driver.
# STILL_LED_EXTERNAL_STROBE Enables the still LED driver. Strobe is managed externally to driver.
# AF_ASSISTANT Enables the AF assistant driver. Strobe is managed by the driver.
# INDICATOR Enable the driver. Strobe is managed by the driver.
# STILL_HPLED Enables the still HP LED driver. Strobing is managed by the driver.
# HPLED_EXTERNAL_STROBE Enables the still HP LED driver. Strobe is managed externally to
# the driver.
#
# *** Available Cameramodes ***
# Primary, Secondary
#
# The parameters and in case of boolean values, everything is highly
# case sensitive. This means the True and true are two different value.
# For those who wonder, the accespted values are "true" and "false".
# The parser does handle duplicate entries in a way that only the first
# entry of the same type is used.
#
# *** Parameter setting begin here ***
#
FlashDriverType = VIDEO_LED
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = VIDEO_LED_EXTERNAL_STROBE
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = STILL_LED
MinIntensity = 36
MaxIntensity = 600
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = STILL_LED_EXTERNAL_STROBE
MinIntensity = 36
MaxIntensity = 600
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = AF_ASSISTANT
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = AF_ASSISTANT
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = false
IsDurationProgrammable = false
IsTimeoutProgrammable = false
SupportedCamera = Secondary
Duration = 0
Intensity = 100
Timeout = 0
Click to expand...
Click to collapse
JB:
# Configuration file for CFlashDriver.
#
# CFlashDriver is an interface towards ST-Ericssons
# camera implementation.
#
# This file contains settings the the STE camera is higly dependant
# upon.
#
# *** Available flashmodes: ***
# XENON, XENON_EXTERNAL_STROBE, VIDEO_LED, VIDEO_LED_EXTERNAL_STROBE
# STILL_LED, STILL_LED_EXTERNAL_STROBE, AF_ASSISTANT, INDICATOR
# STILL_HPLED, STILL_HPLED_EXTERNAL_STROBE
#
# *** Available Cameramodes ***
# Primary, Secondary
#
# The parameters and in case of boolean values, everything is highly
# case sensitive. This means the True and true are two different value.
# For those who wonder, the accespted values are "true" and "false".
# The parser does handle duplicate entries in a way that only the first
# entry of the same type is used.
#
# *** Parameter setting begin here ***
#
FlashDriverType = VIDEO_LED
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = VIDEO_LED_EXTERNAL_STROBE
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = STILL_LED
MinIntensity = 125
MaxIntensity = 2000
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = STILL_LED_EXTERNAL_STROBE
MinIntensity = 125
MaxIntensity = 2000
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = AF_ASSISTANT
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = AF_ASSISTANT
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = false
IsDurationProgrammable = false
IsTimeoutProgrammable = false
SupportedCamera = Secondary
Duration = 0
Intensity = 100
Timeout = 0
Click to expand...
Click to collapse
Has anybody tried to change it to ICS settings using JB drivers? the file is /system/etc/cflashlib.cfg
Tried already. Still not working.
Sent from my ST25i using xda app-developers app
I have a STB Android with a custom android ROM in which the virtual home key (keycode_HOME) don't work. These are the traces of logcat
03-30 23:37:28.872 D / WindowManager (3694): keycode = 3 interceptKeyTq screenIsOn keyguardActive = true = false = 2000000 policyFlags isWakeKey = false
03-30 23:37:28.872 I / WindowManager (3694): mapkey no map key list
03-30 23:37:28.872 D / WindowManager (3694): interceptKeyTi keyCode = 3 down = false repeatCount = 0 mHomePressed keyguardOn = true = true = false Canceled
03-30 23:37:28.872 W / ContextImpl (3694): Calling a method in the system without a qualified user process: android.app.ContextImpl.sendBroadcast: 1067 com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeDispatching: com.android.server.wm.InputMonitor.interceptKeyBeforeDispatching 1939 352 com.android.server.input.InputManagerService.interceptKeyBeforeDispatching: 1408 dalvik.system.NativeStart.run: -2
I do not have the source code of the kernel.
Any ideas?
Hi guys,
I really hate that my z2 screen is too sensitive and after searching online for ages I didn't find any solution to it, so I started experimenting myself.
Long story short I managed to find a file under /system/usr/idc/max1187x_touchscreen_0.idc
I opened it as text and it seems to have something to do with the touch screen, but I'm not sure what those things are exactly for. Could anyone please give me some advice on this? Thanks!
The content of the file:
# Device Type
touch.deviceType = touchScreen
# Touch Filter
touch.filter.level = 2
touch.filter.path = /system/lib/touchfilter/tftype4.so
touch.filter.tftype4.Enabled = 1
touch.filter.tftype4.AssumedDelayFactorA = -11.71
touch.filter.tftype4.AssumedDelayFactorB = 12.53
touch.filter.tftype4.AssumedDelayFactorC = -0.81
touch.filter.tftype4.MaxSpeed = 0.036
touch.filter.tftype4.PositionFactorA = 0.2
touch.filter.tftype4.PStablePositionFactor = 0
touch.filter.tftype4.DirectivePriorityFactor = 0.95
touch.filter.tftype4.LatestSpeedWeight = 0.9
touch.filter.tftype4.GapResolver = 0.8
touch.filter.tftype4.OrgSize = 8
touch.filter.tftype4.AccSize = 8
touch.filter.tftype4.AddInitialAcc = 1
touch.filter.tftype4.DefaultInitialAcc = 0
touch.filter.tftype4.DragRangeSize = 3
touch.filter.tftype4.NoAccDistanceMin = 15.0
touch.filter.tftype4.NoAccDistanceMax = 580.0
touch.filter.tftype4.NoAccRate = 0.3
# Glove Mode
touch.gloveMode.deflatePressure = 1
pointercontroller.touch1.filename = /system/somc/touch/images/big_touch.png
pointercontroller.touch1.hotSpotX = 310
pointercontroller.touch1.hotSpotY = 310
pointercontroller.touchsplash1.filename = /system/somc/touch/images/splash.png
pointercontroller.touchsplash1.hotSpotX = 40
pointercontroller.touchsplash1.hotSpotY = 40
Sent from my D6503 using XDA Free mobile app
Hello i changed the Rom on my Tablet to :
PH_A76h_android4.4_v2.0_800x480-auto-gc2035-gc0308-wifi5990p-20141211a.img
Everything works okay, but not the Camera.
The Tablet has 2 Cameras Front and Back with 0,3 Mpixels each.
The are on the same Cable going from the Mainboard to the FrontCam and then to the Back Camera.
When i launch the App the Tablet freezes.. Sometimes it resets itself after an Minute or so (not always)
BTW:
I have saved the Data of the Nand-Partitions with the old Firmware (if you need some infos/settings/config from them)
I also have changed the script0.bin from the old Firmware to fex and changed everything in DragonFaces SystemConfiguration like it was in the Script0.bin from the original Firmware.
Here is the Block i Changed in System-Editor:
Code:
;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip_used: 0:disable 1:enable
;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
;vip_dev_qty: The quantity of devices linked to capture bus
;vip_dev(x)_isp_used 0: not use isp 1:use isp
;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip_dev(x)_avdd: camera module analog power handle string, pmu power supply
;vip_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
;vip_dev(x)_dvdd: camera module core power handle string, pmu power supply
;vip_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
;vip_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
;vip_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
;x indicates the index of the devices which are linked to the same capture bus
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------
[csi0]
vip_used = 1
vip_mode = 0
vip_dev_qty = 2
vip_csi_pck = port:PE00<2><default><default><default>
vip_csi_mck = port:PE01<2><default><default><default>
vip_csi_hsync = port:PE02<2><default><default><default>
vip_csi_vsync = port:PE03<2><default><default><default>
vip_csi_d0 = port:PE04<2><default><default><default>
vip_csi_d1 = port:PE05<2><default><default><default>
vip_csi_d2 = port:PE06<2><default><default><default>
vip_csi_d3 = port:PE07<2><default><default><default>
vip_csi_d4 = port:PE08<2><default><default><default>
vip_csi_d5 = port:PE09<2><default><default><default>
vip_csi_d6 = port:PE10<2><default><default><default>
vip_csi_d7 = port:PE11<2><default><default><default>
vip_dev0_mname = "siv121d"
vip_dev0_lane = 1
vip_dev0_twi_id = 2
vip_dev0_twi_addr = 102
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 0
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = "axp22_dldo3"
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = "axp22_ldoio0" vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = "axp22_eldo2" vip_dev0_dvdd_vol = 1800000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PE14<1><default><default><0>
vip_dev0_pwdn = port:PE15<1><default><default><1>
vip_dev0_flash_en = port:PB00<1><default><default><0>
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev1_mname = "siv121d"
vip_dev1_lane = 1
vip_dev1_twi_id = 2
vip_dev1_twi_addr = 102
vip_dev1_isp_used = 0
vip_dev1_fmt = 0
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = "axp22_dldo3"
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = "axp22_ldoio0"
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = "axp22_eldo2"
vip_dev1_dvdd_vol = 1800000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset = port:PE16<1><default><default><0>
vip_dev1_pwdn = port:PE17<1><default><default><1>
vip_dev1_flash_en = port:PB00<1><default><default><0>
vip_dev1_flash_mode =
vip_dev1_af_pwdn =
[camera_list_para]
camera_list_para_used = 0
ov7670 = 0
gc0308 = 1
gt2005 = 0
hi704 = 0
sp0838 = 0
mt9m112 = 0
mt9m113 = 0
gc2035 = 1
ov2655 = 0
hi253 = 1
gc0307 = 0
mt9d112 = 0
ov5640 = 0
ov5647 = 0
gc2015 = 0
ov2643 = 0
gc0329 = 0
gc0309 = 0
s5k4ec = 0
siv121d = 0
siv120d = 0
I also copied camera.cfg from the old /system/etc to the new installation.
But still freezes don't know what to do now.
Please help.