I have edited my build.prop with an app from the market (luckily I made a backup) but when I rebooted my phone wont boot up again..
Now I am in recovery and try to copy the backup to its place, but I dont know where the file is..
could someone point me the path of the build.prop file?
Sorry I know its a noob question..
Edit: its in the /System folder, but if I copy the backup still my phone wont boot..
Pick door 1,2 or 3
1. Reflash the ROM
2. Pull the build.prop from the nameofrom.zip, and replace existing
3. Make sure you delete the modified build.prop, when putting the backup file in /system, make sure you change name from build.prop.back to build.prop
Sent from my Nexus 7 using Tapatalk 2
18th.abn said:
Pick door 1,2 or 3
1. Reflash the ROM
2. Pull the build.prop from the nameofrom.zip, and replace existing
3. Make sure you delete the modified build.prop, when putting the backup file in /system, make sure you change name from build.prop.back to build.prop
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Actually restored a backup I had made from recovery.. so all good now..
Thank you for taking the time to answer
Sent from my HTC One X using xda premium
Related
i botched a simple bootanimation.zip change. i also cannot find the steps i was following. i have a sensation ARHD brand new version. i chose a bootanimation i like followed the steps using the program File expert. i copied and pasted into, if i remember properly /data/local once i hit paste a prompt came up and i i saw that i chose overwrite accidentally, but i didnt get a chance to read it. in any case it didnt work rebooted/powered off my phone and now the /data folder is not showing and under system/ i believe there used to be a data folder in there as well. What did i do? where are those folders? How can i successfully change my bootanimation? im new please be gentle with me.
I'm going to help you
First thing I need to know before we go any further, Do you have a Nandroid of your ROM?
Sent from my Sensation using XDA App
Nope the only back up i did was with CWM and i know Nandroid is a backup but i dont know how to do it.
thanks for responding
there is no /system/data...there's /system and /data..
Are you having issues or did you just think something went wrong bc you cant find that directory?
CruzinByU said:
Nope the only back up i did was with CWM and i know Nandroid is a backup but i dont know how to do it.
thanks for responding
Click to expand...
Click to collapse
A backup in CWM is a nandroid..In the old Amon recovery it was just called a nandroid and is stil typically referred to as that, but a backup in CWM is the same.
If the bootanimation didn't change (or changed to nothing), you probably need to set the permissions...This can be done a few ways, either thru the command prompt or a file explorer. You need to give it read and execute permissions..From the command prompt you should be able to run "chmod 777 /system/media/bootanimation.zip" and that should work fine
no issues thankfully. just believe something went wrong bc i couldnt find that directory.
Also try another app such as root explorer. Some of these apps have a hard time reading /data.
Edit: glad you got it... Lol posted while you were posting
Sent from my HTC Sensation Z710e using xda premium
Thank you for your quick response will try it and let you know how it goes
wadill said:
Also try another app such as root explorer. Some of these apps have a hard time reading /data.
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Theres a free file explorer on here called "root browser" that works great.
I think the issue here is the file permissions.
I softbricked my Skyrocket... but before I reflashed it back to stock , I was able to backup my phone with clockwork mod. I was messing around with the
framework-res.apk file so I put a .bak suffix on the original.(right before I bricked it)
When I extract the system.ext4.tar file in the CWM backup I can see the files
framework-res.apk
and
framework-res.apk.bak
I am hoping there is a way to delete the bad file and rename the good file, then recompress to a .tar file, then restore from that.
Any suggestions??
Don't actually unzip the file. Just double click on it and see it you can remove bad file. Again do not unzip the file. Can you get into CWM?
Sent from my SAMSUNG-SGH-I727 using xda premium
yes i can get into CWM. I also have a copy of the backup on my pc
Fix the copy on your PC. Then flash it
Or just load a new rom and flash it. Do not unzip the file. Just double click it and remove what you need. Then move zip back to SD. Lemme know how it goes
Sent from my SAMSUNG-SGH-I727 using xda premium
I cant see the files I need to delete and rename unless I use winrar. Is there a different program that works better with .tar files?
If it were me. Id just flash a new rom. Start from scratch. Try 7zip
LOL I may be confused
Sent from my SAMSUNG-SGH-I727 using xda premium
OMG! wasted my whole day trying this with WinRAR! Never worked! Tried it with 7zip and it worked. Thanks! Now I still have to get that file to work now that I've edited it.
Is there anyway to remove the carrier text from the drop down shade?
Rooted
S-off
Xposed- Sense 6 tool kit
dunn816 said:
Is there anyway to remove the carrier text from the drop down shade?
Rooted
S-off
Xposed- Sense 6 tool kit
Click to expand...
Click to collapse
Yes this is possible, I have it removed in my ROM.
It required decompiling the SystemUI.apk and editing the size of the text to a 0 pixel so that it is now gone. There are other ways to go about removing it, but I find this to be easiest.
Feel free to diff. my SystemUI.apk to see where the edit is made.
Or, I suppose if you are not wanting or simply do not know how to do this I can do it for you, simple MOD and I can get it done very fast. I just need you to upload your SystemUI.apk. The best way? Use something such as root explorer from the Playstore and go to your system/priv-app folder and pull the SystemUI.apk and upload to something like Dropbox and reply to this post with the said link.
andybones said:
Yes this is possible, I have it removed in my ROM.
It required decompiling the SystemUI.apk and editing the size of the text to a 0 pixel so that it is now gone. There are other ways to go about removing it, but I find this to be easiest.
Feel free to diff. my SystemUI.apk to see where the edit is made.
Or, I suppose if you are not wanting or simply do not know how to do this I can do it for you, simple MOD and I can get it done very fast. I just need you to upload your SystemUI.apk. The best way? Use something such as root explorer from the Playstore and go to your system/priv-app folder and pull the SystemUI.apk and upload to something like Dropbox and reply to this post with the said link.
Click to expand...
Click to collapse
https://www.dropbox.com/s/k46ys6lc87oea2b/SystemUI.apk Thank you so much! once you're done do i install it as a regular apk or just replace the apk in the proper directory.
dunn816 said:
https://www.dropbox.com/s/k46ys6lc87oea2b/SystemUI.apk Thank you so much! once you're done do i install it as a regular apk or just replace the apk in the proper directory.
Click to expand...
Click to collapse
Download this link: http://d-h.st/SJR
reboot to your custom recovery, find the .zip you download that I provided and flash it, wipe (only) cache and dalvik cache, then reboot.
If you reboot and it is still there, I'm guessing you are on the stock ROM and you may need to just delete the SystemUI.odex and all will be good, but I don't believe that is necessary it should work upon reboot.
Let me know.
------
For those curious, this is how the MOD was done.
1) Decompiled SystemUI.apk
2) go to res\values\dimens.xml
3) within dimes.xml find:
Code:
<dimen name="carrier_label_height">[COLOR="Red"]24.0dip[/COLOR]</dimen>
change to
Code:
<dimen name="carrier_label_height">[COLOR="Red"]0.0dip[/COLOR]</dimen>
4) recompile
How do I get back to stock..evrythings blacked out! Hardware keys are gone and I can't even access the drop down menu
Sent from my HTC6525LVW using XDA Premium 4 mobile app
dunn816 said:
How do I get back to stock..evrythings blacked out! Hardware keys are gone and I can't even access the drop down menu
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
a nandroid backup always fixes things, but I think I know the issue,
Download this new link .zip and reboot back to recovery, flash this new .zip then wipe cache and dalvik cache (only those two, this is important) and reboot.
If issue is still there, it may be because you are on an Odex ROM? and you may need to delete the SystemUI.odex
try flashing this first though and let me know,.
http://d-h.st/fGR
I have stock everything lol I just weak sauce rooted & s-off yesterday
Sent from my HTC6525LVW using XDA Premium 4 mobile app
So delete system_odex boot into recovery flash zip wipe delvik reboot right?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Everything is normal. I flashed the new v2 zip and nothing.should I delete odex and reboot?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
dunn816 said:
Everything is normal. I flashed the new v2 zip and nothing.should I delete odex and reboot?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
yea delete only the System/priv-app/SystemUI.odex reboot to recovery, wipe cache and dalvik cache, and let me know plz.
It should be working, I have it in my ROM
It didn't work carrier is still there.. nothing changed
Sent from my HTC6525LVW using XDA Premium 4 mobile app
HEY!!
I wanted to change my LCD density on the build.prop file with build.prop Editor. It worked fine.
When I tried to copy the backup back from sdcard and replace the edited build.prop with the stock one, after reboot all I can see is the OnePlus logo with the "POWERED BY ANDROID" text.
I can access TWRP, but when I check the /system directory, there is no build.prop file. So I move it again from sdcard to the /system directory. It stays there until I reboot the phone.
I did EVERYTHING! chmod, mounting, moving using adb shell, and the file just deletes itself when I reboot the phone!!
I don't want to make a factory reset since I don't have a latest backup.
Please don't ask me why did I change the LCD density. I just wanted to check something.
PLEASE HELP!!
Machlev said:
HEY!!
I wanted to change my LCD density on the build.prop file with build.prop Editor. It worked fine.
When I tried to copy the backup back from sdcard and replace the edited build.prop with the stock one, after reboot all I can see is the OnePlus logo with the "POWERED BY ANDROID" text.
I can access TWRP, but when I check the /system directory, there is no build.prop file. So I move it again from sdcard to the /system directory. It stays there until I reboot the phone.
I did EVERYTHING! chmod, mounting, moving using adb shell, and the file just deletes itself when I reboot the phone!!
I don't want to make a factory reset since I don't have a latest backup.
Please don't ask me why did I change the LCD density. I just wanted to check something.
PLEASE HELP!!
Click to expand...
Click to collapse
Reflash your ROM... Don't wipe the data partition and all will be as it was before.
Sent from my OnePlus ONE
Setting.Out said:
Reflash your ROM... Don't wipe the data partition and all will be as it was before.
Sent from my OnePlus ONE
Click to expand...
Click to collapse
no MD5 file found while installing via TWRP. Should I wipe /system?
Setting.Out said:
Reflash your ROM... Don't wipe the data partition and all will be as it was before.
Sent from my OnePlus ONE
Click to expand...
Click to collapse
I wiped system and pushed an md5 file. Still fails with no reason.
I use this ROM -
https://cyngn.com/products/oneplusone/
(On the bottom)
What error are you getting?.. You could try another download (that one may be corrupt) or CM11 ROM, you should still be able to keep your app data as long as you don't wipe that partition.. You only need to wipe system/dalvik/cache..
Sent from my OnePlus ONE
Are you mounting /system with TWRP before doing that?
Also, dont move the file, try cp which works better with crosslink devices
And try chmod 755 /system/build.prop with adb while in recovery and check the build.prop isnt edited in Windows so EOL is Windows-like, then use Notepad++ to change to UNIX-type
easy, you copy pasted so permissions are not the same as the original
reflash system or rom
Sent from my A0001 using XDA Free mobile app
Yep. Permissions should be rw-r-r (or 644). If you don't know what you're doing don't mess around with system files.
Transmitted via Bacon
So I was playing around and I decided to change the build.prop. All I did was change the model from Pixel 3 XL to Apple lol I have a backup of the original build.prop but I can't figure out how to copy it to the root system folder in TWRP. Can I use ADB sideload to do that? It's really just come to copying the original file. Thanks
Mythodix said:
So I was playing around and I decided to change the build.prop. All I did was change the model from Pixel 3 XL to Apple lol I have a backup of the original build.prop but I can't figure out how to copy it to the root system folder in TWRP. Can I use ADB sideload to do that? It's really just come to copying the original file. Thanks
Click to expand...
Click to collapse
In TWRP there is a file explorer. Can you do it from there?
Tulsadiver said:
In TWRP there is a file explorer. Can you do it from there?
Click to expand...
Click to collapse
Yeah silly me I wasn't mounting the storage correctly so it wasn't displaying anything inside the system folder. I just figured it out lol Got it to boot. Thanks though