Bootloop after editing build.prop and hw_easywakeupmotion_config.xml - Huawei P9 Lite Guides, News, & Discussion

So I edited the build.prop and one other file in the EMUI folder and now I get bootloops any way to fix this without flashing a rom and losing my data?
Tried to download a fix from Huawei eRecovery but it says that it couldn't get files from the server

You could try to backup your current system partition, then open it to restore the build.prop. After that, save and try to restore the system partition

Potato997 said:
You could try to backup your current system partition, then open it to restore the build.prop. After that, save and try to restore the system partition
Click to expand...
Click to collapse
How to do that?

Boot in to TWRP recovery
Make a backup of system partition and move it to your computer
Search for the build.prop file and edit it with some note editor
Save and move it back to your phone and restore it
I DO NOT KNOW IF IT WORKS
Maybe you can wait for some other response to see if there are other solutions.

Potato997 said:
Boot in to TWRP recovery
Make a backup of system partition and move it to your computer
Search for the build.prop file and edit it with some note editor
Save and move it back to your phone and restore it
I DO NOT KNOW IF IT WORKS
Maybe you can wait for some other response to see if there are other solutions.
Click to expand...
Click to collapse
Though of it but when I open the backup folder this what I find in it

If you have Meticulus' TWRP you can do a pure dump of the system partition (you get system.img)

Potato997 said:
If you have Meticulus' TWRP you can do a pure dump of the system partition (you get system.img)
Click to expand...
Click to collapse
How do I know if it's meticulus's TWRP or not?

If you installed the TWRP from his blog, meticulus.co.vu, it his recovery

Potato997 said:
If you installed the TWRP from his blog, meticulus.co.vu, it his recovery
Click to expand...
Click to collapse
Can I try to flash his recovery using fastboot in the current state of the phone?
I just did flash it \o/ I'm doing a system dump as writing this; I may comeback to you to walk me through what to do next, if you agree

If you are able to edit the build.prop and .xml files, just move the dump back on the phone and click on the Restore Dump button

Unfortunately couldn't edit the files so I'm going to fresh install a new ROM

Related

Q. HELP (how to)make flashable zip of build.prop

i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
mj111996 said:
i have been tried to edit build.prop,
got stuck at bootloop,
did that twice,
had to reflash JB Twice,
anyway to make build.prop flashable,
can i just move it to sdcard,
compress it to .zip
and apply update from external storage?
i dont want to flash firmware again and again,
help please.
Click to expand...
Click to collapse
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
mj111996 said:
i cant,i dont have a pc,
i went to my frnd twice and flashed twice today,it feels bad to go to others house
all the time,
another guy sucessfully edit by solid explorer,
mine got bootloop when i tried by es explorer,
is that got smthng do with es explorer?
Click to expand...
Click to collapse
Maybe you better wait for custom recovery. With it would be lot easyer. You will have backup to restore.
I just tried it, it is not working because of signature.
Reboot phone In recovery mode, connect usb, run adb shell In PC:
su
mount -o remount system /system
cat /sdcard/build.prop > /system/build.prop
reboot
(Assuming u have a backup build.prop In /sdcard)
Sent from my GT-I9070 using xda app-developers app
i want to avoid
PC part
mj111996 said:
i want to avoid
PC part
Click to expand...
Click to collapse
Then you have to wait custom recovery.
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
mj111996 said:
@shut down,
now we have temp cwn,
can i flash build.zip of build.prop
which i compress by zarchiver?
Click to expand...
Click to collapse
I did not try, but I think you can. Just make it CWM compatibile. I have empty zip that is compatibile with TWRP, but I do not know if it is compatibile with CWM. I will try it later.
will wait for you to test
build.zip
mj111996 said:
will wait for you to test
build.zip
Click to expand...
Click to collapse
This CWM is buggy. When I press option install from SD - it refresh. I needed 3 times to push restart to get phone restarted. I am waiting for fully working CWM, and I will try then. I am not pushing my luck after problems with TWRP last time.
YES solid explorer works,
changed to S2,
RESOLVED
Use another .zip that extract things to system, if u replace files In the cwm zip it wont work because of the update-script inside
Sent from my GT-I9070 using xda app-developers app
what you mean exactly?
shut_down said:
For that we need custom recovery, like we had TWRP in GB. Developers are working on it, and soon we will have that. Meanwhile you can reflash whole firmware.
You can try to use zip file from Shaan's root. Just delete system/app, and system/bin, and put build.prop in system folder. But I am not sure if it will work this way.
I attached how I think it should work. If you got any more bootloops editing it, try it.
Click to expand...
Click to collapse
Man, you just saved my phone by this zip. Thank you
Hi, I know this is an old h thread but I'm pretty sure this will be handy to someone
Try this app for an easy way to make an update.zip It's still in beta but seems to be working fine on my N7100 so give it a go...
Zip.me can be found here (playstore)
Cheers

