[Q] [REQ] Turning on or off the hardware buttons. - Optimus One, P500, V Q&A, Help & Troubleshooting

I'm wondering if did any developer have tried to make a hack or something to turn off the light of the hardware buttons. I bet that light drain's certain amount of energy and I think that is pretty useless. I've tried that app called LG Notifications or something like that but it's useless. I'm interested in an app that can turn off the hw buttons leds using a schedule or manually. Cheers and thanks with anticipation

I don't remember where I find that script neither who did that, but I have uploaded it
1-Download the script from http://www.mediafire.com/?osu5fd3481b3vj7
2-With any root browser or adb put it in system/etc/init.d and change its permissions to rw-r-r
3-Reboot or run script
4-Done
Sent from my LG-P500 using xda premium

Search for keyboard backlight controller in playstore
Sent from my LG-P500 using Tapatalk 2

FPChaim said:
I don't remember where I find that script neither who did that, but I have uploaded it
1-Download the script from http://www.mediafire.com/?osu5fd3481b3vj7
2-With any root browser or adb put it in system/etc/init.d and change its permissions to rw-r-r
3-Reboot or run script
4-Done
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
> mateo's, from blackbird rom

Does it really make that much of a difference or is it one of those placebo scripts I see bombarded into roms? I've used LG notifications to and nothing happened either...well this entire thing has got me wondering how much battery ill save by disabling those hw lights behind the hard keys
Sent from my LG-P500 using xda premium

Download "root tools" and in hacks and tweaks there's an option to disable hardware light buttons (buy it costs $2 I think)
Sent from my LG-P500 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 07:01 PM ----------
Na, it worked on 2.3 but i tried it now with my new ICS and it doesn't work.
Sent from my LG-P500 using xda app-developers app

timkl1 said:
Download "root tools" and in hacks and tweaks there's an option to disable hardware light buttons (buy it costs $2 I think)
Sent from my LG-P500 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 07:01 PM ----------
Na, it worked on 2.3 but i tried it now with my new ICS and it doesn't work.
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
Auto Turn off led Backligh of Hard button after boot:
+++ Download here
Use RootExplorer copy into /sys/etc/init.d , rememer choose r/w.
Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and Enjoy.
Or +++ Manual Edit :
Use RootExplorer go to /sys/etc/init.d, remember choose r/w:
-Press of Gesture Menu, choose Newfile, creat name with 98led ---> OK
-Open with Editor
-Input this code:
#!/system/bin/sh
chmod 0333 /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/brightness
Click to expand...
Click to collapse
-Save and exit. Then delete file .bak
-Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and enjoy.
Turn On Backlight Hard Button :
-Use RootExplorer go to /sys/etc/init.d, remember choose r/w,
-Open with Editor file 98led
-Edit 0 to 255.
-Save and Exit.
-Delete file .bak.
-Execute this file.
Enjoy.

HI brother
Install this and select from the options....
very easy....
https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5kZXNrYW5nZWwua2JsaWdodCJd

Ferdinoptimus said:
Install this and select from the options....
very easy....
https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5kZXNrYW5nZWwua2JsaWdodCJd
Click to expand...
Click to collapse
It not really work exactly, when you choose Handset reboot, not Hot boot, all setting return to default. Then you must setting again for Backlight.

one year ago...
Last week, i decided to take out my good old p500 to play with. Checked out the forum, and somehow i wasn't surprised that it's still going strong. Installed popdog's Slim rom on it. works well enough so far. couldn't find the option to disable hardware keys, a search brought me here.
the below method works.
-------------------------------------
Use RootExplorer go to /sys/etc/init.d, remember choose r/w:
-Press of Gesture Menu, choose Newfile, creat name with 98led ---> OK
-Open with Editor
-Input this code:
#!/system/bin/sh
chmod 0333 /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/brightness
-Save and exit. Then delete file .bak
-Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and enjoy.

Just install screen filter app from play store ...
Put the filter to 100% and tick the option disable hardware key backlight .....
Very simple:thumbup::thumbup:
Sent from my LG-P690 using xda app-developers app

Related

[Script] Darkness in the dark hours

