Trying to change fingerprint.prop... - Streak 5 Android Development

I was in the process of copying over the fingerprint to my pc so I could edit it. I renamed it as phone.prop.bak before moving it. Now I can't change it back to a .prop, it stays as a .bak.
I haven't edited anything yet and I won't until I get this part fixed but how do I do that??

do You have your pc set up to hide known extensions?

Related

[Q] Fix for invisible sub-menu?

After rooting via Indirect's method, many sub-menus are not readable due to the text being the same color. Has anyone found a standalone fix for this? (I noticed snowball mod addresses it but am already rooted).
there is a partial fix available, but as of now it isn't practical to implement.
btw, there is a discussion about this later down the board. I can't link to it right now. I asked the same question, and I was told to use search instead of the answer and a link to the discussion. I wanted to let you know better than I was told what was going on about this issue.
From what I understand this is a non-trivial problem to solve.
The snowball root method has the fix for this, but its injected while in the root process, but i have read that the framework-res.apk provided in the snowball-mod.zip contains the fix (replaced files) and apparently by just replacing this .apk to your existing system/framework/framework-res.apk it should do the job. However i haven't found someone that has tested this yet and i dont have my nook yet so if you want to give it a try DO IT AT YOUR OWN RISK. Dont worry if it doesn't work you may get bootlops or FC's nothing major and by doing the "magic card" method for go back to stock you be fine again.
I will attach the framework-res.apk if someone wants to give it a try and please report back the results.
*NOTE: You need to uncompress first and inside you will find the .apk
Path: system/framework/
1. Copy the .apk to your sdcard
2. Using a file explorer (eg. root explorer, es file explorer) navigate to your sdcard find the .apk you just copied and copy it
3. Go back and navigate to system/framework/
4. rename the existing framework-res.apk to framework-res.apk.bak
5. immediately hit paste
6. reboot
7. report back
Veronica
lavero.burgos said:
The snowball root method has the fix for this, but its injected while in the root process, but i have read that the framework-res.apk provided in the snowball-mod.zip contains the fix (replaced files) and apparently by just replacing this .apk to your existing system/framework/framework-res.apk it should do the job. However i haven't found someone that has tested this yet and i dont have my nook yet so if you want to give it a try DO IT AT YOUR OWN RISK. Dont worry if it doesn't work you may get bootlops or FC's nothing major and by doing the "magic card" method for go back to stock you be fine again.
I will attach the framework-res.apk if someone wants to give it a try and please report back the results.
*NOTE: You need to uncompress first and inside you will find the .apk
Path: system/framework/
1. Copy the .apk to your sdcard
2. Using a file explorer (eg. root explorer, es file explorer) navigate to your sdcard find the .apk you just copied and copy it
3. Go back and navigate to system/framework/
4. rename the existing framework-res.apk to framework-res.apk.bak
5. immediately hit paste
6. reboot
7. report back
Veronica
Click to expand...
Click to collapse
i can confirm that this works. the only thing you would need to double check before replacing the framework-res.apk is to check the permissions and make sure they are correct because once you replace the apk, the NT auto reboots and if you did the process correctly it will boot up normally, otherwise you will be stuck in an infinite boot loop...
The fix did not work for me I made sure the permissions were the same but my go launcher settings are still white on white
Montisaquadeis said:
The fix did not work for me I made sure the permissions were the same but my go launcher settings are still white on white
Click to expand...
Click to collapse
If you got the snowball bootanimation then the framework-res.apk applied just fine.
However, as I may have mentioned above, but have certainly mentioned elsewhere: the white-on-white fix in snowball-mod is a stop-gap for one specific set of menus (and could even cause black-on-black for those menus!)
We cannot fix all white-on-white, and black-on-black problems without entirely retheming just about everything in the framework-res.apk, which involves the backgrounds and the texts.
As noted above: "this is a non-trivial solution".
Does the snowball animation say hack by Barnes & Noble?
Edit Looks like the modified framework-res.apk file is what is causing the nook not to charge while its on as my nook has stopped charging when its on which sucks as I use the nook constantly through out the day.
Well, if you want to just spill the beans like that... yes.
Just wanted to make sure it had taken as I havent payed any attention the boot animation in the past

SystemUI.apk fix

Alright, I was trying to replace the SystemUI.apk with the new menu buttons. I renamed the old one to Systemui.apk.bak and after I did that ICS started acting up again and restarted by itself. When it turned back on, no menu bar, and the system won't let me rename it to the original or move the new one. I've tried everything I could think of, such as using adb through my pc and downloading multiple file explorer apps. Nothing works. Any help would be great cause I can't back out of an app without restarting the system.
Are you mounting the drive in R/O mode? Must be Read/Write to make changes.
Wow, I guess I should have thought of that. I got it working now. Thanks alot.

Framework-res always displays glitches

