How to disable the home key button at screen off in Cobrato's miui GB 1.7.15?
i 've try Pierre's method which is :
•Open Root Explorer
•Go to /system/usr/keylayout
•Click on the button ‘Mount R/W’ (upper right)
•Locate, press and hold es209ra_keypad.kl file
•Select ‘open in text editor’
•Find this line:
•key 102 HOME WAKE_DROPPED
•Remove the WAKE_DROPPED, so that the end result is:
•key 102 HOME
•Save the file
•Reboot
•Done
my problem is after i edit, save&exit, the "WAKE_DROPPED" can't be removed or cant edit at all. Why? How come this rom won't allow me to edit es209ra_keypad.kl file?
i'm using root explorer ver 2.16,Click on the button ‘Mount R/W’ ,set permission rw-r--r--
Hope some1 can help. TQ
maybe copy your file to pc, edit it with notepad ++ or something & copy it back to your phone in its original location & overwrite the existing file & set the permissions?
thanks!! It's work with ur method. But it also disable the long press to on the torch as well. That's ok for me.
Hi,
In France, the 4th Mobile Operator, FREE, is launching a wifi access for mobile phone. This access is relayed by all the Adsl Box from FREE ADSL.
The SSID of this Wifi Access is "FreeWifi_secure" and it is protect by WPA EAP-SIM.
FREE is solding some android phones with the ability to configure EAP-SIM but they do not share the changes they made it on their Roms.
I use an EVO 3D GSM with KingIceCobra3D 1.2. And i found a simple method to connect to this wifi.
In the file:
/data/misc/wifi/wpa_supplicant.conf
Code:
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
[COLOR="Red"]network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
[/COLOR]
Add theses Lines in red
Carefull to preserve the rigths of this file after the modification
1) Get the File and rename it to wpa_supplicant.conf
2)
Code:
adp push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
adb shell chown 1000:1010 /data/misc/wifi/wpa_supplicant.conf
adb shell chmod 660 /data/misc/wifi/wpa_supplicant.conf
adb shell ls -l /data/misc/wifi/wpa_supplicant.conf
-rw-rw---- 1 1000 1010 272 May 17 09:10 /data/misc/wifi/wpa_supplicant.conf
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
FXJumper.
Just checked on mwakious3Drom 4.0 ... works great
remerciements?
tuxstang said:
Just checked on mwakious3Drom 4.0 ... works great
Click to expand...
Click to collapse
I would like +1 on my "thank meter" and you will my first fan ;-)
merci,
fx
Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104
mgl2 said:
Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104
Click to expand...
Click to collapse
Use a root file browser. Root Explorer. Also, be sure to mount it as RW (advanced options)
Thank u for your help.
a) All right : I put the wpa_supplicant.conf into my phone but now i can't activate wifi due to an error
b) what the second code is for ? (what have i to do with this code ?)
thx
Edit : a) it's Ok now after editing the file : i don't have to replace the initial text but to add the red text from fxjumper (i'm an idiot cause that's what he said )
The B) point isn't resolve : what is the code for and when have i to put it inside ?
Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,
fxjumper said:
Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,
Click to expand...
Click to collapse
It works for you????
I did it and it can t connect to the network but it s trying now...
Any idea?
Precisions
(Google traduction --- sorry)
After a few questions in Private Message, here is a method from a blank file and edit it.
i) file format (dos or unix encode)
ii) to file permissions
This is how I propose to proceed
1) recovering the file on the computer
2) we change
3) upload it on the mobile
4) we check the consistency of the file (right)
------------------------
It is left
------------------------
1) I assume the phone is Rooted
we will save the file wpa_supplicant.conf that derail and recreate one:
Code:
adb shell
cd /data/misc/wifi
cp-a wpa_supplicant.conf wpa_supplicant.conf.sav
rm wpa_supplicant.conf
exit
Switch OFF/ON the wifi
Copy the file on the computer
pull adb shell /data/misc/wifi/wpa_supplicant.conf wpa_supplicant.conf
2) To modify the file I suggest you use notepad++
http://download.tuxfamily.org/notepa....Installer.exe
Edit the file, and add at the end
network = {
ssid = "FreeWifi_secure"
key_mgmt = WPA-EAP IEEE8021X
eap = SIM
priority = 5
}
save
3) is the upload
Code:
adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf.new
4) It checks the credentials and the owner and the old file
Code:
adb shell
cd /data/misc/wifi/
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
We crush our file
Code:
cat wpa_supplicant.conf.new > wpa_supplicant.conf
This should solve our problem of right and permissions
we check again:
Code:
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
Sincerely,
Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.
tuxstang said:
Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.
Click to expand...
Click to collapse
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Hello B_E_N,
In private message, you said you are using a motorola milestone xt720 under cronosx 2.3.7, a cyanogen mod 7 customized.
Now i sent you a patch with /system/framework/com.orange.authentication.simcard.jar
We are waiting your test ...
Sincerely,
CM9 nightlies + SGS
Hello,
I just tried this modification, but cannot find a way to make it work...even though I doublecheck both the permission and the content of the file
For information, I'm running CM9 nightlies for my Samsung Galaxy S.
Until now it doesn't work for me ... even with rom toolbox. Permissions and owners are checked and ok.
Next try : via adb & androisd sdk.
o2x - cm7 - FREE
One more thing : no more error message but wifi try to connect without result ...
o2x - cm7 - FREE
B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Here's how i proceede from ground up on my EVO 3D, with Mwakious, Predator and KingCobra ICS roms.
1/ go in settings and select FreeWifi_secure
2/ set a lock PIN as requested
3/ switch off WiFi
4/ open ES File Explorer
5/ check "Up to Root", "Root Explorer" and "Mount FileSystem" in ES File Explorer settings
6/ navigate to /data/misc/wifi
7/ edit wpa_supplicant.conf
8/ save
9/ switch on WiFi and select FreeWifi_secure
10/ unset lock PIN
Hope it helps.
it was that easy?????
should work on all rooted phone so
works like a charm on my evo
Don't work with my phone...
How do you change owners parameters with ES explorer ?
Regards.
o2x - cm7 - FREE
Hi,
maybe you can use an alternate method on post #11 in
http://forum.xda-developers.com/showthread.php?t=1639437&page=2
what's your phone by the way ?
I'm using CM7.2 on a Nexus One.
I edited the file with ES Explorer, saved, activated wifi...
But doesn't work... It tries to connect but fails.
Tun.ko for Xperia Neo/ xperia Neo v to make your Vpn work :highfive: :good:
with the help of " Root explorer " ( paid version )
https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer
https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer
or do google search to get " paid Root explorer "
first copy to
/system /sdcard/tun.ko
then to /system/lib here change the permissions to rw-r-r ( paste in /system/lib because to change the permissions)
atlast, cut and paste in /system/lib/modules/ :good:
Now this vpn dialogs is to make other vpn to work... :angel:
VpnDialogs :
copy and paste in system/app and set permissions to rw-r-r and reboot
voila now your vpn start work...
Tested in :
Droidvpn
Tunnelbear
Hotspotsheild
All files attached below.... any kind of help please Pm
If this thread helped you then please press " Thanks Button "
Xperts if i goes anywhere wrong please guide us
"Hello all , i post my new guide to change icons without using apktool . This guide is for newbies though other all advance developer may think this useless or may be they known this a very ago.
# Note :-
1) This guide is for all newbies who want to edit there app icons , but dont have apktool or have no knowledge about it .
2) This guide is only applicable for system apps .
3) You should have knoweledge for flashing zips by CWM .
# What is needed ?
1) A must have computer with paint (opptional) [ some phones with Zarchiver app can be used . ]
2) WinRar
3) A flashable zip file supplied by other developer .
4) A icon Set which you want to replace with .
# Procedure :-
1) Make a directory called " stock " .
2) Paste your app in it .
3) Below i have taken SystemUI.apk.
4) Rename that app to SystemUI.zip ( just make .apk to .zip format )
5) Then go to options (press right mouse button) press Extract to SystemUI
6) After extracting go to the extracted folder " SystemUI"
7) Browse to res / drawable-mdpi / you will find all icons there . ( In my case its mdpi , it may be hpdi .)
8) Note that the resolution must be same or it may not look good . [ Expiremental ]
9) Replace the icon which you want to from your icon set .
10) Go back to folder where you will find folders like META-INF , res , & files like AndroidManifest.xml , classes.dex, resources.arsc .
11) Now select that all files and press the right button of the mouse ( the options button) .
12) Select the Add to Archive option .
13) Now keep the same name of the app you are modding and select " zip " .
14) A new zip file is created like " SystemUI.zip" . Rename it to SystemUI.apk ( just from .zip to .apk )
15) Now your modded app is ready .
16) Take the flashable zip provided by other developer .
17) open that zip and replace your file with his . ( in folder system/app/ " replace here ." )
18) Save the zip . And Flash it using CWM !!! Enjoy now you can see your modded icons .!! "
Hello, I do everything according to the manual, but after replacing the app and restart your tablet app disappears from the main mena on the tablet, what I'm doing wrong?
sorry for my english, thang.
hi Everyone,
I'm sticked with the common issue of how to make writable the external SD.
I've read topics on the forum:
http://forum.xda-developers.com/desire-601/help/how-to-writable-external-sd-kitkat-t2877686
http://forum.xda-developers.com/desire-601/help/sd-card-permissions-off-t2833195
http://forum.xda-developers.com/showthread.php?t=2687734
Well ok, but I'm a noob so sometimes it's not clear, sometimes it's not working for me.
So let's explain:
- My device is rooted (it was made by a tech using TWRP if I'm right)
- SuperSU is installed
1/ I tried some apps like SDfix and Int-SDCard Write fix
> Result = KO
2/ I tried to manually modify the platform.xml file > sometimes the editor does not want to save the modification, sometimes it says OK but the file don't seem to be modified (the last modification date is still 2014). Permissions are: rw-r--r--
a. Using Rom Toolbox, I go the file and edit it with:
-FX TextEdit > Get a Warning = "This file is on read-only filesystem. You will not be able to save any changes unless you first remount it as read/write'
> Result = KO
- RB Text Editor: it seems i can edit it. Save the file without warning message 'Saved'. But once back on the /system/etc/permissions folder, nothing looks modified (not today's date). I can reopen the file and see the modification by the way. But once I reboot, I go back the my original issue.
> Result = KO
- ES Text editor: can't even save the file
> Result = KO
So what ?
I've seen this message coming along:
"if you are rooted then you doing something wrong (did you maybe forgot to mount system as R/W ?).
If you are unable to do modify platform.xml then you doing something wrong or yours device isnt rooted."
> At what moment is it possible to mount the system with R/W grants ?
I'm fed up with not being able to write on SD card....................
Thx in advance !!!!!
Opening a terminal on my phone:
- i can't 'cp file1.xml file2.xml' in /system/etc/permissions
- i can't 'chmod 644 file1.xml'
Each I get "Read-only file system"
Flash your stock kernel with insertcoin or kofilakernel