[Fix]-No lockscreen and power menu-Ics Fix - AT&T Samsung Galaxy S II SGH-I777

After hours of trying to fix this issue where my lockscreen wouldnt show up on ics and my power menu wouldnt work and my home button wouldnt work sometimes. Here is a fix
ok so the problem is this-The efs partition is corrupted
1.) You must have the Samsung drivers installed for the i777, available from samsungs website
2.) Once installed, download the attached zip, its a copy of ADB with the needed file inside
3.) Unzip to any location
4.) Boot phone into cwm
5.) Go into Mounts and Storage, and select "mount /efs". Once done connect usb cable to phone and computer
6.) Open command prompt and navigate to the unzipped adb. Issue the following command "adb devices" it should list phone
7.) Now issue the following command "adb push keystr /efs/imei"
8.) Reboot phone and check presence of keystr file in /efs/imei directory with Root Explorer
An alternative for all the noobs-
1.Download Root Explorer
2.Navigate to Efs in the root of youre gs2
3.Create a folder called imei {if not already there}
4.Create a file in the folder imei called "keystr" -Ex. http://db.tt/Pk2U8Nws
5.Hold on the file keystr till you see a menu pop up in root explorer
6.Click on text editor
7.Type "ON"
8.Click save and exit
9.Enjoy and hit thanks
If you're efs partition is totally corrupted then flash this-
http://d-h.st/oZ2

ymcmbforever said:
After hours of trying to fix this issue where my lockscreen wouldnt show up on ics and my power menu wouldnt work and my home button wouldnt work sometimes. Here is a fix
ok so the problem is this-The efs partition is corrupted
1.) You must have the Samsung drivers installed for the i777, available from samsungs website
2.) Once installed, download the attached zip, its a copy of ADB with the needed file inside
3.) Unzip to any location
4.) Boot phone into cwm
5.) Go into Mounts and Storage, and select "mount /efs". Once done connect usb cable to phone and computer
6.) Open command prompt and navigate to the unzipped adb. Issue the following command "adb devices" it should list phone
7.) Now issue the following command "adb push keystr /efs/imei"
8.) Reboot phone and check presence of keystr file in /efs/imei directory with Root Explorer
An alternative for all the noobs-
1.Download Root Explorer
2.Navigate to Efs in the root of youre gs2
3.Create a folder called imei {if not already there}
4.Create a file in the folder imei called "keystr" -Ex. http://db.tt/Pk2U8Nws
5.Hold on the file keystr till you see a menu pop up in root explorer
6.Click on text editor
7.Type "ON"
8.Click save and exit
9.Enjoy and hit thanks
If you're efs partition is totally corrupted then flash this-
http://d-h.st/oZ2
Click to expand...
Click to collapse
Thanks for this, I've had to manually make sure to have a keystr && keystr.bak, both ON, and through root-explorer have had to go to efs/imei to reenable my lock screen.
Such a huge pain

Same here but i had to figure it out manually after posting multiple threads and nobody awnsering
Sent from my SAMSUNG-SGH-I777 using XDA

ymcmbforever said:
Same here but i had to figure it out manually after posting multiple threads and nobody awnsering
Sent from my SAMSUNG-SGH-I777 using XDA
Click to expand...
Click to collapse
nobody answers because its obviously a very very rare case. This is the first I've ever heard of anything like this.
But none the less. glad you found a fix for it man. Good find!

I already had the file there with ON properly set and I still got the black screen on wake up..
Sent from my SGH-I777 using Tapatalk

Slavestate said:
I already had the file there with ON properly set and I still got the black screen on wake up..
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
This isn't supposed to fix that. And what black screen ? And when does it occur
Sent from my SAMSUNG-SGH-I777 using XDA

Umm. I downloaded the file and flashed through CWM and yet my keystr file remains empty. No matter what I do to text edit keystr it won't save even if I save it. I feel like I have no options left .

Coak5 said:
Umm. I downloaded the file and flashed through CWM and yet my keystr file remains empty. No matter what I do to text edit keystr it won't save even if I save it. I feel like I have no options left .
Click to expand...
Click to collapse
When you are doing it make sure to go to cwm and go to mounts and storage and unmount efs and try all the methods above
Sent from my SGH-I777 using xda premium

