Stock Generic.kl - Galaxy S 4 Q&A, Help & Troubleshooting

can someone please upload the stock Generic.kl file. I ruined mine and my backup is corrupt (I know I'm an idiot).
The file is found in /system/usr/keylayout
My menu/back/power button isn't working

please... and I do have a GS4 (att) I just haven't put it in my sig yet

never mind I fixed it by wiping cache. my backup wasn't corrupt

Related

[Q] nandroid backup quiestion

I currenty running Thor rom 14.2 and i want to return to stock 3.1.
I have a nandroid backup but accidentally i deleted .txt files inside.
Could i restore it or my tablet will brick
anyone??
First of all: Remember xda-developers is quite international so the person with the answer to your question may be asleep or working at the time you post...
Other than that: If you deleted part of your backup that's bad. You may get away with a partial (possibly non-functional) restore, or restore may fail altogether... Both shouldn't brick your tab, but you might have to do a full wipe and configure your rom from scratch; it may well be worth trying a restore, though, as you won't be causing any more damage anyway if your tab doesn't work anymore. Just make another nandroid backup in case you decide things were better before you hit the restore button... As long as you don't accidentally kill your recovery, android devices are incredibly hard to brick.
jimmis1996 said:
I have a nandroid backup but accidentally i deleted .txt files inside.
Could i restore it or my tablet will brick
Click to expand...
Click to collapse
I just checked a number of nandroid backups of mine and the only ".txt" file that I could see was uid.txt in the main backup directory that contained the ".img", ".tar", and ".md5" files.
You could just run another nandroid BU of your current system and copy over the uid.txt file from that one to replace the one that you deleted. The uid.txt file should be the same from one BU to the next.
Jeff.
Thanks
Thanks for your help
So if i create a .txt file with my id number my restore will work?
Is there another way to restore to stock.
jimmis1996 said:
Thanks for your help
So if i create a .txt file with my id number my restore will work?
Is there another way to restore to stock.
Click to expand...
Click to collapse
If you just put a text file with some random information in it, it may not work right.
Here is the procedure that was suggested:
Make a backup of your current settings
make a copy of the text file in that most recent backup
place that copied text file in the backup with the missing text file
try to restore the backup that was missing the text file, which you just copied the text file to
Psichi said:
If you just put a text file with some random information in it, it may not work right.
Here is the procedure that was suggested:
Make a backup of your current settings
make a copy of the text file in that most recent backup
place that copied text file in the backup with the missing text file
try to restore the backup that was missing the text file, which you just copied the text file to
Click to expand...
Click to collapse
I will try it.
I remember when i downgraded to 3.0 from 3.2 i use something called APX mode could this restore my tab to full stock
problem solved
ok backup my rom copy uid file and everything is ok.thanks

Rooted phone, backed up efs and then flashed CM9

Hello
I rooted my phone using hardcore's speedmod kernel as shown in the CyanogenMod webpage and then inmediately backed up the /efs folder doing a tar using an Android Terminal Emulator
However, the MD5 files information don't match the files themselves
For example
The MD5 string contained in .nv_data.bak.md5 doesn't match .nv_data.bak
The same for the other files as well.
Is my /efs corrupted? My phone has never been touched before, just stock roms applied thru Kies
I have noticed a new folder has popped up in the /efs folder called "lost+found". Why did it go there?
Do yu have another suggestion to backup the /efs as well? seems doing tarballs looses UNIX/Linux permissions
Thank you.
resotre only one file and reboot
albertocastillo2001 said:
Hello
I rooted my phone using hardcore's speedmod kernel as shown in the CyanogenMod webpage and then inmediately backed up the /efs folder doing a tar using an Android Terminal Emulator
However, the MD5 files information don't match the files themselves
For example
The MD5 string contained in .nv_data.bak.md5 doesn't match .nv_data.bak
The same for the other files as well.
Is my /efs corrupted? My phone has never been touched before, just stock roms applied thru Kies
I have noticed a new folder has popped up in the /efs folder called "lost+found". Why did it go there?
Do yu have another suggestion to backup the /efs as well? seems doing tarballs looses UNIX/Linux permissions
Thank you.
Click to expand...
Click to collapse
I had same problem when I install jelly bean first time on my I9000. After reading of some articles about efs folder I decided to restore only one file .nv_data.bak. And it works. I have done in following steps.
1) Backup full efs folder. (For safty purpose only)
2) Deleted both files nv_data.bin.md5 & nv_data.bin
3) Restored nv_data.bin only (No need to put back md5 file)
4) Restart the phone
Let me know if it works.
Hello
My phone works. It's just I have noticed the backup I made at the beginning just after I rooted my phone don't match. But the backup itself.
The backup files don't match their own .MD5 in the backup itself
Thanks!
Any ideas of why these files don't match?
albertocastillo2001 said:
Hello
My phone works. It's just I have noticed the backup I made at the beginning just after I rooted my phone don't match. But the backup itself.
The backup files don't match their own .MD5 in the backup itself
Thanks!
Click to expand...
Click to collapse
Hello
I've also checked that once in a while, some of the files inside /efs such as nv_data.bin and nv_data.bin.md5 change their modified date.
Any idea of why this happens and why the MD5 data doesn't match?
Thank you.