[EFS-cwm-Restore] Restore zip for your EFS

Story behind this zip file:
I messed up my tablet and I could only get into download mode , meaning I could flash a insecure boot.img and custom recovery.
I noticed that my EFS partition was erased when I entered a stock recovery, I got all kind of EFS error messages in recovery.
At first I tried to restore my system with a original ROM ODIN package but that doesn't restore your EFS. So no luck and still stuck in a bootloop.
So what to do? No adb , no EFS backup on my internalSD , I couldn't get acces to my internal SD.
I google around and I didn't find anything to restore EFS from within recovery or Odin. I didn't have a EFS.img backup on my internalSD so the emwo recovery was no help.
I do have a EFS backup that I took with EFS pro.
That generates a .tar and a .img file.
So I made myself a update package that I could flash from cwm. As I made the recovery I knew in what partition EFS is stored so that was easy.
This is the updater script , it should work on GT-N51... (10, 00, 20) as they all store the EFS in this partition.
Code:
show_progress(0.3,72);
ui_print(" ");
ui_print("1. START INSTALLATION");
package_extract_file("EFS.img", "/dev/block/mmcblk0p3");
set_progress(0.99);
ui_print("------------------------------------------");
set_progress(1.0);
I renamed the EFS image backup that I took with efsPro to EFS.img and dropped it in the zip I made with the updeter script.
Flashed it with cwm and voila, running again without any problems.
SO in the attachments is the zip .
Open it with 7zip or winrar , drag and drop your EFS.img (needs to be this name) into the zip where the EFS-dummy text file is. put it on your externalSD , boot to recovery and flash it.
So I hope this helps the people out that come into the same situation as I did.
Thanks for the zip, I have my EFS backup, but I didn't know what to do if I had this problem!
You are a life saver!!!
THANK YOU VERY MUCH​
Long story short, I was like you. my battery died, and for no apparent reason, I couldnt boot. I had download and recovery but no matter what rom i used no boot. Then i noticed in the logcat it was getting stuck on network initialization and also that twrp couldnt mount the efs partition.
I was looking for a way to restore the efs using adb sideload when i found this, popped in my efs backup and volia!
o yea i'm on the GT-i9300 (s3) but it worked like a charm! deffo keeping a copy of that zip just in case.
I have a .tar.gz efs backup compressed file. So how do I use it to flash via CWM?
android addicts said:
I have a .tar.gz efs backup compressed file. So how do I use it to flash via CWM?
Click to expand...
Click to collapse
open it using 7zip or winrar and you will find the efs.img inside
copy it and put in the zip file
no luck for me
ephidor said:
open it using 7zip or winrar and you will find the efs.img inside
copy it and put in the zip file
Click to expand...
Click to collapse
It keeps on returning to recovery..
Anyone with a link to this efs pro? I fint efs in app store with lots of problems but no efs pro. I buy my apps so not trying to get around that but which app? Thanks
Sent from my GT-N5110 using XDA Premium 4 mobile app
---------- Post added at 11:48 AM ---------- Previous post was at 10:48 AM ----------
k9time said:
Anyone with a link to this efs pro? I fint efs in app store with lots of problems but no efs pro. I buy my apps so not trying to get around that but which app? Thanks
Sent from my GT-N5110 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Never mind. ? Found it. Thanks civato..
Sent from my GT-N5110 using XDA Premium 4 mobile app
OMG...thankkkkks so much....
Anyone have any idea how to proceed if you don't have a backup image of "EFS.img"? Luckily, I am able to boot and run fine, but I understand fixing the EFS will also fix my GPS. Thanks in advance.
Sent from my GT-N5110 using XDA Free mobile app
Anyone can help me to flash my EFS using this method? MY note 4 N 910G has damaged EFs and showing unknown basband and null IMEI. Phone rebooting every minute and canot restore EFs in normal mode. My EFS backup has 4 files. Need to restore all this files with flasheble zip. (efs.img.ext4, mdm1m9kefs1.bin, mdm1m9kefs2.bin, mdm1m9kefsc.bin)
arminrr said:
Thanks for the zip, I have my EFS backup, but I didn't know what to do if I had this problem!
Click to expand...
Click to collapse
can you pls upload your n5110 efs backup in 4 shared mediafire or mega i down back my efs so i brick my phone need help ls.. :crying::crying::crying::crying::crying:
Problem!!!
I flashed it via TWRP Recovery It shows that INSTALLATION SUCCESSFUL but after my phone boots up. I tried to found the EFS folder it only contains bluetooth folder. but I had so many files and folders in my EFS Backup.img file. Why It could not work.
Hi Please take a minute to reply
civato said:
Story behind this zip file:
I messed up my tablet and I could only get into download mode , meaning I could flash a insecure boot.img and custom recovery.
I noticed that my EFS partition was erased when I entered a stock recovery, I got all kind of EFS error messages in recovery.
At first I tried to restore my system with a original ROM ODIN package but that doesn't restore your EFS. So no luck and still stuck in a bootloop.
So what to do? No adb , no EFS backup on my internalSD , I couldn't get acces to my internal SD.
I google around and I didn't find anything to restore EFS from within recovery or Odin. I didn't have a EFS.img backup on my internalSD so the emwo recovery was no help.
I do have a EFS backup that I took with EFS pro.
That generates a .tar and a .img file.
So I made myself a update package that I could flash from cwm. As I made the recovery I knew in what partition EFS is stored so that was easy.
This is the updater script , it should work on GT-N51... (10, 00, 20) as they all store the EFS in this partition.
Code:
show_progress(0.3,72);
ui_print(" ");
ui_print("1. START INSTALLATION");
package_extract_file("EFS.img", "/dev/block/mmcblk0p3");
set_progress(0.99);
ui_print("------------------------------------------");
set_progress(1.0);
I renamed the EFS image backup that I took with efsPro to EFS.img and dropped it in the zip I made with the updeter script.
Flashed it with cwm and voila, running again without any problems.
SO in the attachments is the zip .
Open it with 7zip or winrar , drag and drop your EFS.img (needs to be this name) into the zip where the EFS-dummy text file is. put it on your externalSD , boot to recovery and flash it.
So I hope this helps the people out that come into the same situation as I did.
Click to expand...
Click to collapse
Will this method work for stock recovery too? thanks
i know this is old but i find this video that explain how to recovery the efs bad i try and works:
https://www.youtube.com/watch?v=Y-LZvVLEC5o
adb shell
su
cd /dev/block/platform
cd dw_mmc
cd by-name
ls -l
(copy de code of block and put in .....)
example: mmcblk0p3
mke2fs /dev/block/......
mount -w -t ext4 /dev/block/.......
reboot
can any one uploda efs.img for n5100.. tia

