To all those who would like to root your device, please make sure you backup your build.prop file in /system/
If you are not rooted, you may do so using adb:
Code:
adb.exe pull /system/build.prop .
[to devs]
once you have this file, you may almost always be able to restore your device by pushing this build.prop in a bootloader-unlocked+rooted system partition, and use PC companion to force-repair it, tricking it to download the proper system blob for your phone's CDA/Customization (12xx-xxxx).
Or just make an .ftf of your original firmware.. right?
Yakandu said:
Or just make an .ftf of your original firmware.. right?
Click to expand...
Click to collapse
Yes, provided that you know the CDA and already retrieved the file blob to create the ftf.
kazuni said:
To all those who would like to root your device, please make sure you backup your build.prop file in /system/
If you are not rooted, you may do so using adb:
Code:
adb.exe pull /system/build.prop .
[to devs]
once you have this file, you may almost always be able to restore your device by pushing this build.prop in a bootloader-unlocked+rooted system partition, and use PC companion to force-repair it, tricking it to download the proper system blob for your phone's CDA/Customization (12xx-xxxx).
Click to expand...
Click to collapse
You can also use the app "build.prop Cloud Backup" in the google play store to backup really easily on your device. Like you just set a name, click backup, and it backs up to the cloud. And you can make multiple backups - like "original", "mod1", "mod2", "mod3", etc. I use it, and it works great!
Thanks for advice man.
Related
Hi everyone. I've just rooted my galaxy s 2, running on gingerbread XWKE8. I'm planning to install a new rom.have heard about various rom available.
1. Is villain 2.0 rom okay? The main purpose for installing a custom rom for me is to save battery as I'm outdoor most of the time. as of now my gingerbread is working well except for this battery issue. Is it worth changing the rom?
2.Was reading about titanium backup
I've done back up of my custom apps + system data on phone' s external sd card. I don't have paid version of titanium. Can't buy it either. (no credit card).anyway, shall i be get nandroid backup too, just in case? when i install new rom n use TB for restore, since it*
Has system data as well, won't it overwrite the old data on the new rom? it sounds un believable coz it thwarts the whole purpose of installing a new rom. So will there be an option of ticking individual files to restore as per my choice? (no pro version of . titanium). If so, how do i know which one to be restored?
3. If clockworkmode has a back up option why do we need a titanium backup? cos it gives a nandroid type backup?
4. Can clockworkmode be used to upgrade to a new firmware (custom our stock) or odin should be used as in rooting with a little modification (depending on if firmware has one file or 3 files)?
Please enlighten.
Thank you very much
Sent from my GT-I9100 using XDA App
1) See for yourself if it's worth it.
2) Yes do a nandroid and check this before changing rom.
3) Nandroid is a exact copy of your current set-up, restoring it would undo the custom rom flash.Titanium backs up your apps so you can restore them after changing rom.
4) Depends on how the files are provided. Both should be possible.
For a credit card alternative I use this.
Hi.thanks a lot for replying. How do I get nandroid backup? Do I've to use rom manager in order to do nandroid backup? Cos when I search for nandroid in market, it doesn't return any nandroid app as such.
Sent from my GT-I9100 using XDA App
No boot in to recovery, go to backup and restore and backup.
TheGhost1233 said:
3) Nandroid is a exact copy of your current set-up, restoring it would undo the custom rom flash.Titanium backs up your apps so you can restore them after changing rom.
Click to expand...
Click to collapse
So if I happen to dislike or have problems with a custom rom, I just restore the backup of my rooted stock rom and all is back to the way it was (all, data/boot/apps/settings ...)? I think it will be, but I just want to be sure.
Hi.thanks again. I've read that recovery mode back up or titanium backup doesn't backup efs folder . One needs adb our terminal emulater or root explorer to do so.is there any link that explains efs folder backup using terminal emulater step by step?
Regards
Sent from my GT-I9100 using XDA App
dav pahwa said:
Hi.thanks again. I've read that recovery mode back up or titanium backup doesn't backup efs folder . One needs adb our terminal emulater or root explorer to do so.is there any link that explains efs folder backup using terminal emulater step by step?
Regards
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
EFS post in Dev section probably .
jje
I already linked to the right thread, in the thread there are different commands. All you have to do is pick a method, create the efs folder, copy the command to the terminal emulator and hit enter.
Sent from my Transformer TF101 using XDA Premium App
VillianRom is nice I've been using VR since release and tried many roms en route and keep coming back to VR for some reason!
Best to do a nandroid via CWM Recovery so if any of your new installs have problems you can always wipe and go back to a working config.
I only use TB to backup app data, I don't like backing up system data as when moving from one rom to another if you restore you may encounter issues so always best to start from scratch to save any hassles.
Default [REF] Backup /efs folder. IMPORTANT.
This guide is based on a guide by Candanga on the i9000 forums, and some commands from supercurio
Please hit thanks on their posts and show them some love for the write up.
-----------------------------------------------------------------------------------------------------------------------
I’ve compiled a quick guide to instruct how to make a copy of the /efs folder. I’ve found in many threads suggestions about backing up this folder but the methods itself are very general. Most of the times they suggest to “root and copy the folder” with Root Explorer or similar, but usually it’s not that easy or it just doesn't work for everyone.
This guide ASUMES you have read this Excellent Guide by Darkstrikerfirst:
H E R E <-- Make sure to read the ADB Guide.
I recommend doing this with a Mobile just taken out of the box or with any Official ROM of its Service Provider. If you have already Flashed your phone with another ROM but its working fine, then you can use that /efs also.
Why the /efs folder?
This is a very sensitive system folder that contains Phone-specific information such as the IMEI (encrypted in the nv_data.bin), wireless devices MAC addresses, product code (also in the nv_data.bin), and much more. Often users trying to change product codes or trying to unlock the mobile will end up corrupting data in this location.
Why back it up?
Well, let’s resume it saying that backing-up this little folder will keep you away from Samsung service centres.
***WARNING: I take no responsibility to any damage caused by the methods cited and/or written here. Their sole purpose is to back-up data and not to alter in any way the integrity of the original files of the mobile***
What you will need:
* Rooted SGS II to get permissions as a SU (Super User) and perform the backup
* I would suggest learning a little about the terminal commands used (in case you are not familiar with them), as it’s better to know what you are doing rather than typing strings like a little chimp without knowing what they are; if you are a little lazy, then you have a good chance bricking your mobile. <- Busybox Commands(or Google them)
* Terminal Emulator by Jack Palevich (available from the market) <-Terminal Emulator or use ADB which is included in the SDK Development Tools
The standard prompt of terminal (adb) is a $ sign. Once you enter “SU” it will become a # Sign.
***NOTE: Make sure to keep an eye on the screen of your SGS II during this process, because it may request SU permissions [currently doesn't on CF-root]; else, you will get an error (just if it’s the first time). In Terminal Emulator you will need to reset the app after granting permissions cause it usually freezes***
*Remember: to use ADB you need to enable USB DEBUGGING under Applications/Development in your SGS II.
Here are 3 methods, I recommend that you do both Clean and RAW.
Basic, unix permissions lost :
Code:
su
busybox cp -a /efs /sdcard/efs/
Clean :
Code:
su
busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs
After this, you will end up with the file efs-backup.tar.gz in your INTERNAL SDCARD in sdcard/efs/, which is a “tarball” or a ZIP of the /efs folder. That file is your backup. You can expand it with Winrar.
You can also back up the mmcblk0p1 (where /efs is stored) under /dev/block which can greatly support in recovering your IMEI in case of a screw-up:
RAW :
Code:
su
cat /dev/block/mmcblk0p1 > /sdcard/efs/efs_dev-block-mmcblk0p1.img
Same thing, the target is the INTERNAL SDCARD in sdcard/efs/, so go ahead and copy the file.
Hi theghost & thanks for replying. Yes, i had read that link . But being a starter in androids, i had some doubts n thought if someone else knows a more simplified thread. Eventually i followed the same thread only.
As the author said, there r two methods - clean & raw n he advises to use both. when u used raw , in the end comes- no such file directory exists. When i checked my files->sdcard , i could see efs folder n some files inside it (which wasn`t happening even with astro file manger) I copied the efs folder N pasted it into Externalsd folder (default Ext. sd card folder ?)
R my efs folder files safe now ?
Is there any other precaution to be taken , any files to be saved before i embark on installing New villain rom 2.0 as per instructions given here http://forum.xda-developers.com/showthread.php?t=1081368 .
Strangely efs folder saving point isn`t mentioned here , even though its so important. (But then may be its very basic) Is there any other basic that i should know ?
Thanks a lot again.
with regards.
Create the efs folder with astro, then use the raw method and copy the .img to your pc.
Sent from my Transformer TF101 using XDA Premium App
How n where to create ef folder using astro? When i click on app
The home page shows
(folder icon)/mnt
(Home icon)(search icon) etc.
Folder-ifs
Asec
Obb
Sdcard
Secure
Usb
On this home page I should crate folder-efs ?
Sent from my GT-I9100 using XDA App
No in sdcard
Sent from my GT-I9100 using XDA Premium App
But sdcard already has efs folder with some files in it . This was created when I used the emulator. But the RAW step had failed as I told u earlier.
Sent from my GT-I9100 using XDA App
nikzDHD said:
VillianRom is nice I've been using VR since release and tried many roms en route and keep coming back to VR for some reason!
Best to do a nandroid via CWM Recovery so if any of your new installs have problems you can always wipe and go back to a working config.
I only use TB to backup app data, I don't like backing up system data as when moving from one rom to another if you restore you may encounter issues so always best to start from scratch to save any hassles.
Click to expand...
Click to collapse
Thanks mate. I'm backing up only custom apps, not custom apps.
Sent from my GT-I9100 using XDA App
Mist that you already had the efs folder. If you already have something there your probably good. If you still want the raw method to work make sure you type su first and hit enter and than exactly copy the cat command (ChromeToPhone is great for this) it should work.
Didn't work out mate .
Sent from my GT-I9100 using XDA App
I'm comfortable with it. Thanks for yo support mate
Sent from my GT-I9100 using XDA App
can anyone upload original build.prop from tablet s pls ?
thx
neimovirne said:
can anyone upload original build.prop from tablet s pls ?
thx
Click to expand...
Click to collapse
This is development. Not general section.
Anyway, download your stock Rom from the link in my signature. Then look in the development section for the tool to decrypt your own Rom then use ext2explore to extract system.img
Or give us more detail off model etc
Further more back up files before modding them
stifilz said:
This is development. Not general section.
Anyway, download your stock Rom from the link in my signature. Then look in the development section for the tool to decrypt your own Rom then use ext2explore to extract system.img
Or give us more detail off model etc
Further more back up files before modding them
Click to expand...
Click to collapse
it takes too much time ..
Use this: http://caftp.3owl.com/File_Upload_Admin/Files/build.prop
It will be in there temporarily so tell me when you have got the file or I will delete it at some point.
You may want to modify it since my device was in the UK and it is using release5a.
Next time try creating a backup, it uses your time for a reason.
If you want to backup in /system/ then you can copy the file in the directory renamed so you can just remove a character or something from the backup file to get it in use also you do need to delete the failed one or if you don't have one then find a way to get in and do it but you can't use ADB in recovery unless you have the release1a recovery.
If I did backup, my device is soft bricked, rooted and have such recovery then what I would do is:
cd /system/
su
rm build.prop
mv build.prop.bak build.prop
EDIT: You have till the 25th before the file gets removed from my website.
Sent from my Sony Tablet S using xda premium
andyabc said:
Use this: http://caftp.3owl.com/File_Upload_Admin/Files/build.prop
It will be in there temporarily so tell me when you have got the file or I will delete it at some point.
You may want to modify it since my device was in the UK and it is using release5a.
Next time try creating a backup, it uses your time for a reason.
If you want to backup in /system/ then you can copy the file in the directory renamed so you can just remove a character or something from the backup file to get it in use also you do need to delete the failed one or if you don't have one then find a way to get in and do it but you can't use ADB in recovery unless you have the release1a recovery.
If I did backup, my device is soft bricked, rooted and have such recovery then what I would do is:
cd /system/
su
rm build.prop
mv build.prop.bak build.prop
EDIT: You have till the 25th before the file gets removed from my website.
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
thx! so much
u can remove it now
neimovirne said:
can anyone upload original build.prop from tablet s pls ?
thx
Click to expand...
Click to collapse
stifilz said:
This is development. Not general section.
Click to expand...
Click to collapse
As per the XDA rules All questions/requests threads go in the Q&A.
Thanks
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
I've tried, but didn't generate a new checksum?!?
Tedo said:
I've tried, but didn't generate a new checksum?!?
Click to expand...
Click to collapse
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
parkourkarthik said:
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
Click to expand...
Click to collapse
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
sinner99 said:
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
Click to expand...
Click to collapse
I am sorry did i miss saying that u can use any one of the fixes!! That means it's not a step by step it's either this or that, u can use whatever u wish that would be easy for u aong the two methods..
Sent from my GT-S6102 using XDA
Files not found
where to find these nandroid backup files
rjawan said:
where to find these nandroid backup files
Click to expand...
Click to collapse
Hi,
Look on your sd card/clockworkmod/backup.
Missing backup files
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
ems_pilot said:
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
Click to expand...
Click to collapse
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Have looked everywhere but don't know about granting ES File Explorer root permission....... Thanks for the quick reply.
prboy1969 said:
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Click to expand...
Click to collapse
---------- Post added at 11:02 PM ---------- Previous post was at 10:30 PM ----------
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
ems_pilot said:
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
Click to expand...
Click to collapse
You can move them with Titanium Backup.
TEAM MiK
MikROMs Since 3/13/11
cant access MD5
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
atulbuddy said:
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
Click to expand...
Click to collapse
You can find any other ways to Mount the SD card in recovery, with the help of adb shell or any other methods to access the backup file.
Else with the help of externel sdcard flash any stable ROMs and then try the restore thing.
Else try flashing the stock firmware available for your model.
Hit thanks rather than typing it
Thanks for the info!! Still working in android 4.4. Just saved me, thank you.
hi guys. i tried all your steps but no success. when i try with android emulator i get /system/bin/sh:cd/sdcard..... not found
and i try to edit the file and i install notepad but i get just some symbols inside the file so i have no ideea where the first line ends
I dont have PC or ADB. any other way to fix the problem?
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful![/QUOTE]
I dont have PC or ADB. any other way to fix the problem?
hi
im very new in the forum thats my first post
i tried to install an app that required a rebbot in my gt-i9300, i rebooted and i got an pop-up window said that factory mode has crashed.
i searched for days in the internet and i found this thread: http://forum.xda-developers.com/showthread.php?t=1762204&page=53
i did all but my galaxy says that its unable to chmod /efs/FactoryApp/factorymode: no such file or directory
then i realised that i have no efs directory and that i can download one from here http://forum.xda-developers.com/showthread.php?t=888193
so' my question is,
if i will flash it with odin, will the error will dissapear?
and if the answer is yes,
i understand that some people flash it because they have no imei and the phone dont recognize their sim card.
and my fear it can happen to me if ill flash it
some help please?
What app did you try installing?
slaphead20 said:
What app did you try installing?
Click to expand...
Click to collapse
the swapsd app.
but theres no matter what app i installed
i just want to know if i can install the efs directory without problems
so please help me everyone!
You have a backed up EFS on your phone ???
jje
JJEgan said:
You have a backed up EFS on your phone ???
jje
Click to expand...
Click to collapse
yes i have a backup named efs.tar in my root directory
can i restore the folder from it?
arimal199 said:
yes i have a backup named efs.tar in my root directory
can i restore the folder from it?
Click to expand...
Click to collapse
Well, obviously you can. That's what an efs backup is for
Copy the tar file to your PC and download the Android SDK.
Once the Android SDK is installed, open up a command prompt.
Once you're in the command prompt, CD to the directory where the ADB executables and libraries are.
Usually it's here:
Code:
cd C:\android-sdk\platform-tools\
Once you're in the directory where the files are, unpack the TAR file and type the following code:
Code:
adb start-server
adb push <path-to-your-unpacked-TARfile> /efs/
adb kill-server
If you need further assistance, feel free to PM or email me
Hope I could help!
Lg
familyguy59 said:
Well, obviously you can. That's what an efs backup is for
Copy the tar file to your PC and download the Android SDK.
Once the Android SDK is installed, open up a command prompt.
Once you're in the command prompt, CD to the directory where the ADB executables and libraries are.
Usually it's here:
Code:
cd C:\android-sdk\platform-tools\
Once you're in the directory where the files are, unpack the TAR file and type the following code:
Code:
adb start-server
adb push <path-to-your-unpacked-TARfile> /efs/
adb kill-server
If you need further assistance, feel free to PM or email me
Hope I could help!
Lg
Click to expand...
Click to collapse
wow
thanks man ill try it
arimal199 said:
wow
thanks man ill try it
Click to expand...
Click to collapse
oh i forgot
my pc doesnt recognize my galaxy
maybe i can go to someone that already has a adb and see if he can fix it
but really thanks
I believe you'll also need to change files owners and access rights for it to work.
Edit : if you don't have any efs folder, I think your efs partition might not be mounted. Type "mount" in a terminal emulator and check if a line refers to /efs (that should be block 3)
arimal199 said:
oh i forgot
my pc doesnt recognize my galaxy
maybe i can go to someone that already has a adb and see if he can fix it
but really thanks
Click to expand...
Click to collapse
Check out the links in my description. (Win8 help - ADB etc. etc. ...) that works with Windows Vista, 7 and 8. If you need the ADB binaries, in that same thread, you can donate a bit of money to me and I'll license you a program (Always with updated binaries) that installs ADB and fastboot to your system's root. With the click of a button
Lg
Edit: You can also download my universal Android tool kit and with the next update, all the Samsung Galaxy S III variants will be supported and you can easily backup/restore your /efs partition from there (With the Pro version, that is)
spocky12 said:
I believe you'll also need to change files owners and access rights for it to work.
Edit : if you don't have any efs folder, I think your efs partition might not be mounted. Type "mount" in a terminal emulator and check if a line refers to /efs (that should be block 3)
Click to expand...
Click to collapse
i looked in mounts and storage in cwm and saw that efs is not mounted.
can i mount it and it will work?
arimal199 said:
i looked in mounts and storage in cwm and saw that efs is not mounted.
can i mount it and it will work?
Click to expand...
Click to collapse
no i understood' i wasnt at factory mode at all!
all the time i had imei and call function , the only problem was that factory test has stopped.
so, i downloaded titanum backup pro and turned factory test app off.
now my galaxy went back to normal all works as well!
thanks for trying to help guys!
Hi, I have a rooted Lenovo B device (Mediatek M6735M) with TWRP recovery. I tried to change some build.prop values using an editor app but the result was I bricked my phone (and had to flash stock firmware again). Now, I wonder if and how I can apply some changes to the system files after flashing the firmware.
I want to ask you: is it possible to modify sys/system files after the firmware has been flashed (even the read-only ones), or is pre-flash manipulation the only solution? For example: is it safe to pull a system file with adb, modify it, then push it to the phone with adb?
Black Heretic said:
Hi, I have a rooted Lenovo B device (Mediatek M6735M) with TWRP recovery. I tried to change some build.prop values using an editor app but the result was I bricked my phone (and had to flash stock firmware again). Now, I wonder if and how I can apply some changes to the system files after flashing the firmware.
I want to ask you: is it possible to modify sys/system files after the firmware has been flashed (even the read-only ones), or is pre-flash manipulation the only solution? For example: is it safe to pull a system file with adb, modify it, then push it to the phone with adb?
Click to expand...
Click to collapse
No. You want to root your android again to do these.
Ashwinrg said:
No. You want to root your android again to do these.
Click to expand...
Click to collapse
I forgot to say that I rooted the phone again. I'd like to know if it is possible to edit system files after flashing a firmware (and rooting the phone) or if I'm forced to apply all system changes before flashing. Also, I'd like to know what kind of changes are allowed and/or forbidden (in order to avoid another brick).
For example, I found a read-only "serialno" file in "sys" folder and this file contains the serial number of the device. Could I pull this file with adb, change the content of this file (with another serial number) then push it into the phone?
Black Heretic said:
I forgot to say that I rooted the phone again. I'd like to know if it is possible to edit system files after flashing a firmware (and rooting the phone) or if I'm forced to apply all system changes before flashing. Also, I'd like to know what kind of changes are allowed and/or forbidden (in order to avoid another brick).
For example, I found a read-only "serialno" file in "sys" folder and this file contains the serial number of the device. Could I pull this file with adb, change this file (with another serial number) then push it into the phone?
Click to expand...
Click to collapse
You can change anything after rooting your phone. Make sure you are doing it correctly. Keep nandroid backup to recover from bad scenarios.
Ashwinrg said:
You can change anything after rooting your phone. Make sure you are doing it correctly. Keep nandroid backup to recover from bad scenarios.
Click to expand...
Click to collapse
Ok, but I'd like to have some general tips or advices before doing that. For example, I read (somewhere, here on xda) that file permissions have to be the same as the original file, so if I edit a read-only file I have to restore its read-only status or I could brick the phone. Is this true?
Black Heretic said:
Ok, but I'd like to have some general tips or advices before doing that. For example, I read (somewhere, here on xda) that file permissions have to be the same as the original file, so if I edit a read-only file I have to restore its read-only status or I could brick the phone. Is this true?
Click to expand...
Click to collapse
Yes. If you change permission to read-write then after modification you want change permission to read-only.
Grab ithat build.prop file and transfer to memory card using TWRP. Edit at PC and restore it