[Q] build.prop HEEEEELP - Nexus 4 Q&A, Help & Troubleshooting

To mods. I have posted the same message in "Android Development and Hacking > Android Apps and Games > [GUIDE] How to edit build.prop on any Android device!". Please handle it as you wish. Sorry for the double post.
Hi all!
I have a Nexus 4 running on PAC (Android 4.2.2).
I have edited the build.prop file (so that it shows as a Note2, and it worked just fine), but before that I had taken a copy of the original one in one file (lets call it copyNexus...but the name is still build.prop), and a copy of the edited file (lets call it copyNote...still same name).
I used the edited file for some time, but now I wanted it reverted back to the original settings.
Once I set copyNexus in /system/ and overwrote the edited file, I rebooted my phone and after the Google logo it just goes blank.
I booted through TWRP recovery to set it back to copyNote through the file manager, but still the problem is the same.
Any suggestions?
Would an installation of PAC fix it?
It is crucial that I do not format everything as I 1st need a backup (I know. Bad thing that I thought this AFTER the catastrophe...)
Thanks!

Extract the original copy from the .zip file and save it on the root of your sd card. Then download aroma file manager and delete the build.prop and copy over the one you've just extracted. If that doesn't work, take a nandroid and flash the original rom and gapps without wiping cache or dalvik or anything else. If that doesn't work, you'll have to start again from scratch
Sent from my HTC Sensation using xda app-developers app

Rymon said:
To mods. I have posted the same message in "Android Development and Hacking > Android Apps and Games > [GUIDE] How to edit build.prop on any Android device!". Please handle it as you wish. Sorry for the double post.
Hi all!
I have a Nexus 4 running on PAC (Android 4.2.2).
I have edited the build.prop file (so that it shows as a Note2, and it worked just fine), but before that I had taken a copy of the original one in one file (lets call it copyNexus...but the name is still build.prop), and a copy of the edited file (lets call it copyNote...still same name).
I used the edited file for some time, but now I wanted it reverted back to the original settings.
Once I set copyNexus in /system/ and overwrote the edited file, I rebooted my phone and after the Google logo it just goes blank.
I booted through TWRP recovery to set it back to copyNote through the file manager, but still the problem is the same.
Any suggestions?
Would an installation of PAC fix it?
It is crucial that I do not format everything as I 1st need a backup (I know. Bad thing that I thought this AFTER the catastrophe...)
Thanks!
Click to expand...
Click to collapse
Mount /system in TWRP
Go to the build.prop in TWRP file manager and click on it. CHMOD 0644

Related

[Q] Non-apk app that needs reinstalled

I flashed nonsensikal 8.2 to my Eris and attempted to load my apps back. I have one called vRecorder, which contrary to popular opinion, worked great for recording phone calls. However, when I attempted to reload it I found it is unavailable and no longer supported. After trying several other call recorders, all failures, I'm left with trying to install my old one. The problem is, it isn't a .apk file, it's a .zip file. I originally downloaded this off the market, but since then the developer has packed up his bags and I can't get in touch with them. The .zip file located in the /data/app folder contains the following files:
AndroidManifest.xml
res (folder which contains four more folders all of which contain image and xml files)
resources.arsc
Since I cannot back this up using Astro and it's a zip format, is there any way to either convert it to .apk or flash it like a rom? I tried simply renaming it to apk and it acted like it installed, but gave me the message saying 'application not installed' when it completed. Any help would be appreciated.
Rhordae said:
I flashed nonsensikal 8.2 to my Eris and attempted to load my apps back. I have one called vRecorder, which contrary to popular opinion, worked great for recording phone calls. However, when I attempted to reload it I found it is unavailable and no longer supported. After trying several other call recorders, all failures, I'm left with trying to install my old one. The problem is, it isn't a .apk file, it's a .zip file. I originally downloaded this off the market, but since then the developer has packed up his bags and I can't get in touch with them. The .zip file located in the /data/app folder contains the following files:
AndroidManifest.xml
res (folder which contains four more folders all of which contain image and xml files)
resources.arsc
Since I cannot back this up using Astro and it's a zip format, is there any way to either convert it to .apk or flash it like a rom? I tried simply renaming it to apk and it acted like it installed, but gave me the message saying 'application not installed' when it completed. Any help would be appreciated.
Click to expand...
Click to collapse
Try resigning it. You can find out how to do that in the Eris roll up thread
rename it back to zip... pull it to your computer... then adb install -r appname.zip
Actually just rename it to a .apk
hakkeshou said:
Actually just rename it to a .apk
Click to expand...
Click to collapse
I already tried renaming it and installing it that way but after I ran it, it went through the install process and ended with the message "Application not installed." I will try what vinylfreak89 suggested by installing SDK on my pc and trying the adb install. I'm also trying to find how to resign in the rollup thread. I'll let you know how it goes.
Are you sure the program didn't download to the phone's DATA/APP folder as a ZIP as well as an APK in DATA/APP-PRIVATE?
I am having the same problem re-installing with a 'protected' Market program.
My app-private folder is empty (using Root Explorer). However, I found a call recorder that seems to be working for me. It's called rVoix and can be found in thread 806451 in this forum.
My Eris has been rooted and I'm using nonsensikal 8.2 black rom (I highly recommend this rom, it's awesome).
Did you nandroid before you flashed the new rom? If so, restore the old rom, use titanium to back up the app, nandroid back to the current rom, and restore the app.
Sent from my ERIS using XDA App