Related

Some help with OTA install

I attempted as many did to update the new OTA. You can find it on this forum. I constantly got an error 7 after the install failed as the install looked at my Preinstall files. After any number of attempts, I used a standard Preinstall directory. I deleted the current Preinstalled, using Root Explorer I did a copy paste. Bingo, Bango, Bongo. Install Complete!!
Here is a link to a dropbox copy of the preinstall.
http://dl.dropbox.com/u/8489906/preinstall.zip
posted a couple of different forums. Trying to help
Some were having trouble with the dropbox download. On another site a helpful member uploaded them to:
http://www.megaupload.com/?d=LKAU0HOO
Might just be me, but the link isn't working. Can you re-post it?
Sent from my DROID RAZR using XDA App
There you go. Try it now.
Could someone please provide detailed instructions on how to apply this?
Some help
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
benlane said:
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
Click to expand...
Click to collapse
I hope this works This has been driving me crazy! I'll post my results and spread the word to others I've spoken to about this frustrating issue. Great find, and thanks for sharing!
Edit: Strange, as soon as I delete the original preinstall folder, and hit paste, it asks if I want to merge folders instead of just paste. If I go into another folder, then back to the root folder, preinstall reappears... I'll try merging, but sounds like that isn't going to work.
Edit 1: Failed Maybe my issue has something to do with the preinstall folder being repopulated the instant I delete it, which doesn't allow me to simply replace it with the one hosted in the OP.
I believe I only have one option now... to learn how to dev, graduate, intern at Motorola, get a job at Motorola and work my way up the ladder until I can decide how FXZ files are protected, and release them to the public!
I still get this error
assert failed: getprop("ro.product.device") == "cdma_spyder" || getprop("ro.product.product") == "cdma_spyder"
E: Error in /sdcard/Blur_version.6.11.744.X912.Verizon.en.US.zip
(Status 7)
Strange issue with the preinstall
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Could you possibly direct me to that, via pm if necessary?
Sent from my Transformer TF101 using xda premium
benlane said:
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Click to expand...
Click to collapse
Please post or pm the link to the nitro install. Thanks!
Yes...Having trouble as well, if anyone has the nitro link...
Nitro's stuff
teegunn said:
Please post or pm the link to the nitro install. Thanks!
Click to expand...
Click to collapse
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
benlane said:
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
Click to expand...
Click to collapse
Yep, that did the trick.
So if I just froze some apps with tb can I just unfreeze them and install the ota without a problem?
Edit: never mind...I underuse my apps updated and rerooted :-D
Sent from my DROID RAZR using Tapatalk
networkdood said:
Yep, that did the trick.
Click to expand...
Click to collapse
Somehow that thread got killed....I was able to grab the rom, but not the update that was posted....Anyone have the update handy? Was there anything special about it or was it the normal one that already available?
EDIT: Nevermind, I dont need it...My issue, like most, was the preinstall directory.

Not working lockscreen and power button menu on stock ICS