must back up your efs on stock rom?

I just rooted my brand new note3 but I forgot to backup my EFS before flashing X-note... Now I made a backup on X-note rom, is it still ok for restore if I ever lost my EFS? Thank you
As long as you have the EFS file then it should be OK, keep it seperated from your internal HD if possible also!
EDIT: Btw the EFS file is around 14MB or so -
darn,.. my backup only 408KBs. I use this method http://forum.xda-developers.com/showthread.php?t=2447342 result said Everything is OK..
any idea why my file is so small?
from my root explorer ... the efs folder only 1.4MB big
OH! when i decompressed the file, there is disk image file is around 14MB
how do i restore it? btw.... I throw this compressed winrar file into ODIN? or decompress first, and then select these individual files accordingly
h3nyr said:
darn,.. my backup only 408KBs. I use this method http://forum.xda-developers.com/showthread.php?t=2447342 result said Everything is OK..
any idea why my file is so small?
from my root explorer ... the efs folder only 1.4MB big
OH! when i decompressed the file, there is disk image file is around 14MB
how do i restore it? btw.... I throw this compressed winrar file into ODIN? or decompress first, and then select these individual files accordingly
Click to expand...
Click to collapse
Sounds like it's OK.
Restoring I'm not so sure, due to me not having done it myself, I know you need busybox installed though or you'll encounter problems. Be warned EFS cause be a major ballache to do from people I've seen trying to restore, some have no issues though.

[Q] Help me! I need a file for all the hardware keys

I was trying to disable the hardware buttons, the one next to the home button, and use on screen buttons. But when I edited the file the first time the back button was disabled which is what I wanted but not the other button (menu?). So I tried again and when es file explorer saved it, it saved it as a empty text document. So what I'm asking you is a copy of your generic.kl file which is located in system>use>keylayout. Im sorry if this is in the wrong place im just kinda scared about what could happen, like not being able to power back on. Thank you!
xada162 said:
I'm asking you is a copy of your generic.kl file which is located in system>use>keylayout.
Click to expand...
Click to collapse
You should start making backups. Everyone runs into problems eventually and if you had a backup you could revert to a 100% stable system with only a few clicks.
The file that you can want can be found in the full, stock firmware image. Just download the full firmware and use winrar to extract what you need.
.
Just dirty flash the rom you have (without a wipe).
fffft said:
You should start making backups. Everyone runs into problems eventually and if you had a backup you could revert to a 100% stable system with only a few clicks.
The file that you can want can be found in the full, stock firmware image. Just download the full firmware and use winrar to extract what you need.
.
Click to expand...
Click to collapse
So I have backups of my phone with twrp but I'm lost as to what I need to look for/where that file is going to be
xada162 said:
So I have backups of my phone with twrp but I'm lost as to what I need to look for/where that file is going to be
Click to expand...
Click to collapse
I thought you knew exactly what file you accidentally corrupted. In your original post you said
xada162 said:
I'm asking you is a copy of your generic.kl file which is located in system>use>keylayout.
Click to expand...
Click to collapse
So on that basis, you could extract the cited file from the TWRP system image. Or temporarily restore it and copy that file. Or for that matter simply restore the entire /system partition. The latter would cover you even if you weren't positive which system files were corrupted.
So boot to TWRP, wipe your system cache, then restore the system partition from a known good backup and call it day.
.

help restoring platform.xml

Hey guys....
Trying to modify my sd write permissions I badly messed up everything in my permission.xml file.....
is there anyway to restore the phone without re flashing or by doing factory reset.
If possible...pls any1 f u just upload the platform.xml file so that I can replace it with mine...
Thanx
https://www.dropbox.com/s/op0of5elvrt8a6n/platform.xml?dl=0

Categories

Resources