Can I install the stock boot animation?

Hey Guys,
I installed SmoothROM and that took away the stock boot animation. Is there anyway I can download and install the stock "X" animation on my Nexus 7?
Thanks
STXInnovation said:
Hey Guys,
I installed SmoothROM and that took away the stock boot animation. Is there anyway I can download and install the stock "X" animation on my Nexus 7?
Thanks
Click to expand...
Click to collapse
Download the stock bootanimation.zip (make sure that it is called bootanimation.zip, if not, rename it) and paste it into /system/media. delete the other bootanimation.zip that is there. reboot and enjoy.
ROM Toolbox has tons of boot animations. I'm pretty sure it has the stock one.
Sent from my MB612 using xda app-developers app
I also prefer the original Nexus 7 boot animation; here is my copy.
Replacing the boot animation is pretty straight forward, using a ROOT capable file manager.
I use X-plore File Manager for making such minor modifications to /system.
----------------------
First, set the file managers settings to Superuser + Mount Writable (or something similar, dependent on file manager).
Next, locate (in /system/media) and delete (or backup) your current bootanimation.zip... and then copy the Nexus 7's stock bootanimation.zip into the same place.
Once done, set the file permissions accordingly (to 644).
In X-Plore File Manager this is done by LONG PRESSING on the file in question, selecting the permissions option from the context menu that appears... and then checking some tick boxes - see screenshot for details.
-----------------------
Although the above is a relatively easy and straightforward procedure, I strongly advise, before doing anything...
*** MAKE A NANDROID BACKUP FIRST ***
If you should make some mistake with this procedure, then your device could potentially become unbootable into the Android OS (known as a 'soft brick').
But if you have a NANDROID backup to fall back on, and in the unfortunate eventuality of such a 'softbrick'... it's a relatively simple matter to restore back to your current 'status quo'.
Good luck.
Rgrds,
Ged.
I don't think the Nexus 7 bootanimation will work for Nexus 10. Does anyone have the Nexus 10 one?
GedBlake said:
I also prefer the original Nexus 7 boot animation; here is my copy.
Replacing the boot animation is pretty straight forward, using a ROOT capable file manager.
I use X-plore File Manager for making such minor modifications to /system.
----------------------
First, set the file managers settings to Superuser + Mount Writable (or something similar, dependent on file manager).
Next, locate (in /system/media) and delete (or backup) your current bootanimation.zip... and then copy the Nexus 7's stock bootanimation.zip into the same place.
Once done, set the file permissions accordingly (to 644).
In X-Plore File Manager this is done by LONG PRESSING on the file in question, selecting the permissions option from the context menu that appears... and then checking some tick boxes - see screenshot for details.
Good luck.
Rgrds,
Ged.
Click to expand...
Click to collapse
Thank you GedBlake. replace system bootanimation with your copy using Root Explorer and follow your instruction about file permissions then reboot and it work just fine on my device.
dtnsen ptole
Thanks guy, I got it to work!

I lost my music app