[Q] Trying to restore stock firmware, aborted each time

Hey All, have google and googled for the past week but nothing specific to this issue I'm having.
I want to restore my stock firmware so I can get OTA updates! I didn't make any sort of backup when I began playing with different roms. I have htc_039 unbranded aus htc one. Bootloader has been unlocked with S-on and TWRP installed.
Downloaded Deevans/bugsys nandroid backup that matched my phone details (http://forum.xda-developers.com/showpost.php?p=41368105&postcount=375&nocache=1&z=2030115523399023) but there isn't any sort of instructions on installing these.
When i have tried to flash the rom I get "installation aborted" and when playing with fastboot it has given me messages that it cannot find certain .txt files (something like android.txt and a few other ones.
Could someone please tell me what im doing wrong or list the instructions to install this? I don't know if I have to lock the phone again, restore the recovery file first, no idea!!! Or is there anyway to turn the Android Revolution 12 image to get OTA (i dont think so)?
If you need any further phone info I will post.
Can anyone help with this?
When I try to flash the file in TWRP it starts and stops at "Updating partition Details".
What have i not setup right? Have been using these resources:
http://www.androidpolice.com/2010/0...nandroid-backup-and-clockworkmod-rom-manager/
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
http://www.redmondpie.com/how-to-ba...android-using-clockworkmod-recovery-tutorial/
http://www.redmondpie.com/how-to-in...recovery-on-your-android-smartphone-tutorial/
http://androidteen.com/how-to-restore-htc-one-to-stock-firmware/#Nandroid
???
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash "restore" nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
pjc21 said:
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
Click to expand...
Click to collapse
Thank for the reply
I have tried to install this with CWM which gave me those first missing ".txt" files. I will give it another go with CMW and post the results.
I will also S-OFF before doing the above.
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
jgt777 said:
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
Click to expand...
Click to collapse
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
pjc21 said:
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
Click to expand...
Click to collapse
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
jgt777 said:
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
Click to expand...
Click to collapse
Are you using TWRP recovery? or CWM recovery?
pjc21 said:
Are you using TWRP recovery? or CWM recovery?
Click to expand...
Click to collapse
I have now tried both TWRP and CWM and fails, also have installed ROM manager and another one I cant recall from play store. Also booted into recovery and went to the 'restore' option from the menu but cant find any directories..
I dont know if this has anything to do with it but noticed in the contents of the file:
ARCHIVE: cache.ext4.tar
ARCHIVE: data.ext4.tar
ARCHIVE: system.ext4.tar
boot.img
cache.ext4.tar.a
data.ext4.tar.a
nandroid.md5
recovery.img
recovery.log
system.ext4.tar.a
system..ext4.tar.b
Not to get ahead of myself but HTC ONE is ext2or 3 by default, its not something simple as having to change it to ext4? Its just something that stood out.
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
pjc21 said:
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
Click to expand...
Click to collapse
Interesting that there was no 'backup' folder inside that folder. Have created it and putting the files and zip in there now.
Was also googl'n and found this article:
http://miuiandroid.com/community/th...d-restore-error-while-restoring-sd-ext.15611/
Someone mentioned to now open the zip file when it downloads. I'll try your suggestions and this and let you know what happens tomorrow.
Thanks again
Morning,
Have downloaded the .zip file again twice and put it onto the SD and clockwork Mod backup folder and it has aborted again.
Any ideas on what to try from here?

Help with .backup file.

My neighbor's phone was locked out by AVG and I dont want to reset it because of important notes and messages. I cant connect ADB since he hadn't enabled Debugging. I went to stock 3e recovery and took backup fro there and got .backup file in internal storage. I want to edit this file and remove the AVG and restore it back. How do I do so?
muftiazan said:
My neighbor's phone was locked out by AVG and I dont want to reset it because of important notes and messages. I cant connect ADB since he hadn't enabled Debugging. I went to stock 3e recovery and took backup fro there and got .backup file in internal storage. I want to edit this file and remove the AVG and restore it back. How do I do so?
Click to expand...
Click to collapse
Unpack system.ext4.tar and delete AVG from /system/apps. Dont know if work but you can try.
As I said before, I have stock recovery and I got .backup file format in stock recovery.
Sent from my HTC One
muftiazan said:
As I said before, I have stock recovery and I got .backup file format in stock recovery.
Sent from my HTC One
Click to expand...
Click to collapse
Yes i understand now, you cant have access to that file.
Make a update.zip to replace build.prop and add this line in prop file.
persist.service.adb.enable=1
Edit: flash cwm first
Will cwm reset anything?
Sent from my HTC One
muftiazan said:
Will cwm reset anything?
Sent from my HTC One
Click to expand...
Click to collapse
No, CWM recovery is just to flash the update.zip with the modded build.prop.
If you have stock rom installed, download stock rom and unpack system.img to get the build.prop file.
CWM can be flashed with SP Tools

TWRP 3.1 uncompatible with TWRP 3.0.2-1

Hi Guys, why if I do a backup using TWRP 3.0.2-1 can´t use it after update TWRP 3.1? And if I do a backup using TWRP 3.1 the name of this backup begins with Life_Max? Can someone explain it to me?
overthc said:
Hi Guys, why if I do a backup using TWRP 3.0.2-1 can´t use it after update TWRP 3.1? And if I do a backup using TWRP 3.1 the name of this backup begins with Life_Max? Can someone explain it to me?
Click to expand...
Click to collapse
The 3.1 twrp is a dirty port from life-max recovery, so that's why the name.
Backups usually don't go between recovery versions, without renaming or manually moving to proper folder structure for new version
mrmazak said:
The 3.1 twrp is a dirty port from life-max recovery, so that's why the name.
Backups usually don't go between recovery versions, without renaming or manually moving to proper folder structure for new version
Click to expand...
Click to collapse
@mrmazak Then if I need to restore a backup made with 3.0.2-1 but now I got 3.1, what do I need todo? Can you explain it to me please? What are the steps to convert it?
overthc said:
@mrmazak Then if I need to restore a backup made with 3.0.2-1 but now I got 3.1, what do I need todo? Can you explain it to me please? What are the steps to convert it?
Click to expand...
Click to collapse
this is mostly speculation, I have not done it. But these are the common steps.
1 make a backup with the new recover, so you have the right folder structure that the new recovery uses, (most of the time it is folder with device serial number in the name)
2. take your saved backup folder and add it to the folder made in step above.
example
/sdcard/TWRP/mxvrxxx******/backup-made-date-xx-xx-xxx
put old backup folder into the 3rd folder (from example mxvrxxx******)
EDIT:
OK I just did it.
The new 3.1 recovery makes it pretty easy.
the recovery directory is
/sdcard/TWRP/BACKUPS/Life_Max
put your saved backup folder( the folder that has: boot.emmc.win, system.emmc.win etc) into the Life_Max folder, you can now restore your backup.

Categories

Resources