Hello.
I had searched for answer for last two days. But nothing found, only answers for rooted phones.
The problem is, when I push power on/off button it locks, but when push it to unlock it doesn't show any slide lockscreen, pattern lock or smtn. + when I hold power button, it just shutdowns, without any airplane mode etc.
Hope, u'll help me.
P.s. The only answer for this is, I've to root phone again, change that one file and unroot it back to stock? If it's possible..
Sent from my GT-I9100 using XDA
officialKKM said:
Hello.
I had searched for answer for last two days. But nothing found, only answers for rooted phones.
The problem is, when I push power on/off button it locks, but when push it to unlock it doesn't show any slide lockscreen, pattern lock or smtn. + when I hold power button, it just shutdowns, without any airplane mode etc.
Hope, u'll help me.
P.s. The only answer for this is, I've to root phone again, change that one file and unroot it back to stock? If it's possible..
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
edit keystr file inside /efs/imei (if it's not there create it), then type ON inside it and reboot, that should do it
LegendK95 said:
edit keystr file inside /efs/imei (if it's not there create it), then type ON inside it and reboot, that should do it
Click to expand...
Click to collapse
As I said, I can't edit it cuz my phone isn't rooted(phone doesn't give access to Root Explorer.apk)
Sent from my GT-I9100 using XDA
That is the fix. You will have to root to do it. If you don't want to root, then you won't be able to fix it, and should flash back to a Gingerbread firmware.
Its going to need one a factory reset and two if that fails a re download of the firmware .
Probable that either flash was not 100% or firmware file not 100% .
You dont have any other choice staying in the non XDA dev world as you are restricted .
jje
same probs bro!!!
I have d same prob... I think i bcos for i choosed "phone efs clear" in odin during installing ICS. Pls help me from basic..
I tried to return to my official base rom.. but after installation passed, it gives many error while phone start up with red letters and goes to recovery screen.
Anybody knows the perfect solution.. Thn pls help me out..
Thanks..
dev_ks said:
I have d same prob... I think i bcos for i choosed "phone efs clear" in odin during installing ICS. Pls help me from basic..
I tried to return to my official base rom.. but after installation passed, it gives many error while phone start up with red letters and goes to recovery screen.
Anybody knows the perfect solution.. Thn pls help me out..
Thanks..
Click to expand...
Click to collapse
no lie, clearing your phone efs was probably the dumbest thing you could do. especially if you have no backup. in no instructions i have seen do they tell you to clear efs which contains all the phone's information (imei, mac address, etc).
if you don't have a backup of your efs folder, you're done. have to send it back to samsung
akusokuzan said:
no lie, clearing your phone efs was probably the dumbest thing you could do. especially if you have no backup. in no instructions i have seen do they tell you to clear efs which contains all the phone's information (imei, mac address, etc).
if you don't have a backup of your efs folder, you're done. have to send it back to samsung
Click to expand...
Click to collapse
But I'm not cleared any efs folder.. The problem started from unrooting my phone to Gingerbread 2.4.4(some time ago)
Sent from my GT-I9100 using XDA
officialKKM said:
But I'm not cleared any efs folder.. The problem started from unrooting my phone to Gingerbread 2.4.4(some time ago)
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
We know your thread has been hijacked by a poster who wiped efs and his keyboard .
I would .
....................................
Clean Slate for those that balls up the firmware .Or need to return to service or decide if its hardware/firmware problem .
Backup data first if phone is working .
Boot CWM recovery ( root and cwm kernel required )
Mounts and Storage
Format cache data system and sd card .this will wipe the lot .
Remove battery
Boot to download mode
Open Odin
Install correct stock firmware GB version only this will wipe root .
Still problems use usb jig to set rom counter to zero .
Return to service centre .
jje
LegendK95 said:
edit keystr file inside /efs/imei (if it's not there create it), then type ON inside it and reboot, that should do it
Click to expand...
Click to collapse
I have the power button problem, have rooted, but:
- Sorry for asking, but how do I create this file mentioned above? I googled but answers are all leading to java or programming etc.
I thank so much anyone who can help.
PS: I did go to the folder in my Android, but the file is not there
mbernstein said:
I have the power button problem, have rooted, but:
- Sorry for asking, but how do I create this file mentioned above? I googled but answers are all leading to java or programming etc.
I thank so much anyone who can help.
PS: I did go to the folder in my Android, but the file is not there
Click to expand...
Click to collapse
http://www.google.com/search?q=/efs/imei/keystr+fix
ctomgee said:
http://www.google.com/search?q=/efs/imei/keystr+fix
Click to expand...
Click to collapse
Thanks!
To make it even easier for other people (from this post: http://forum.xda-developers.com/showpost.php?p=22103709&postcount=5):
Tools Needed:
1. Root Explorer
Steps:'
1. Using root explorer locate the /efs/imei/ folder. In that folder there should be a file called keystr. In my case the file was missing which is why the home-button, power button and the lock screen was missing and was causing my problems.
2. using root explorer create a new file called keystr
3. also in root explorer open the file keystr in text editor and type ON
6. make sure you save the file.
7. reboot.
mbernstein said:
Thanks!
To make it even easier for other people (from this post: http://forum.xda-developers.com/showpost.php?p=22103709&postcount=5):
Tools Needed:
1. Root Explorer
Steps:'
1. Using root explorer locate the /efs/imei/ folder. In that folder there should be a file called keystr. In my case the file was missing which is why the home-button, power button and the lock screen was missing and was causing my problems.
2. using root explorer create a new file called keystr
3. also in root explorer open the file keystr in text editor and type ON
6. make sure you save the file.
7. reboot.
Click to expand...
Click to collapse
Hello,
only need to type "on" without quote ?
Rahul-Bhutani said:
Hello,
only need to type "on" without quote ?
Click to expand...
Click to collapse
Yes, no quotes, just ON
Face unlock ~ PIN problem
Hello,
My problem is that I have face unlock which unlocks fine and everything is perfect, but if it fails to recognise me it takes me to enter a PIN. I can put in a PIN, in fact any PIN no matter how long or short it is. I have attempted to put in the PIN that I remember it was and am pretty sure it is the one I have set. Also this happened suddenly and I don't know why.
Things I have tried:
>Format cache & Dalvik
>Fix permissions
>Attempted to change it (Via settings)
>Edited the file "efs/imei/keystr" to "OFF" and "ON"
Things to consider when solving this problem?
>I do not want to deleteany of my data
>Says "Android is upgrading..." after every boot
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[SOLVED]
To do the following you must've this app already INSTALLED and CONFIGURED in your phone!
I have used an app called cerberus app, previously configured in my phone steps to this if it ever happened is:
1) login Cerberus app online
2) select "LOCK" from dropdown list and type in any number as PIN>"SEND COMMAND"
3) unlock phone and go to settings>security
4) screen lock> type in the code you have set before>"NONE"
5) back on Cerberus online select "UNLOCK" from dropdown>"SEND COMMAND"> repeat step 4 just incase
6) set up a different password
This helped for me!
solved
Root + terminal required:
ref: http://forum.xda-developers.com/showthread.php?t=1750146
On terminal emulator:
FIRST:
su
echo -n ON > /efs/imei/keystr
reboot
Click to expand...
Click to collapse
SECOND:
su
chmod 644 /efs/imei/keystr
Click to expand...
Click to collapse
Fix without root
officialKKM said:
Hello.
I had searched for answer for last two days. But nothing found, only answers for rooted phones.
The problem is, when I push power on/off button it locks, but when push it to unlock it doesn't show any slide lockscreen, pattern lock or smtn. + when I hold power button, it just shutdowns, without any airplane mode etc.
Hope, u'll help me.
P.s. The only answer for this is, I've to root phone again, change that one file and unroot it back to stock? If it's possible..
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
For lock sreen solution type tis *#87976633#

