Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,166 Members 45,805 Now Online
XDA Developers Android and Mobile Development Forum

HELP ME!!! build.prop file deletes itself upon reboot!!!

Tip us?
 
Machlev
Old
#1  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: May 2013
Default HELP ME!!! build.prop file deletes itself upon reboot!!!

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!!
 
Setting.Out
Old
#2  
Setting.Out's Avatar
Senior Member
Thanks Meter 1,331
Posts: 2,090
Join Date: Mar 2013
Location: Asnieres-Sur-Seine
Quote:
Originally Posted by Machlev View Post
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!!
Reflash your ROM... Don't wipe the data partition and all will be as it was before.

Sent from my OnePlus ONE
OnePlus ONE
NEVER SETTLE

rom: Modified Custom
kernel: AK
recovery: TWRP 2.7.1.1
Fl@sh@holic help thread

Click "thanks" for developers and anyone that helps you!!
 
Machlev
Old
(Last edited by Machlev; 21st August 2014 at 10:53 PM.)
#3  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: May 2013
Quote:
Originally Posted by Setting.Out View Post
Reflash your ROM... Don't wipe the data partition and all will be as it was before.

Sent from my OnePlus ONE
no MD5 file found while installing via TWRP. Should I wipe /system?
 
Machlev
Old
(Last edited by Machlev; 21st August 2014 at 10:59 PM.)
#4  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: May 2013
Quote:
Originally Posted by Setting.Out View Post
Reflash your ROM... Don't wipe the data partition and all will be as it was before.

Sent from my OnePlus ONE
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)
 
Setting.Out
Old
#5  
Setting.Out's Avatar
Senior Member
Thanks Meter 1,331
Posts: 2,090
Join Date: Mar 2013
Location: Asnieres-Sur-Seine
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
OnePlus ONE
NEVER SETTLE

rom: Modified Custom
kernel: AK
recovery: TWRP 2.7.1.1
Fl@sh@holic help thread

Click "thanks" for developers and anyone that helps you!!
 
Poesini
Old
#6  
Senior Member
Thanks Meter 84
Posts: 433
Join Date: Apr 2012
Location: Cali

 
DONATE TO ME
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
 
bachera
Old
#7  
bachera's Avatar
Senior Member
Thanks Meter 385
Posts: 1,569
Join Date: Sep 2013
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
 
timmaaa
Old
#8  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 6,313
Posts: 13,280
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
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
OnePlus One | crDroid/AK | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more