hi everyone
I present to you:
Darkness in the dark hours​
this is a pack of:
- a script I made
- Gscript lite
- Screen filter(optional, but recommended)
I strongly recommend to you to read the whole post and only then apply my script!
A lot of users tried to find a way to do this, so I polished my script I used for Eternity to make it universal(hopefully )
this script made to work with rooted 2.1+ firmwares and busybox properly installed.
1. Install Gscript lite
2. To make this script revertable on the newer brand of kernels, you will need to add one line to hw_config.sh (because I just don't trust init.d scripts)
run this from adb or any terminal emulator from phone as superuser
Code:
echo "\n\n\nrm /data/noled_tmp_reverse.prop" >> /system/etc/hw_config.sh
3. in Gscript choose Add a script and name it whatever you want(e.g. NOLed) and paste these lines in it
Code:
#! /system/bin/busybox sh
# "turn off keyboard and notification LEDs" for ANY android firmware
# this script needs su access
# made by Adolf1994
# thanks for the help diimaan
# maybe final version - revertable
# requires hw_config.sh modification to be properly revertable
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LED1=$LED:rgb1:red/brightness
LED2=$LED:rgb1:green/brightness
LED3=$LED:rgb1:blue/brightness
LED4=$LED:sled/brightness
if [ -s /data/noled_tmp_reverse.prop ]; then
chmod 00644 $LED1
chmod 00644 $LED2
chmod 00644 $LED3
chmod 00644 $LED4
rm /data/noled_tmp_reverse.prop
else
echo 0 > $LED1
echo 0 > $LED2
echo 0 > $LED3
echo 0 > $LED4
chmod 00444 $LED1
chmod 00444 $LED2
chmod 00444 $LED3
chmod 00444 $LED4
echo 1 > /data/noled_tmp_reverse.prop
fi
exit
4. tap on "Needs SU" then save
5. run the script and enjoy surfing at night without the annoying hw leds
(most likely you WILL get stderrs on 2.2+, but it's normal)
Note: if you get EMPTY stderrs, that's no problem. BUT if something is shown next to the stderr, like permission denied, then please report
optional. install Screen filter from market: https://market.android.com/details?id=com.haxor&feature=search_result
This is only for 2.1 and/or 2.2. On 2.3 I experienced a problem that's I couldn't press install in package installer activity. I nearly reinstalled the whole thing. You've been warned!
Night is over? Just run the script again and wait till the LEDs light up.
If You Don't Like LEDs At All, This Pretty Line Will Disable Them At Startup
http://forum.xda-developers.com/showpost.php?p=17514012&postcount=27
Q: Why modifying hw_config.sh?
A: Because if you reboot your phone while the leds are off, there will remain a file that normally indicates how the script should act upon running it. That one particular file should not present after boot.
Q: I'm on Wolfbreak's ROM. Won't that mess tweaks up?
A: In no way. Impossible. Unless you didn't follow steps properly.
hope you like it
and don't forget to press thanks button
can I use script manager to run this at boot?
I think it'd be fine
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
i cant paste the text corectly ffs i think thats the problem can you upload the script as ".sh" so i can load it whit gscript?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
from gscript I get a bunch of stderrs, too. however, from a terminal emulator it runs fine, so no problem.
It's the most noticeable if the phone is on the charger, because you will see that the led suddenly switches off.
you can revert the script back with a simple reboot.
Sorry for being a noob, but what does this do? :$
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
AyDee said:
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
Click to expand...
Click to collapse
sorry if I wasn't clear. I'll fix it soon
and change it to revertable, too
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
shahkam said:
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
since they are empty it's ok
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
shahkam said:
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
for this script only gscript gives empty stderrs. if I run it with a terminal emulator/adb there's no stderr.
it's a problem of gscript
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Ohhh but i tried terminal too pasted the script and nothing happened?
Sent from my X10i using XDA Premium App
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
diimaan said:
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Click to expand...
Click to collapse
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
My_Immortal said:
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
Click to expand...
Click to collapse
190 mb? that's far less you should clean up some junk in your system then!
btw this is the msg I got from shaun! you can check how it works!
http://forum.xda-developers.com/show...&postcount=834
Should explain how to do it, just need to add commands to a start up script that is editable on your phone, that runs before the GUI is started. Dunno how I would create a universal script as you will need to edit diff files on diff phones.
If there is anything you don't understand from my post I'll try and help.
Click to expand...
Click to collapse
Brilliant this is exactly what i wanted, thanks Adolf !!
[email protected] said:
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
Click to expand...
Click to collapse
Adulf... hehh, funny
yyeeeeaaaaaaahhhh...no
that'd be a bit complicated.
but this is why it's revertable

How to/Solution to disable proximity sensor incall

**Standard Disclaimer applies here: If you screw up your device trying the following steps in this thread, I cant be responsible. But thats old news**
If your phone stays black after a call you can fix it by a couple of ways.
First:
Code:
[B]Q[/B]:Where is the proximity sensor?
[B]A[/B]:Top left of the screen in opposite place to led, if you tily screen under the light you should see the sensor reflect back at you.
Install this app and test your proximity sensor to be sure, that it is not broken: Proximity Sensor Finder
Options you need to try first.
The screen protector, yes it might be transparent but the sensor detects it. Using a sensor testing app from the market it suggested the sensor was covered almost all the time.
So the solution was replace the protector with new one but cut an arc at the top just big enough around the sensor at the top left, easy fix now in call screen is more responsive.
With a vacuum cleaner vacuum over the top area of the phone. This must suck all the dust out of there.
<-------------------------------------->
1 of the other option would be an app called Anyunlock which seems to have solved the problem for me. It seems to be able to wake up when the screen turns off after a call. The app allows you to unlock with the volume key and replaces the lock screen with its own screen.
This option works on my Desire S
<-------------------------------------->
If it's broken, you'll see 0.0 cm all the time.
Solution to disable proximity sensor incall is to put this line into build.prop and reboot:
you can edit the build.prop by pulling it first from the device by doing:
Code:
adb pull /system/build.prop c:\where\you\want\to\put\it\
open with wordpad and add the following line
Code:
gsm.proximity.enable=false
Then
Code:
adb remount
adb push c:\where\you\want\to\put\it\build.prop /system/
reboot so that the settings take effect
This option works on my Desire S
Credits
For disabling the proximity sensor in call go to Matri}{
Rest of the credits go to all the people that figured the other stuff out. (to many post on the net so I don't know who made them but thanks)
Thanks to myself for making this tutorial. (It's my first on xda)
If you have any other idea's just pm me or drop a post.
Thanks
Reserved
Thanks for the guide, it seems that there are quite some people affected by this and I find it much useful. Just a suggestion - IMO more proper place for it will be the General section, so you can request moving it there from the moderators and also adding it to the Index thread (PM ben_pyett)
Sent from my Desire S
Hey,
I just tried your fix but it didn't work for me. Screen still goes black when receiving a call and only reacts when I plug it in through USB. Could it be because my ROM is ICS?
Also tried removing the screen cover & sucking out the dust on the top.
The Anyunlock app works, but that's not ideal of course.
Yes it could be that it's Rom related. I use Endymion. And matri}{ extracted it from the Rom.
Wich Rom do you use. I can take a look for you tonight when I get home.
The anylock works most off as between solution.
Sent from my HTC Desire S using Tapatalk 2
Hey,
I tried it on MIUI ICS, Endymion which both failed. Now I'm using the Reaper ROM but it still doesn't work.
It should work on Endymion. I used it and I even checked if it's the same proximity line in de file of update 3.5.
Did you changed it on the phone or with a text editor on the computer?
I tested it on Endymion just 5 min ago and it worked.
Does your screen still stays black after hanging up? If so can you only unlock with USB cable or power cable?
Sent from my HTC Desire S using Tapatalk 2
Hm, you're right, it does work on Endymion (sorry). I'm having some stability problems with that ROM though...
Do you know how to enable it on MIUI or Reaper (CM based)?
I'm going to check for you tomorrow ok. I'll get back to you.
I just discovered that there is a setting in the MIUI dialer to disable the proximity sensor! This also works, sorry for taking up your time.
But maybe a new suggestion for people who don't want to edit the build file ? Try MIUI!
Solution to disable proximity sensor incall is to put this line into build.prop and reboot:
you can edit the build.prop by pulling it first from the device by doing:
Code:
adb pull /system/build.prop c:\where\you\want\to\put\it\
open with wordpad and add the following line
Code:
gsm.proximity.enable=false
Then
Code:
adb remount
adb push c:\where\you\want\to\put\it\build.prop /system/
reboot so that the settings take effect
This option works on my Desire S
Click to expand...
Click to collapse
if anyone could explain this in noob terms it would be much apprecited
New kid on the block
papaganz said:
I just discovered that there is a setting in the MIUI dialer to disable the proximity sensor! This also works, sorry for taking up your time.
But maybe a new suggestion for people who don't want to edit the build file ? Try MIUI!
Click to expand...
Click to collapse
Hey, I'm a TOTAL rookie at this stuff guys...........can you talk me through this process step by step. The sensor is banjaxed (tested it) and I need to turn the thing off.
Thanks in advance!
Larpogue said:
Hey, I'm a TOTAL rookie at this stuff guys...........can you talk me through this process step by step. The sensor is banjaxed (tested it) and I need to turn the thing off.
Thanks in advance!
Click to expand...
Click to collapse
Well, if you install a MIUI-based ROM (check the android development forum here), you can just go to your dialer settings and select the option.
rolfharris said:
if anyone could explain this in noob terms it would be much apprecited
Click to expand...
Click to collapse
it works good.
the easiest way is to install rom toolbox app on a rooted phone, go to buildprop editor and add the line, click save and reboot
---------- Post added at 10:15 PM ---------- Previous post was at 10:12 PM ----------
papaganz said:
Well, if you install a MIUI-based ROM (check the android development forum here), you can just go to your dialer settings and select the option.
Click to expand...
Click to collapse
---------- Post added at 10:16 PM ---------- Previous post was at 10:15 PM ----------
papaganz said:
Well, if you install a MIUI-based ROM (check the android development forum here), you can just go to your dialer settings and select the option.
Click to expand...
Click to collapse
the easiest way is to install rom toolbox app on a rooted phone, go to buildprop editor and add the line gsm.proximity.enable=false
click save and reboot
Aprentice_ said:
it works good.
the easiest way is to install rom toolbox app on a rooted phone, go to buildprop editor and add the line, click save and reboot
---------- Post added at 10:15 PM ---------- Previous post was at 10:12 PM ----------
---------- Post added at 10:16 PM ---------- Previous post was at 10:15 PM ----------
the easiest way is to install rom toolbox app on a rooted phone, go to buildprop editor and add the line gsm.proximity.enable=false
click save and reboot
Click to expand...
Click to collapse
Thanks man for your advise but how do u root a phone (he asks cringeing!) Soory dude but I did say I was a rookie
papaganz said:
Well, if you install a MIUI-based ROM (check the android development forum here), you can just go to your dialer settings and select the option.
Click to expand...
Click to collapse
Larpogue said:
Thanks man for your advise but how do u root a phone (he asks cringeing!) Soory dude but I did say I was a rookie
Click to expand...
Click to collapse
Since you're flashing a custom ROM than it's already rooted
Aprentice_ said:
Since you're flashing a custom ROM than it's already rooted
Click to expand...
Click to collapse
Nope don't think so, "Root Check Failed" hits me when i open the app.
Oh..umm...download this zip file, unzip anywhere on your computer, connect the USB cable to your phone and run the bat file.
http://forum.xda-developers.com/attachment.php?attachmentid=841876&d=1325678726
Aprentice_ said:
Oh..umm...download this zip file, unzip anywhere on your computer, connect the USB cable to your phone and run the bat file.
http://forum.xda-developers.com/attachment.php?attachmentid=841876&d=1325678726
Click to expand...
Click to collapse
Ok bud will do, I'll let you know how I get on
Aprentice_ said:
the easiest way is to install rom toolbox app on a rooted phone, go to buildprop editor and add the line gsm.proximity.enable=false
click save and reboot
Click to expand...
Click to collapse
That's not true. In my experience this line only works in Sense ROMs...

[HOWTO] Bluestacks for MAC OS X rooted [2012-10-09]

Hi all, who are interested in using Bluestacks (Bluestacks Mac alpha) rooted and writeable /system & /data!
If you havn't installed or used it before, the android app player Bluestacks alpha for MAc OS X is available here:
http://bluestacks.com/bstks_mac.html
The idea for rooting it came, when I read the thread of xRepinsSporx here http://forum.xda-developers.com/showthread.php?t=1571308. This is guiding tread for rooting Bluestacks for Windows.
So credits go to xRepinsSporx!
I've managed making full rooted Root.fs for the Bluestacks android app-player for MAC OS X.
The /system of bluestacks is rooted out of the box, but root-permissions are restricted.
So I've copied a new su file ('su.orig') and a symbolic link ('su') into /system/xbin. This was done under ubuntu-linux!
That works for me...
If you want try it, here is a
HOW TO:
(make sure, Bluestacks is not running!!!)
---Attention! this HOWTO is only useable on MAC OS X!---
I.
1. Download Root.fs_hacked.zip (rooted Root.fs)
II.
1. Unpack Root.fs_hacked.zip in a folder of your choice
2. In Finder-Menu go to "Go To'-cklick it once ; hold alt-key down for showing the user-library-folder;
Open Library-Folder; Go into the Folder Bluestacks App Player; Go into the Folder Android;
Rename the file Root.fs to Root.fs_backup (in case for having a backup!)
copy the unpacked Root.fs_hacked to here and rename it to Root.fs .
---- You have full rooted /system now! ----
3. Goto into Folder yourusername/Library/BlueStacks App Player/Runtime; make Alias For Bluestacks App Player.app;
Place this link where you want to (i.e. on Desktop or into the Launchbar);
Now you should activate personalized Home Launcher! (If you did not done it before)
I made it with Holo Launcher...
III.
1. Open Pulse in Bluestacks
2. Click an entry in Pulse; Click on Menu-Button, that goes to an WEBsite of an article; the hidden webBrowser of bluestack will open that;
in addressbar goto HoloLauncher (stable) download page http://hololauncher.com/download.aspx?t=STABLE and download and install it
3. Click on the colored Home-Button of Bluestacks and select Holo Launcher for ever.
Now you can install basic gapps for Bluestacks
IV.
1. open the web Browser
2. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/GoogleServicesFramework.apk; install it
3. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/OneTimeInitializer.apk; install it
4. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/SetupWizard.apk; install it
5. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/Talk.apk; install it
6. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/Vending.apk; install it
7. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/Gmail.apk; install it
6. download http://dl.dropbox.com/u/12364391/BluestackForMacApps/Maps.apk; install it
At last goto Settings->Accounts-> add your Google-Account
You did it! - Congrats
What is working:
- root is granted for apps an the fly (without the use of Superuser.apk - this APk isn't working but not needed!)
(test it with titanium backup and/or root explorer)
- fully read/writeable /system, /data, /data/data
(you can test it by starting a terminal session in bluestack; after starting terminal you are at the $-prompt right(?), enter $ su - and you are the #-prompt - so you are rooted)
If Titanium Backup or other apps don't see your installed apps, then you have to change permissions for /data as following:
open terminal session
and enter
Code:
su
chmod 755 /data
(thanx Jainyankee1993 for his reply!)
- Homelauncher of your choice
- Market
- Synching Gmail
- installing most of apps you can see in your market account
(working apps i.e. here: Root Explorer; Titanium Backup; Adaway; Clocksynch...)
What is not working:
Contacts and Calendar won't synch! (So i use the Google website for my calendar and contacts for the moment )
The colored home button loses his function. (For getting home button function you can load 'button svoir' from market)
The stuff published here is for educational purposes only!
All you do with your Bluestacks installation on your MAC is done at your own risk!
BTW: if your full rooted Bluestacks is running as it should, you can delete the preinstall Bluetstacks-Apps-Folder link from the Launchbar...
(atached 2 screenshots here.)
regards bitstra
bitstra said:
Hi all, who are interested in using Bluestacks rooted and writeable /system & /data!
I've managed making full rooted Root.fs for the Bluestacks android app-player for MAC OS X.
If somebody is interested in my solution, I would share the Root.fs-file. If so feel free to pm me...
atached 2 screenshots here.
regards bitstra
Click to expand...
Click to collapse
is wonderful news
you are a great
best regards
OP is updated with instructions for download and install
regards
bitstra
I can't find the address bar in pulse anywhere
Sent from my SGH-I747 using Tapatalk 2
Jainyankee1993 said:
I can't find the address bar in pulse anywhere
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
First click on a Pulse-Article
Than click on Menu-Button
Than click 'Open in Browser'
..u should see the address-bar
that's it...
bitstra
okay got evrything to work except my hom e button does not do anything. lol
Jainyankee1993 said:
okay got evrything to work except my hom e button does not do anything. lol
Click to expand...
Click to collapse
... thats right - I've updated OP with that hint - thanx...
So we can use 'button savoir' from market!
regards
bitstra
Okay thank you. Sorry to keep bothering you but titanium backup for me just says searching for app data
Sent from my SGH-I747 using Tapatalk 2
Jainyankee1993 said:
Okay thank you. Sorry to keep bothering you but titanium backup for me just says searching for app data
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Can you please open a terminal session and enter
Code:
su
ls -l /
an try to post the output here?
I think I have used chmod for /data to change permisssions
you can try
Code:
su
chmod 755 /data
for a fast shot...
thanx
here you go
Sent from my SGH-I747 using Tapatalk 2
Jainyankee1993 said:
here you go
Click to expand...
Click to collapse
Wrote this post before you posted the bigger screenshot (sorry).
the permissions for /data are looking good.
So make a
'ls -l /data/data' and ls '-l /data/app' the must have the sam permission values like your /data - line
my old eyes can't read your output.
Can you please write the single line from output for the /data folder?
Have tested the chmod command once more.
You can enter the command
Code:
chmod 755 /data
... and TB should show all your apps, i think!
bitstra
is chmod supposed to give me an output, because it isn't...
---------- Post added at 05:43 AM ---------- Previous post was at 05:41 AM ----------
bitstra said:
my old eyes can't read your output.
Can you please write the single line from output for the /data folder?
Have tested the chmod command once more.
You can enter the command
Code:
chmod 755 /data
... and TB should show all your apps, i think!
bitstra
Click to expand...
Click to collapse
sweet okay. it works it would be cool if this could use the mac camera, hopefully this will happen in the future. thank you so much
Jainyankee1993 said:
is chmod supposed to give me an output, because it isn't...
---------- Post added at 05:43 AM ---------- Previous post was at 05:41 AM ----------
sweet okay. it works it would be cool if this could use the mac camera, hopefully this will happen in the future. thank you so much
Click to expand...
Click to collapse
No, chmod returns without any output after setting permissions...
I'm pleased that it works for you.
(Will update the HowTo with the 'chmod' command for /data...)
You are right with the camera. The mic would also a nice gadget in using bluestacks...
But i don't think that bluestacks.com will build their emulator (Bluestacks App player) in this stage ...
So, who will try hacking the app player for using cam and mic?:laugh:
regards
bitstra
First of all, thank you very much and you're a genius.
Second, I can't seem to log in with my Google account, I fill in all data and then after it loading for 1-2 min I get a message saying "Can't establish a reliable data connection to the server. This could be a temporary problem or your phone may not be provisioned for data services. If it continues, call Customer Care."
I've installed all the supplied apk (in the order they were mentioned) but nothing. Am I just a total n00b and forgot something or does this root not support the Market/Play store yet? I say Market because that's what the icon says on my Bluestacks, but that shouldn't be the problem because they're two different "apps" if I'm right.
Root.fs in use
Every time I tried to replace the root.fs file with the hacked root.fs, it says that it can't be completed because root.fs is in use. Please help!
When I do this and open up stacks it just crashes.
You can get contacts/calendar to sync by adding a corporate account under the contacts app. Then use use your gmail credentials and m.google.com as server.
There is no root.fs in /Users/<username>/Library/BlueStacks App Player/Android
There is root.sparsefs instead. is there any way to hack this?
Thanks for all
Best regards.
Need new root for Beta version
The Beta uses a different image format, "Root.sparsefs" containing two files "Map" and "Data", so it needs a new root.

Softkeys / nav bar

So I need a real developers opinion. The build prop mod doesn't work. How would one go about enabling this? Is there a modification that needs to be done to the framework-res? SystemUI? Both? Please help. I can find jack about this for any device.
Sent from my XT1080 using XDA Premium 4 mobile app
+1 I have done a lot of digging and can't find a way so far to make it work. It looks like the button properties are somewhere else. I didn't see the home, back, and recent button entries in build prop ether.
Sent from my XT1080 using Tapatalk 4
TheWhiteChallenger said:
So I need a real developers opinion. The build prop mod doesn't work. How would one go about enabling this? Is there a modification that needs to be done to the framework-res? SystemUI? Both? Please help. I can find jack about this for any device.
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Post your framework-res (and blur res if applicable) and your systemui apk and il take a look at it
runandhide05 said:
Post your framework-res (and blur res if applicable) and your systemui apk and il take a look at it
Click to expand...
Click to collapse
Should I deodex the systemui or would u need it stock with the odex file?
TheWhiteChallenger said:
Should I deodex the systemui or would u need it stock with the odex file?
Click to expand...
Click to collapse
Needs to be deodex
runandhide05 said:
Needs to be deodex
Click to expand...
Click to collapse
thanks a bunch. here you go. i had to compress the framework to stay under the 8mb limit
royer10r said:
+1 I have done a lot of digging and can't find a way so far to make it work. It looks like the button properties are somewhere else. I didn't see the home, back, and recent button entries in build prop ether.
Sent from my XT1080 using Tapatalk 4
Click to expand...
Click to collapse
Yes I'm pretty sure I found the files for hw buttons and lights and I found the imgs for back home and recent in the system ui I just have no clue how to enable them. I think something needs to be added to one of the XML files of the ui
Sent from my XT1080 using XDA Premium 4 mobile app
TheWhiteChallenger said:
Yes I'm pretty sure I found the files for hw buttons and lights and I found the imgs for back home and recent in the system ui I just have no clue how to enable them. I think something needs to be added to one of the XML files of the ui
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
After compairing the build.prop of both the Moto X and Ultra the only thing that stood out to me that may enable the softkeys is the line:
ro.product.display=Moto X
Click to expand...
Click to collapse
Try placing it under # ADDITIONAL_BUILD_PROPERTIES After you have backed up of course.
Also, look for an xml in systemui.apk called navigation_bar.xml. It should be located in res/layout/ of your decompiled systemui apk.
What brand moto x is that I have a sprit build.prop and its didn't have ro.product.display at all. Neither dose my maxx
Sent from my XT1080 using XDA Premium 4 mobile app
Nvrmnd it just got left out when I copied it to a word doc somehow
Sent from my XT1080 using XDA Premium 4 mobile app
TheWhiteChallenger said:
Yes I'm pretty sure I found the files for hw buttons and lights and I found the imgs for back home and recent in the system ui I just have no clue how to enable them. I think something needs to be added to one of the XML files of the ui
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
are you using an unlocked version?
have you tested your deodex framework-res to ensure it works?
if i give you a moddified framework-res.apk do you know how to properly push it? obviously you need root and RW on the /system
do u have a backup?
or a way back if need be?
in other words do you know what you are doing?
and will not hold me responsible in any way shape or form?
and fyi you cant just adb push the framework while booted you will bootloop. cause you have to rm - the odex and apk will be over written when you push, the best way would be to push it while in recovery, ( which you would only have if you have a dev version)
i say all that to warn you,
A) its 100% untested.
b) i dont have a device to even test it on.
C) beware bootloop is a possibility especially if you dont know what you are doing.
its compressed just unzip do what you will with it
framework-res.zip Show_navbar
and yes your right(ish) the bool.xml in the framework has to be changed from
Code:
<bool name="config_showNavigationBar">[COLOR="Red"]false[/COLOR]</bool>
to
Code:
<bool name="config_showNavigationBar">[COLOR="red"]true[/COLOR]</bool>
Actually strangely enough the framework res is factory deodex. No I don't have Dev edition (yet) to pushing via adb is out right? Will copy and paste with root explorer work, setting proper permissions of course, or is it going to f%#k up right away? I have no total back up but I've got the important stuff and it wouldnt be the first time of me using the fxz back to stock
Sent from my XT1080 using XDA Premium 4 mobile app
And I absolutely will hold you responsible.
Not really.
Sent from my XT1080 using XDA Premium 4 mobile app
I am not responsible for what you do to your phone. I am 99.9% sure this will not bork your phone but if it does its your fault not mine. OK? Great. Enjoy.
I dont have this phone though ive done this on other phones ive owned. Im confident it will work.
If anyone is feeling adventurous, ive modified the framework-res.apk to show the nav keys. Below is the best way to apply it. You must be rooted and be willing to flash back to stock if things go wrong (or push the backed up app if possible). You may have issues if you are not deodexed, though included in the instructions below is how to apply it even if you are not. You also must be able to use adb. Id make a flashable zip but you dont have a recovery.
Copy the framework-res.apk file to your internal storage however you please.
Make sure your phone is plugged into your computer and adb debugging is enabled.
Type the following commands (read carefully!):
adb shell
Click to expand...
Click to collapse
su
Click to expand...
Click to collapse
(look on your phone, it may ask for superuser permissions, allow it)
stop
Click to expand...
Click to collapse
(note: this will make your screen go black and it will be unresponsive, this is normal)
cp /sdcard/framework-res.apk /system/framework/
Click to expand...
Click to collapse
(if you have a problem at this point type: adb remount and try this step again.)
rm /system/framework/framework-res.odex
Click to expand...
Click to collapse
(only do this if your apk is not deodexed)
reboot
Click to expand...
Click to collapse
On reboot you should have onscreen nav keys.
Here is the modded framework: https://dl.dropboxusercontent.com/u/44601870/framework-res.apk
I see runandhide05 has also done the mod for you. I can confirm that what he (and I) have done is what adds the nav keys to the moto x (which i have).
mentose457 said:
I am not responsible for what you do to your phone. I am 99.9% sure this will not bork your phone but if it does its your fault not mine. OK? Great. Enjoy.
I dont have this phone though ive done this on other phones ive owned. Im confident it will work.
If anyone is feeling adventurous, ive modified the framework-res.apk to show the nav keys. Below is the best way to apply it. You must be rooted and be willing to flash back to stock if things go wrong (or push the backed up app if possible). You may have issues if you are not deodexed, though included in the instructions below is how to apply it even if you are not. You also must be able to use adb. Id make a flashable zip but you dont have a recovery.
Copy the framework-res.apk file to your internal storage however you please.
Make sure your phone is plugged into your computer and adb debugging is enabled.
Type the following commands (read carefully!):
(look on your phone, it may ask for superuser permissions, allow it)
(note: this will make your screen go black and it will be unresponsive, this is normal)
(if you have a problem at this point type: adb remount and try this step again.)
(only do this if your apk is not deodexed)
On reboot you should have onscreen nav keys.
Click to expand...
Click to collapse
Questions... Is this for the modded framework red posted above I don't see a link for one in ur post?
If u did do one ur self did you do it off of the FW red I posted?
Sent from my XT1080 using XDA Premium 4 mobile app
TheWhiteChallenger said:
Questions... Is this for the modded framework red posted above I don't see a link for one in ur post?
If u did do one ur self did you do it off of the FW red I posted?
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It should be in my post now. It is infact of the framework you posted on the first page.
The adb crap may not work right now. You need to mount the system as r/w and i dont know what file system the X/Ultra etc use. Though it may work because the way root was aquired for this phone. Worst case is you cant copy the file to the system. No harm will be done.
mentose457 said:
It should be in my post now. It is infact of the framework you posted on the first page.
The adb crap may not work right now. You need to mount the system as r/w and i dont know what file system the X/Ultra etc use. Though it may work because the way root was aquired for this phone. Worst case is you cant copy the file to the system. No harm will be done.
Click to expand...
Click to collapse
It should be noted that there were two ways to root your ohone, the first DID NOT allow rw on the /system
The second from jcase allows rw only when booted into "recovery" which is not the normal recovery but a mirror img of your /system and will appear as normally booted however you have rw access to the system.
This is how you would have to do it. If you rooted with his first release you wont have rw on the system, if thats the case use his latest release and follow his instructions in his OP then do as mentose457 suggested
Thanks a bunch guys my battery's almost dead so I'm going to try this in the morning. And thank you runanhind for giving specifics as to what was done
Sent from my XT1080 using XDA Premium 4 mobile app
Oh and what is the adb command to reboot to recovery if there is one? I've had problems getting changes to stick if the first reboot after the changer doesn't have write access
Sent from my XT1080 using XDA Premium 4 mobile app
TheWhiteChallenger said:
Oh and what is the adb command to reboot to recovery if there is one? I've had problems getting changes to stick if the first reboot after the changer doesn't have write access
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I believe it's:
Code:
adb reboot recovery
But someone please correct me if I'm wrong... =x

[MOD] Exchange Security Bypass - 4.4.2

This is a tested and working Exchange Security Bypass that I am using on my AT&T LG G3. This mod should work on any variant of LG G3 that is running stock or AOSP ROM's.
All credit goes to the below developer, I was simply looking for a solution to bypass the exchange security policy that required me to have a password or pin on my lockscreen. After several tests using Xposed Framework and other APK's I came across this and it works flawlessly. You can see the developers thread here.
http://forum.xda-developers.com/showthread.php?t=1965468
DISCLAIMER: I'm not responsible if:
• You get caught by your employer and are punished in any way
• This bricks, breaks, scratches, dents, misplaces or cracks your phone
• This security bypass leads to any negative outcome.
USE THIS AT YOUR OWN RISK.
I have rooted my phone and used Root Browser to perform the following steps (You can use ADB as well, please follow the guide in the link above).
Instructions:
1. MAKE A BACKUP OF YOUR STOCK EMAIL (LGEmail.apk & LGEmail.odex) - Copy and place it in another folder incase anything happens and you want to revert.
*Stock LG Email is located in system/priv-app​2. After your make a backup, delete the stock LGEmail.apk and LGEmail.odex files
3. Download the files attached to this post and put them in the system/app folder
4. Change the permissions of the two new APK's (Exchange2.apk & Email.apk) to rw-r-r (DON'T FORGET TO DO THIS)
4. Once the 2 files (Exchange2.apk & Email.apk) are placed in your system/app folder, click on them and install
5. That's it...close out of your root explorer, open your new email app and set up your exchange account. :good:
I hope this helps users who are looking for a solution to their exchange security issues like I was. Enjoy
btw u can only do this if u are rooted..for those who arent dont even try it
crazyagg said:
1. MAKE A BACKUP OF YOUR STOCK EMAIL (LGEmail.apk & LGEmail.odex) - Copy and place it in another folder incase anything happens and you want to revert.
*Stock LG Email is located in system/priv-app​2. After your make a backup, delete the stock LGEmail.apk and LGEmail.odex files
Click to expand...
Click to collapse
It should not be necessary to delete the LGE apps, the two can work side by side. And if you are set on disabling the LGE app it is probably better to freeze it with TBU than delete, in case you change your mind later.
Those contemplating the use of this mod should keep in mind that the LGE stock email app is FAR, FAR, FAR more intelligent than the stock KK email app when it comes to autoconfiguring your Exchange connection. In fact I recommend running the LGE stock app first, then going into settings and taking a screenshot to document how the account was configured. You will almost certainly have to enter this information manually into the KK app because it will be unable to figure it out on its own.
Why not just edit data\system locksettings.db ?
canecbr600 said:
Why not just edit data\system locksettings.db ?
Click to expand...
Click to collapse
Because I'm nit sure what to edit, I've always just used a hacked APK. Please feel free to shed some light though and provide a little more detail.
You've peaked my interest.
Sent from my LG-D850 using XDA Premium 4 mobile app
crazyagg said:
Because I'm nit sure what to edit, I've always just used a hacked APK. Please feel free to shed some light though and provide a little more detail.
You've peaked my interest.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Go to data/system and there is a file locksettings.db. Open it in SQL editor. Next tap on locksettings, and u should have a item listed as lockscreen.password_type . Change the value for this to 0. That will change lockscreen to swipe to unlock.....
canecbr600 said:
Go to data/system and there is a file locksettings.db. Open it in SQL editor. Next tap on locksettings, and u should have a item listed as lockscreen.password_type . Change the value for this to 0. That will change lockscreen to swipe to unlock.....
Click to expand...
Click to collapse
I'm assuming I'd need to set up exchange first and once it enforces the password lock I'd need to modify the file? I would assume when adding an exchange account it would change change that value.
Sent from my LG-D850 using XDA Premium 4 mobile app
crazyagg said:
I'm assuming I'd need to set up exchange first and once it enforces the password lock I'd need to modify the file? I would assume when adding an exchange account it would change change that value.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes sir, you got it. I always use this method, with stock exchange email.
LG Email has no widget, which is a killer for me. I'm following all the directions above but unable to install the Exchange, though the Email was easily installed. Any thoughts on why?
---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------
Has anyone tried this method?
http://forum.xda-developers.com/showthread.php?t=1749921
canecbr600 said:
Go to data/system and there is a file locksettings.db. Open it in SQL editor. Next tap on locksettings, and u should have a item listed as lockscreen.password_type . Change the value for this to 0. That will change lockscreen to swipe to unlock.....
Click to expand...
Click to collapse
Does that work for all exchange policies?? If so f'ing awesome
---------- Post added at 07:13 PM ---------- Previous post was at 06:59 PM ----------
bjc112 said:
Does that work for all exchange policies?? If so f'ing awesome
Click to expand...
Click to collapse
Worked great. Thanks so much. Now I can dump stock kit kat exchange hacked email app.
JPD19 said:
LG Email has no widget, which is a killer for me. I'm following all the directions above but unable to install the Exchange, though the Email was easily installed. Any thoughts on why?
---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------
Has anyone tried this method?
http://forum.xda-developers.com/showthread.php?t=1749921
Click to expand...
Click to collapse
That's the one I always use, but now we got the inside track on the sql editor... Stock app is definitely better than the exchange bypass, but ill take what I can get..
canecbr600 said:
Go to data/system and there is a file locksettings.db. Open it in SQL editor. Next tap on locksettings, and u should have a item listed as lockscreen.password_type . Change the value for this to 0. That will change lockscreen to swipe to unlock.....
Click to expand...
Click to collapse
This caused a bootloop at the Verizon logo. How do I fix this??
JPD19 said:
This caused a bootloop at the Verizon logo. How do I fix this??
Click to expand...
Click to collapse
I realized I edited the database incorrectly...I had to reset my phone by going into recovery mode, but this method does work if you edit the database just as described.
Would anyone know what the "value" should be if you want knock code instead of swipe to access phone?
GroovyGeek said:
It should not be necessary to delete the LGE apps, the two can work side by side. And if you are set on disabling the LGE app it is probably better to freeze it with TBU than delete, in case you change your mind later.
Those contemplating the use of this mod should keep in mind that the LGE stock email app is FAR, FAR, FAR more intelligent than the stock KK email app when it comes to autoconfiguring your Exchange connection. In fact I recommend running the LGE stock app first, then going into settings and taking a screenshot to document how the account was configured. You will almost certainly have to enter this information manually into the KK app because it will be unable to figure it out on its own.
Click to expand...
Click to collapse
Can you please explain how to do this?
kobbz said:
Can you please explain how to do this?
Click to expand...
Click to collapse
Run TBU, touck checkmark icon in upper right of screen, wait for "Calculating scenarios" message to complete, scroll down to Freeze/Defrost, touch appropriate option (could the color scheme of TBU be any more awful than it is? sheesh, the developer must be color blind ) then select apps to freeze/defrost.
GroovyGeek said:
Run TBU, touck checkmark icon in upper right of screen, wait for "Calculating scenarios" message to complete, scroll down to Freeze/Defrost, touch appropriate option (could the color scheme of TBU be any more awful than it is? sheesh, the developer must be color blind ) then select apps to freeze/defrost.
Click to expand...
Click to collapse
LOL .. what's TBU? (I must be clearly missing something. Sorry if this has been explained before)
kobbz said:
LOL .. what's TBU? (I must be clearly missing something. Sorry if this has been explained before)
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup
https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackupPro
TBU - Titanium Backup, must have if you're rooted.
ddavtian said:
TBU - Titanium Backup, must have if you're rooted.
Click to expand...
Click to collapse
I see... I'm familiar with the app. I guess I'd never heard of it referred to as TBU before. Thanks guys.
---------- Post added at 05:13 PM ---------- Previous post was at 05:10 PM ----------
kobbz said:
I see... I'm familiar with the app. I guess I'd never heard of it referred to as TBU before. Thanks guys.
Click to expand...
Click to collapse
One odd thing is happening. I have root explorer installed and from that application, I browse to the location where the locksettings.db file lives. However, when I click on the file and the "Complete Action Using" pop up window comes up, I don't see SQL Editor as one of the choices there. Alternatively, I thought I'd just open SQL Editor directly and try to edit the file in there; this does not work since SQL Editor has not been granted root access.
Anyone know if there's a way to grant a specific application root access?
kobbz said:
I see... I'm familiar with the app. I guess I'd never heard of it referred to as TBU before. Thanks guys.
---------- Post added at 05:13 PM ---------- Previous post was at 05:10 PM ----------
One odd thing is happening. I have root explorer installed and from that application, I browse to the location where the locksettings.db file lives. However, when I click on the file and the "Complete Action Using" pop up window comes up, I don't see SQL Editor as one of the choices there. Alternatively, I thought I'd just open SQL Editor directly and try to edit the file in there; this does not work since SQL Editor has not been granted root access.
Anyone know if there's a way to grant a specific application root access?
Click to expand...
Click to collapse
You should be able to add it through super user or reopen a few times to get the root prompt.

Categories

Resources