currently im using galaxy s4 i9500 and i try to install 3rd party music app but it fails and i didnt take any backup of my previous music app
So can someone post that apk ??
name :SamsungMusic_20.apk
Thanks !!
You can extract it from any touchwiz rom.
GDReaper said:
You can extract it from any touchwiz rom.
Click to expand...
Click to collapse
I dont want to download any rom !!
btw i have a stock rom but it is in .md5 format
ankrishx18 said:
I dont want to download any rom !!
btw i have a stock rom but it is in .md5 format
Click to expand...
Click to collapse
There are lots of touchwiz zips around the forum. Get one and extract the music player from there.
Or simply download one from the play store.
GDReaper said:
There are lots of touchwiz zips around the forum. Get one and extract the music player from there.
Or simply download one from the play store.
Click to expand...
Click to collapse
but i want the stock one !!
ankrishx18 said:
but i want the stock one !!
Click to expand...
Click to collapse
Then either wait until somebody decided to post you the apk
Or
You can extract it yourself, which may be faster.
Good luck.
GDReaper said:
Then either wait until somebody decided to post you the apk
Or
You can extract it yourself, which may be faster.
Good luck.
Click to expand...
Click to collapse
can u post that apk ??
if ur usng stock rom
ankrishx18 said:
can u post that apk ??
if ur usng stock rom
Click to expand...
Click to collapse
I would have posted it, but I'm not using the stock rom.
GDReaper said:
I would have posted it, but I'm not using the stock rom.
Click to expand...
Click to collapse
Its ok Btw thnks fr help
@ankrishx18 if you have that tar.md5 rom stored on your phone or memory card temporarily delete the last part of the file extension so it's just romsname.tar instead of romsname.tar.md5
from there you'll be able to open it with zarchiver https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver
and then extract/copy the apk from /system/apps/
you'll need to be rooted though in order to paste it into your own /system/apps/ folder and change it's permissions to 644 aka rw_ r__ r__ and then reboot.
if you have it on your PC you could try renaming it romsname.zip but I don't know if that will work (never tried it). don't forget to put it back to what it should be after
@3mel I just found this inside in system.img which was present in "rom.tar.md5"
when i try to open system.img with pc it gives me an error "The disc image file is corrupted"
and no system apps is visible inside this img
my bad I forgot that it's not like a zip would be inside.
there are 2 tools you need to open roms on PC and that's something I don't do so I can't remember the name of them. I'll see if I can hunt down the apk for you instead, but as I don't know what the original file size it should be this could be dodgy...
are you rooted ? and what version are you on ? I'll see about downloading a small custom touchwiz rom and extracting it from there for you if nobody else jumps in to help.
having trouble using the attachments here...
uploading this one stupid file took me 3 times longer than downloading the 1.1gb rom
https://www.dropbox.com/s/5rzfbgt3vuv9iia/SMusic.zip?dl=0 here is a zip file to the SMusic.apk file taken from a i9500 lollipop 5.1.1 rom that can be found here http://forum.xda-developers.com/galaxy-s4/i9500-develop/rom-98-5-1-1-based-ale95-v2-t3304828
you need root to put this back into /system/priv-app/
permission will probably be 644 aka rw_ r__ r__ you'll need a root capable file browser to paste it and change the permissions. if pasting doesn't work you might need to mount system first which you can do with the terminal emulator app.
Code:
su
mount -o rw,remount /system
if needed this will let you paste into the system folder. just press enter after each line then use the file browser
reboot afterwards and test. if that doesn't work the mod you tried may have changed some library files.
3mel said:
my bad I forgot that it's not like a zip would be inside.
there are 2 tools you need to open roms on PC and that's something I don't do so I can't remember the name of them. I'll see if I can hunt down the apk for you instead, but as I don't know what the original file size it should be this could be dodgy...
are you rooted ? and what version are you on ? I'll see about downloading a small custom touchwiz rom and extracting it from there for you if nobody else jumps in to help.
having trouble using the attachments here...
uploading this one stupid file took me 3 times longer than downloading the 1.1gb rom
https://www.dropbox.com/s/5rzfbgt3vuv9iia/SMusic.zip?dl=0 here is a zip file to the SMusic.apk file taken from a i9500 lollipop 5.1.1 rom that can be found here http://forum.xda-developers.com/galaxy-s4/i9500-develop/rom-98-5-1-1-based-ale95-v2-t3304828
you need root to put this back into /system/priv-app/
permission will probably be 644 aka rw_ r__ r__ you'll need a root capable file browser to paste it and change the permissions. if pasting doesn't work you might need to mount system first which you can do with the terminal emulator app.
Code:
su
mount -o rw,remount /system
if needed this will let you paste into the system folder. just press enter after each line then use the file browser
reboot afterwards and test. if that doesn't work the mod you tried may have changed some library files.
Click to expand...
Click to collapse
Thanks Bro for ur Help (Y)

Device is not turning on after deleting and restoring font folder

Recently I wa restoring my font folder from a backup I had, so I deleted the one that was inside the system folder and pasted the original one, next I reboot the phone and now when i turn it on it doesn't go beyond boot animation, anyone can help me?
Baltimore0690 said:
Recently I wa restoring my font folder from a backup I had, so I deleted the one that was inside the system folder and pasted the original one, next I reboot the phone and now when i turn it on it doesn't go beyond boot animation, anyone can help me?
Click to expand...
Click to collapse
This is the fonts directory under /System - Unzip this from your laptop, then use this from TWRP under /System and it should work fine.
XDA doesn't let me upload, so here's the link: https://ufile.io/qowb9
(this will be deleted in 30 days from this post)
zetret said:
This is the fonts directory under /System - Unzip this from your laptop, then use this from TWRP under /System and it should work fine.
XDA doesn't let me upload, so here's the link: https://ufile.io/qowb9
(this will be deleted in 30 days from this post)
Click to expand...
Click to collapse
I used it and it worked perfectly, thanks

[HELP] Stuck on "Android One" boot screen after editing build.prop

So, i was trying to add the line "ro.debuggable=1" to my build.prop file.
First i tried to use build.prop editor and es file explore but that didn't work.
I then copied the file to my SD card so i could edit it using notepad on Windows 10.
Then after i finished editing it i replaced the original file with the edited one using TWRP.
When i restarted it just stayed on the "Android One" boot screen forever.
I then removed the new line from the file using the same method but it still is just stuck at the boot screen.
Yes, i know i could just backup my important data and reflash but i currently don't have enough storage space on my computer for my files.
Any help will be greatly appreciated.
Thanks
EDIT: I reflashed the system partition and that seemed to do the trick! BUT Now WiFi isn't working...
EDIT2:Well turns out i can just flash the entire phone without losing my data. Everything works fine now!

Categories

Resources