Changing the start up sound - Will someone doublecheck my work?

I was gonna ask this as a question but then I just tried it and it all worked... So on my P509 using my rooted Android 2.2.2, "Mount /system (rw/ro)" app, Astro File manager, and Terminal Emulator. I placed a blank mp3 on my sd card and named it Startup.mp3. (Found a nice short one here: xamuel. com/blank-mp3s/) I made the /system file rewritable with the "Mount /system (rw/ro)" app. Then I typed only these code bits into Terminal Emulator:
To remove the old file:
su(enter)
mount -o rw,remount /system(enter)
rm -r /system/sounds/lgeSounds/Startup.mp3(enter)
Then cause I wanna copy a file from one place to another it's (you might need to change these 2 file chains based on what you learn from astro but it's most likely the same):
cp -r /mnt/sdcard/Startup.mp3 /system/sounds/lgeSounds/ (enter)
It worked fine. I'm kinda happy I figured out how to do this but I wanna make sure I didn't screw something up. I figure I can't be the only one annoyed by the t mobile noise at start up.
Next time just replace your mp3 file to system/sounds...poweron.mp3 is the name of the original file
Sent from my LG-P500 using xda premium
There are 2 files played when the phone is turned on. One is Poweron.mp3 and the other is Startup.mp3 and both are in a folder that is read only until you mount the drive as rewritable. So you can't just go in and delete it unless you have Root Explorer which has the ability to set the system file to rewritable...or do what I just said for free.
Exoplanetary said:
There are 2 files played when the phone is turned on. One is Poweron.mp3 and the other is Startup.mp3 and both are in a folder that is read only until you mount the drive as rewritable. So you can't just go in and delete it unless you have Root Explorer which has the ability to set the system file to rewritable...or do what I just said for free.
Click to expand...
Click to collapse
So you u think you have become a themer ..:banghead::banghead::banghead:
I've used blackbird rom b4 which is nothing more than a stocked rom. I took a mp3 file (mw3 mp3) placed it in the system/sounds folder, renamed that file to poweron.mp3 than changed permissions than booted, the mw3.mp3 file worked right along the call of duty boot animation. I only worried about one file not any others
Sent from my LG-P500 using xda premium
That's cool, JRhodes85. Yeah, I thought I had done something cooler that what I did cause I made the system folder rewritable with that app but somehow thought I had done it with all the coding cause after using it to make the folder rewritable it still didn't work with my file manager...only in terminal.
jazzzzzzz...? Why so serious? These are just phones, man.