I tried to decompile, modify 1 xml file and recompile the framework-res.apk.
But everytime I do it, I either get into a boot loop, or when In succeed it displays glitches (like notification bar, and messed up lock screen, and settings)
This is for AURORA ICS 4.0.3 and I do have the latest aapt.exe file .. so I don't know what is wrong!
I tried to use the original framework-res but replace the resources file inside, stored and compressed methods.
Tried to get the compiled framework-res but add the META-INF and Manifest file (again, both with compressed and stored resources file) and always.. it just glitches or bootloops.. and the mod that I tried (ICS on screen buttons or the CRT effect when you switch off the screen, mainly used in Oxygen roms, but it's available in all ROMs).. it never works.. only glitches the lock screen, notification bar etc..
Any help?
Thanks.
I might know the answer to this..
Which files are you modifying in framework-res? And how are you pushing it back to your phone?
Sent from my U20i using xda premium
Would be great
I am modifying some files in the values folder, bools.xml, arrays.xml .. but even if I edit bools.xml alone, it still glitches.
To push it back: I go to recovery mode on my phone, plug it into my linux machine (the system partition mounts), paste the new framework-res.apk to replace the old one, fix permissions (otherwise it boot loops), and restart the phone. This method works for other files and never had any problems, like the android.policy.jar
Would be great if you can help me. Thanks
Well, the XML files you're editing are all part of resources.arsc so it's something to do with that which is causing the problem. I used to get all sorts of annoying bugs when I edited anything in resources.arsc and I eventually found out that I was pushing the final apk back to the phone incorrectly.
I use a Windows PC, not Linux, so I might not be that helpful but this is what I do to modify and replace framework-res.apk. Hopefully it'll help. What I do is..
Decompile framework-res.apk
Make my changes
Recompile the file
Use a program like 7zip to open the old and the new files
Drag and drop the "res" folder from the new file into the old
Extract resources.arsc from the new framework-res.apk and add it to the old one in "STORE" mode, so it's not actually compressed
Go into recovery, mount the system partition and push the old file
..and that's it. Works a charm every time.
I would have thought that you would need to do the same thing on Linux but with the additional step of correcting the permissions. If you do all that and it still doesn't work, then there has to be a problem with the actual mod you're trying to do.
Thank you very much, I actually tried that method. It sort of worked, but everytime it breaks the notification bar. It becomes like double the size and I'm not sure why.
Thanks.
Then the issue must be with the modification itself. What exactly are you changing to what?
Sent from my U20i using xda premium
I tried different ones.. but even a simple one.. enable CRT animation.. which is pretty much open bools.xml and edit one true to false.. it breaks it :/

[Q] How to modify a system file?

Hi there,
I upgraded my Galaxy 551 to Gingerbread 2.3.6. All went well. Unfortunately it seems to be a common side effect that the Z and Y keys (and some others) get swapped. The fix is apparently to modify the file /system/usr/keychars/sec_keypad.kcm.bin. The ideal thing is to put the old file from before the FW update back in, but of course I don't have that anymore! But the existing one can apparently be altered. If I can copy it to the SD card I can alter it in a hex editor and put it back.
So, I rooted my phone with that one click application, and that went OK too. I installed root explorer and found the file. There were also some others in the same folder I may be able to use. But, I cant make the folder R/W (pressing the button does nothing) so cant do anything with the file. I also tried Super Manager with no luck.
I am new to the phone fiddling stuff so noob level instructions would be appreciated!
Think I have it sorted. I installed superuser and then Root Explorer allowed me to select read/write. Now to try sort out this file!
OK, seems that you need to edit the file /system/usr/keylayout/sec_keypad.kl. Did that. DO'H now my keyboard doesn't work at all! Glad it saved a backup for me! Not sure what I did wrong, only edited two characters in a text file! Even the power button doesn't work. Got to pull that battery out LOL!
It seems when the file was saved it was saved with zero size. When I try to delete it to replace it with the backup it says cant delete, read only. So, not sure how I am meant to replace this and fix this problem.
Any ideas, remembering that I cant actually use any buttons on the phone!

[Q] SystemUI.apk won't load - Jiayu G4 JB 4.2.2

Hi, I already took a look around this forum and searched for this problem on Google, but i can't find an useful solution that is not "reinstall the ROM"
and i would like to avoid it.
I'm trying to edit my SystemUI.apk, to make the status-bar background back to black. (right now it's trasparent and it's driving me crazy)
with apktool i installed the framework-res.apk and the systemui.apk, then i extracted the systemui.apk, modified it, i placed inside the resources.arsc then recompiled it, i took the apk into systemui/dist and placed back on my cellphone, then i replaced the original SystemUI.apk with fx root explorer and my jiayu rebooted by himself.
Then I saw that the status bar, notifications, wallpaper, everything, was disappeared, i can't toggle anymore my smartphone to the pc.
There was a backup of the systemui.apk, systemui.odex and framework-res.apk, so i placed back the systemui.apk and the systemui.odex (like always).
Then i rebooted the smartphone manually but the wallpaper/statusbar/etc. (all the informations inside systemui.apk) still won't load.
I tried replacing them again, shutting down, remove the battery, rebooting, replace the framework, i tried everything that was coming to mind to me.
On the internet i found a way to solve this problem with ADB toggle, but I can't find a way to make it work: it tells me that the application is installed on the SDCard where i don't even have an SDCard attached.
and i'm not able to install the SystemUI.apk using Terminal emulator either (another solution found on the internet).
Is there someone that knows how to solve this problem without installing the rom again? i would like to avoid the problem to put back in all of the stuff i have on my smartphone... there's maybe a way to regenerate the contents inside system/app without the entire rom.
Putting that stuff back in manually won't work...
-----------------
EDIT: Solved... Please delete this post and sorry for the troubles... The solution was easy: application list -> systemui -> delete updates and cache -> reboot.
Solved...

Categories

Resources