Root folder

Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
You need to ADB pull it and do what you need to change and then ADB push it. However I would do only the folder like /data/Game-O-Pornstar or /data/com.your_game_name
So an example if I wanted to pull the /data/data folder I would run the command (go to android-sdk on your computer where you unlocked your phone and find platform tools or the folder that adb.exe is inside of. Hold shift, right click, choose "open command window here")
Assume first I made a new folder in platform tools and named it calculator.
"adb pull /data/data/com.android.calculator2 > C:\Android SDK\platform-tools\calculator"
It would put the contents of the com.android.calculator2 directory (folder) into my new folder that I created and called calculator. Then when I'm finished I would do the opposite to push it back
I was just trying to put the directions into more common language but here's the link to actually get the commands
http://developer.android.com/tools/help/adb.html
There's an app called Droid Explorer for the PC that will do this with an interface but the program will often wreak havoc on your adb and fastboot drivers and services.
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
Androidcommander
Thanks man. Ill give it a try.
Sent from my HTC6435LVW using xda app-developers app

[Guide] How to have write protection disabled on boot with stock rom

For this to work you will need to be rooted with twrp installed.
This is for people who are on the stock rom or a rom without init.d support.
1. Download the wp_mod.ko file from @flar2's thread http://forum.xda-developers.com/showthread.php?t=2701816
and copy it over to your SD card (either internal or external)
2. Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
13. profit
is this like being s-off, without being actually s-off
Not entirely, you will be able to make changes to system files while booted but you won't be able to flash fastboot zips like s-off
Or you could flash this kernel.... http://forum.xda-developers.com/showthread.php?t=2705074
And yes it does work on stock
What abt using SdFix app from google play store..??
Sent from my HTC D816w using XDA Premium 4 mobile app
silver2706 said:
What abt using SdFix app from google play store..??
Sent from my HTC D816w using XDA Premium 4 mobile app
Click to expand...
Click to collapse
that will only work to repair writing to SD CARD. This fix is for writing to the system.
Personally... If you can get s off.. I would do so. Makes life easier in the long run.
-》Sent from my mind to your screen.
insmod /system/lib/modules/wp_mod.ko failed [File exists]
Wht does it mean..?
Will it work in my HTC One M7?
system r/w on a htc one developer edition
graffixnyc said:
For this to work you will need to be rooted with twrp installed.
This is for people who are on the stock rom or a rom without init.d support.
1. Download the wp_mod.ko file from @flar2's thread http://forum.xda-developers.com/showthread.php?t=2701816
and copy it over to your SD card (either internal or external)
2. Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
13. profit
Click to expand...
Click to collapse
HI, I have an HTC One m8 developer edition
Phone details and software levels.
Model HTC One M8
Android 4.4.2
HTC sense 6.0
Software 1.54.1540.9
HTC SDK API level 6.17
I have being trying to set the r/w on system but with no success. I have followed instructions in several items in XDA and none of these have worked. I tried your method, but when finally I reboot and run root explorer I still see the folders mounted as r/o..
the .ko file is in the correct directory and install-recovery.sh is correctly modified.
Any help/assistance would be appreciated.
Unable to write system files in HTC One M7
graffixnyc said:
For this to work you will need to be rooted with twrp installed.
This is for people who are on the stock rom or a rom without init.d support.
1. Download the wp_mod.ko file from @flar2's thread http://forum.xda-developers.com/showthread.php?t=2701816
and copy it over to your SD card (either internal or external)
2. Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
13. profit
Click to expand...
Click to collapse
I too can't write system files in HTC One M7 after updating to sense 6 ROM. Will this procedure cure problem in M7? Thanks in advance
ghani.911 said:
I too can't write system files in HTC One M7 after updating to sense 6 ROM. Will this procedure cure problem in M7? Thanks in advance
Click to expand...
Click to collapse
First off, please don't quote the whole top post when its a long guide like this. I know its the default to quote the post when you reply. So just delete it, before you submit your post. We don't need the thread cluttered up with multiple reposts of what is already in the top post.
The mod makes very specific changes to the kernel, so I would say there is most likely no way in heck this will work on an M7, and might even damage it.
redpoint73 said:
First off, please don't quote the whole top post when its a long guide like this. I know its the default to quote the post when you reply. So just delete it, before you submit your post. We don't need the thread cluttered up with multiple reposts of what is already in the top post.
The mod makes very specific changes to the kernel, so I would say there is most likely no way in heck this will work on an M7, and might even damage it.
Click to expand...
Click to collapse
Ok... Sorry and thanks
HTC M8 and rw fix
Still unable to get this to work,I followed your detailed instructions and wp_mod.ko is in correct directory with correct permission and install-recovery.sh is modified correctly.
However after final rebott (several in fact) /system is still r/o
I took a TRWP backup before I started so I restored and followed your instructions again , still same result, should this work immediately or will it take several reboots before it is operative? Other discussions on this and other sites indicate the latter.
Phone details and software levels.
Model HTC One M8 developer
Android 4.4.2
HTC sense 6.0
Software 1.54.1540.9
HTC SDK API level 6.17
Any assistance or suggestions would be appreciated
Which file do I use on T-Mobile rooted One M8:
1. Sense 4.4.3 (2.22 base):
wp_mod.ko
2. Sense 4.4.2:
wp_mod.ko
3. GPE 4.4.2:
wp_mod.ko
Sn8kbordin said:
Which file do I use on T-Mobile rooted One M8:
Click to expand...
Click to collapse
Whichever Sense file corresponds to your Android build in Settings>About>Software.
If you are on the stock ROM, I'm guessing 4.4.2, since I do not believe 4.4.3 has rolled out to T-Mobile yet.
As usual, I would make a nandroid before flashing anything.
redpoint73 said:
Whichever Sense file corresponds to your Android build in Settings>About>Software.
If you are on the stock ROM, I'm guessing 4.4.2, since I do not believe 4.4.3 has rolled out to T-Mobile yet.
As usual, I would make a nandroid before flashing anything.
Click to expand...
Click to collapse
Thank you. I only needed to fix apps' write access to the SD card. Here's what I did if anyone wants to do so http://forum.xda-developers.com/showpost.php?p=54696085&postcount=13
Thank you sooo much!! used this method on my desire 816 and it worked like a charm:laugh::laugh: now i dont have restart apps like adway, sd card fix..every time i reboot
hey all worked fine until i tried to open terminal
typing :
su
insmod /system/lib/modules/wp_mod.ko
then it says in terminal "execution error occurred "
any ideas? i am sure i followed the steps
JellyTooth said:
hey all worked fine until i tried to open terminal
typing :
su
insmod /system/lib/modules/wp_mod.ko
then it says in terminal "execution error occurred "
any ideas? i am sure i followed the steps
Click to expand...
Click to collapse
I get the same thing or exec failure
One max
rgolnazarian said:
I get the same thing or exec failure
Click to expand...
Click to collapse
Me the same, on HTC One Max
(Exec format error)
plz help
thanx

Categories

Resources