Downgrade from Cyanogenmod - Honor 7 Q&A, Help & Troubleshooting

Hi,
I made a mistake installing Cyanogenmod on my phone, forgot to make a backup in TWRP.
This Cyanogenmod version requires me to delete my former EMUI fingerprints for the fingerprint function to work. I forgot to do that also...
So now I'm trying to reinstall my custom ROM. I found the UK PLK-L01 firmware on Huawei support page, downloaded that and put it on my (not external sd)sdcard/dload/UPDATE.APP.
Then I try the Volume UP+Volume Down+Power for it to install the rom, but only thing that happens is that the phone boots into TWRP, and in there, there is no option to install a .APP file.
Please help

frederikahrenst said:
Hi,
I made a mistake installing Cyanogenmod on my phone, forgot to make a backup in TWRP.
This Cyanogenmod version requires me to delete my former EMUI fingerprints for the fingerprint function to work. I forgot to do that also...
So now I'm trying to reinstall my custom ROM. I found the UK PLK-L01 firmware on Huawei support page, downloaded that and put it on my (not external sd)sdcard/dload/UPDATE.APP.
Then I try the Volume UP+Volume Down+Power for it to install the rom, but only thing that happens is that the phone boots into TWRP, and in there, there is no option to install a .APP file.
Please help
Click to expand...
Click to collapse
couldnt you just locate files and delete in root explorer or similar app?

You can open the update.app in Huawei update extractor and use adb to manually flash the system, custom, cache, boot and recovery partitions back to stock then once you boot into the stock emui os you can reflash twrp. I'm busy atm but I'll write you a proper guide soon. Or you could Google it but be careful becuase there are a lot of guide that don't work anymore
Edit: This won't require you to wipe your user data so you can keep your setting contacts apps etc.
---------- Post added at 09:07 PM ---------- Previous post was at 08:28 PM ----------
Here is my guide it's a bit long but should be easy. I recommend reading it all first before following it just so you know what each step is doing.
Ok step one. Go to This link and download the emui version for you phone.
step two. You need to download Huawei update extractor from This link and install it on your pc.
Step three. unzip the update you extracted to a new folder on your desktop (It can be called anything bu I recommend calling it "EMUI") and put the update.app file in this folder.
Step four. open Huawei update extractor and select profile "Unknown (worstenbrood)" if it is not selected already.
Step five. Under the section where it says update file click on the ".." button navigate to the folder you made on your desktop and double click the update.app file.
Step six. Right click on the file named "BOOT.img" and click extract selected then once the green loading bar has gotten to 100% click close on the extracting window since it does not automatically do it its self.
Step seven. Repeat step six for the files named "CACHE.img", "CUST.img", "RECOVERY.img", "SYSTEM.img" and "USERDATA.img" (Only extract USERDATA.img if you want to wipe all of you apps, setting, contacts and messages)
Step eight. Open the folder you create on your desktop and copy all of the files you extracted (Only the .img files since Huawei update extractor also create some other files which you don't need) and paste them into the folder which you have adb installed into (It should be "C:\Program Files (x86)\Android\android-sdk\platform-tools" if you used the sdk version but if you have a diffrent version of adb paste them into the folder which you have that installed to)
Step nine. Boot your phone into bootloader mode on you phone. There are a few ways to do this but use whatever way you used when you flashed twrp.
step ten. In widowns explorer (Your pc's file manager) Shift click in the folder you have adb installed into and click "Open cmd window here"
Step eleven. type the following commands into cmd "fastboot flash boot BOOT.img", "fastboot flash cust CUST.img", "fastboot flash recovery RECOVERY.img", "fastboot flash system SYSTEM.img" and if you decided to reset all of you data (Like apps, contacts, messages, setting, etc) "fastboot flash userdata USERDATA.img" Some of these may take a long time (Especially SYSTEM.img but it shouldn't take more than 10 minute if it doesn't finish within 20 minute press ctrl + c in the cmd windows and start again).
Step twelve. Type "fastboot reboot" into cmd and you will boot into stock emui. Now you can reflash TWRP if you want and re install root.
Feel free to message me if you need help.

Related

Bricked Lenovo A1000-F

Hi to all! My tablet is bricked I can open the recovery menu, but, even if i can use "adb sideload" command from my pc, i don't have a rom to send to my tablet. How can i solve the problem? The tablet can boot but it remains in the "initial configuration page", because a system process always crashes".... Please help me
If you can get into recovery and other things your not bricked, junior member. I don't know the exact process but if someone with an a1000 knew or was willing and instructed they could dump the rom and if someone knew how could make it into a flashable zip, maybe, like I said don't know the exact process
mypd1991 said:
If you can get into recovery and other things your not bricked, junior member. I don't know the exact process but if someone with an a1000 knew or was willing and instructed they could dump the rom and if someone knew how could make it into a flashable zip, maybe, like I said don't know the exact process
Click to expand...
Click to collapse
can anyone give me stock firmware of lenovo a1000g?
nick84tl said:
Hi to all! My tablet is bricked I can open the recovery menu, but, even if i can use "adb sideload" command from my pc, i don't have a rom to send to my tablet. How can i solve the problem? The tablet can boot but it remains in the "initial configuration page", because a system process always crashes".... Please help me
Click to expand...
Click to collapse
there is a post post in lenovo forum PREAMBLE-FOR-LENOVO-A1000-ROM-RECOVERY-ETC
u can a nandroid backup there ,after installing twrp ,just restore back up backup
place the back up u need to create a folder "TWRP"
in twrp "BACKUPS"
in backups "LENOVO_A1000_MT8317"
PUT THE RESTORE FILES IN A FOLDER CREATE THE "RESTORE FOLDER" IN ABOVE LENOVO FOLDER
Hope This helps
Caution MAKE SURE TO BACKUP YOUR IMEI AND MAC ADRESS AND BLUETOOTH ADRESS
Note : Step 6 and 7 can be shortcutted by Pressing on the hard reset button while/while not connected to PC
: this will erase all data on your internal memory, so keep all the data you wanna back up in PC or External SD card and remove it (just to be safe)
ok, so
Step 1 google A1000F_A412_01_23_130822_ROW_USER, you should find it in 4shared(dot)eu
Or http://www.4-shared.eu/download/bt6fqlKPInMXDN3q7CPuW1/A1000F-A412-01-23-130822-ROW-USER.html
Step 2: once you finish downloading, extract it, then go to the FlashTool folder and look for FlashTool.exe
Step 3, once you open FlashTool.exe, Click the checkbox DA DL All with Checksum
Step 4 Now load scatter file MT6577_Android_scatter_emmc (located in A1000F_A412_01_23_130822_ROW_USER Folder, it will be the only file show other than the flash tool folder)
Step 5 now click Format> Format All partition except Bootloader > validation > ok
Step 6 Now connect your USB to MiniUSB (charger cord) to the computer but DO NOT PLUG IT YET TO THE PC
Step 7 now hold down on your Up volume button and wait 10 sec. then plug it into pc
Step 7.1 (not really) the loading bar on the bottom of SP flash tool should turn red and other difirent colors, once its finished, there should be a popup saying OK, Close it and youre done
Step 8: now Click on download, after you download, look at Step 6 to 7.1
Step 9 IF the device fails to boot, download this ( will put link to A1000F fix tool)
Step 10 press the hard reset button (besides SD card slot) or Follow Step 6 to 7.1
Step 11 Boot UP
To install TWRP 2.5 ( Found it in lenovo russian forums) (Tested the file) (worked for my IdeaTab A1000-F)
Step 12 Download From This (Direct Link) http://lenovo-forums.ru/Files/OS/Tablets/A1000/Custom/A1000T_TWRP_v2.5.0.0.zip
Step 13 Extract it
Step 14 IGNORE the included scatter file from the TWRP download (had problems with it) and follow Step 4
Step 15 On the loaded files from Scatter file, look for recovery ( 7th File), Click on it, there should be a file explorer pop up
Step 16 On the file explorer pop up, look for the A1000F_TWRP_v2.5.0.0 folder you just extracted AND then click on the recovery.img found inside
Step 17 Now Choose Firmmware -> Upgrade and do Step 10
TO ROOT WITHOUT PC (must do step 1-17)
Step 18 Boot to recovery (hold power button + up volume button AT THESAME TIME)
Step 19 You should be at TWRP recovery, Tap on Reboot>System and there should display a warning about the system not being rooted, and it should prompt you to slide to root, SLIDE IT, it should reboot automatically
Step 20 in your app drawer, look for SU installer and click on it,Your going to be prompted to innstall SU via playstore or via TWRP (i did it via TWRP bacause im lazy, and the system apps are updating, but your free to do otherwise) it should reboot, and vioala, your rooted
To Update Firmware
Step 21 Open SuperSU>settings>scroll down>enable pro (SuperSU should restart) then Open SuperSU again>settings>survival mode
Step 22 Download This (download 1) (will update to put link) and this https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
Step 23 Open the Rashr Flasher tool you just downloaded from playstore and find Download 1 then navigate Download 1 file location (Named Recovery Folder) > Stock and tap on the recovery img
Step 24 download and install the Update from Settings>about tablet>Firmware Update (make sure you have enabled survival mode in super Su, or else you will loose root privilages)
To go back to TWRP
Step 25 just use the Rashr Recovery tool and go to download 1 file location (named Recovery Folder) > TWRP and tap on the recovery img
HELP!
I tried the flash tool thing ,and the red line under did popes out, about ten seconds later it popes out a message, and says that "flash tool error","S_DA_DRAM_NOT_SUPPORT"(3004)
What can I do?
Please help me!
P.S.my ideatab a1000f was hard bricked ,it can not go to my twrp recovery mode that i had before it bricked.:crying::crying::crying:

[Q] Huawei G700 EMUI 1.8 B124

Hello
here i am posting here because i cant post on Miscellaneous Android Development , how ever i think i post there before while working on B5512
I Just got new G700 it came with B115 middle east channel , phone is good but as a start is there is a update i must ask my self is root ready , and CWM for sure so i start the digging
@chamaruco thank you for your great thread which saved and helped many people
now i got a file and i think you were looking for it ""G700-U10_V100R001C00B124CUSTC432D001_Firmware_Portugal_Channel-Others_4.2.1_EMUI 1.8_05021LMW.zip"" it contain usb upgrade and sd upgrade with drv and flash tool
i notice EMUI 1.8 not 1.6 which i saw for example a permission manager with it on P6 is that here in that rom too ?
is that rom improved than mine b115 phone is good for first look but
(in B115)
1-camera quality is strange i dont mean bad but it look very strange it is like very poor on quality
2-in call volume is too low in my opinion all " in test mode"
Question now did any one get that update "EMUI 1.8 B124" can tell is there is any improvements ?!
Question am i able to flash CWM image directly with flash tool to save some annoying procedures ?!
a member here provide flasher and cwm.img and orginal recovery.img
i did not work with the phone yet need to shift data from old phone remove ext2 part and prepare for change , and feeling lost here
want to strike it all once
i will upload "EMUI 1.8 B124" soon as it came from a private server
any suggestions are welcome
When you install 1.8 you will notice there is only a tap error from uploader..it is a 1.6 emui. That's all.
Hello
some info to add
incase of softbrick the phone and unable to flash using spflash tool and receive " not allowed , forbidden "
solution
inside the usb upgrade >> flash "Rework-Secro" using scatter in same folder then you will be able to use download mode again
how to install this firmware i.e. B124 on G700-10
chamaruco said:
When you install 1.8 you will notice there is only a tap error from uploader..it is a 1.6 emui. That's all.
Click to expand...
Click to collapse
chamaruco; Thanks for the best of the best user guides you have been making for all of us, but what i want to know is to be able to install the B124 into my phone i.e. G700-10, i have rooted my phone using farmaroot, made a back up of my factory shipped OS and make all my data backup safe through Hisuit, have downloaded the firmware B124 Purtogal version, extracted the zip, (it is now carrying META-INF, boot.img, cust.img, logo.bin, sdload.log, system.img) i have made a folder in my SD card named dload and copied the files in it, uninstalled mobileuncle, reinstalled new mobileuncletool, copied my backuped recovery.img into my SDcard and somehow installed the recovery in to my mobile,
now please show me the way forward, what i need to do and how, please step by step if you kindly can. please.
YOU ARE THE BEST CHAMARUCO
talvigi said:
chamaruco; Thanks for the best of the best user guides you have been making for all of us, but what i want to know is to be able to install the B124 into my phone i.e. G700-10, i have rooted my phone using farmaroot, made a back up of my factory shipped OS and make all my data backup safe through Hisuit, have downloaded the firmware B124 Purtogal version, extracted the zip, (it is now carrying META-INF, boot.img, cust.img, logo.bin, sdload.log, system.img) i have made a folder in my SD card named dload and copied the files in it, uninstalled mobileuncle, reinstalled new mobileuncletool, copied my backuped recovery.img into my SDcard and somehow installed the recovery in to my mobile,
now please show me the way forward, what i need to do and how, please step by step if you kindly can. please.
YOU ARE THE BEST CHAMARUCO
Click to expand...
Click to collapse
Dload inside put update.app file, restart in updatemode
chamaruco said:
Dload inside put update.app file, restart in updatemode
Click to expand...
Click to collapse
But my mobile does not boot into CWM recovery mode as i have seen in my previous Qmobile A8 it always restarts in the defualt recovery mode which only give options to "1. reboot, 2. update from SDcard, 3. update from cashe, 4. wipe/delete user data and wipe/delete cache and in the last there is a calibarate TP, AND OFF COURSE THESE ALL ARE THE ANDROID BUILTIN RECOVERY STEPS NOT OF THE CWM
And off course there is not any file or folder named update.app in the downloaded .zip/extracted file. "as i have mentioned above the folder contains a folder named META-INF and three img files named as boot cust and system while a .bin file named logo too.
THANKS FOR YOUR TIME AND HELP.
foffa said:
Hello
some info to add
incase of softbrick the phone and unable to flash using spflash tool and receive " not allowed , forbidden "
solution
inside the usb upgrade >> flash "Rework-Secro" using scatter in same folder then you will be able to use download mode again
Click to expand...
Click to collapse
So after I select the Reworked scatter file there is only the sec_ro partition checked to flash. So after flashing it do I now select the previous scatter file and then flash everything (including preloader)?

WI502Q, how i unbricked my watch! (TWRP Backup included)

Alright, so I screwed up my watch a few days ago and it ended up not getting past the splash screen and going straight to recovery. Thanks to @z0mghii, I was able to get a TWRP backup of the system, boot, and data. I replaced this backup with my own so none of his data (if possible) could be taken advantage of. However, after flashing it, I was still unable to boot up. Here are the steps I took in order to get everything back to working order. Keep in mind this is for WREN, the small version. Some steps may be unnecessary.
1. Boot to TWRP
2. Go to advanced wipe
3. Wipe everything
4. Go to the link below and download the TWRP Backup
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
7. Go to the watch's internal storage
8. Go to the TWRP folder
9. Go to the subfolder
10. Paste the downloaded backup folder into this folder, this should be with the one you created earlier
11. Restore this backup on your watch, be sure to check all the boxes
12. Reboot to the bootloader
13. Install ADB if you haven't already, I recommend the 15 second one
14. While the watch is in the bootloader and it is plugged in, type the following commands
fastboot erase cache
fastboot erase misc
fastboot reboot
https://drive.google.com/drive/folders/0B_HUnwYIrFskUW10UDZ0dXdHQzg (You might have to download each item and put them in a folder instead, unless I'm oblivious to something, sorry )
After this, your watch should boot up, then power back down, then boot back up again. This will be followed up by the boot animation and go to the welcome screen.
If any of you guys could provide me with the latest stock rom version TWRP backup or a stock recovery.img, it would be greatly appreciated. (Unless June patch is the latest). The recovery would be great no matter what. Getting the stock recovery can be done by typing the following commands into the command prompt on a PC. Hopefully they work. It should be copied onto the /sdcard.
Via adb shell (make sure ADB debugging is on in developer options, then type adb shell in CMD on PC) type: cat/proc/mtd and press enter
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
I hope I helped somebody with this. Again, huge thanks to @z0mghii for making this possible. I'm sorry for bad formatting.
I'm really new to this. I'm also by no means a developer/hardcore android person. These commands were all taken from google. I take 0 responsibility for your device being ruined. This is just what worked for me.
Reserved
HOLY CRAP IT WORKED!! You just don't know how much this means to me, words can't express!
cland216 said:
HOLY CRAP IT WORKED!! You just don't know how much this means to me, words can't express!
Click to expand...
Click to collapse
Hell yeah. Glad I could help somebody! I've been wanting to give back to the wonderful XDA community for a while as a long time lurker. Also, I'm hoping to get a newer version of the stock rom and a stock recovery.img so you can go back to 100% factory stock for an OTA. I'm pretty proud of myself (being noobish) figuring this out.
Thanks a lot!! My watch was kept in a drawer because it was useless and it has now returned to life, I just have a problem restoring the recovery, the command to locate the recovery folder do not work me, have any idea how located the recovery folder?
klaudio_tv said:
Thanks a lot!! My watch was kept in a drawer because it was useless and it has now returned to life, I just have a problem restoring the recovery, the command to locate the recovery folder do not work me, have any idea how located the recovery folder?
Click to expand...
Click to collapse
Are you referring to "extracting" the recovery img? You only need to do it if you're running the stock recovery.
If so, I think I have screwed the command. Make sure you're in adb shell (in recovery on the watch) and then type "cat /proc/mtd" (with the space in front of cat) without the quotes in order to locate the recovery partition.
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
Hopefully this works
Hi, my watch now works well, but I was not able to install updates, when I try to install updates from the watch, watch reboots and go to TWRP recovery. Anyone knows how install the updates?
klaudio_tv said:
Hi, my watch now works well, but I was not able to install updates, when I try to install updates from the watch, watch reboots and go to TWRP recovery. Anyone knows how install the updates?
Click to expand...
Click to collapse
Since the OP helped me, here's my chance to give back..
By no means do I know what hell I'm doing, but I know enough to be dangerous. If you're ready to live dangerously, follow these steps (which worked for me):
1. Go into TWRP on the watch and connect it usb to your computer. Using TWRP file manager, copy the update.zip from CACHE to sdcard\Download.
2. On the computer, browse to Zenwatch internal memory Downloads folder and copy the update.zip file to your computer.
3. Unzip the file on your computer using 7zip.
4. Navigate to \META-INF\com\google\android\ and look for updater-script.
5. Edit updater-script in Notepad++.
6. Delete the lines starting with getprop. This turned out to be lines 2 thru 5.
7. Delete the lines starting with apply_patch_check. This turned out to be lines 10 thru 176
8. Save changes to updater-script then in Windows Explorer highlight all of the files and folders that you unzipped, right-click them and click on 7zip --> Add to update.zip
9. Copy the new update.zip to the Zenwatch internal memory, Downloads folder, overwriting the original update.zip
10. Flash the update.zip file with TWRP.
11. Reboot TWRP to Bootloader.
12. On your computer, goto adb folder where you have fastboot files, and using command prompt type:
fastboot erase cache
fastboot erase misc
fastboot reboot
These steps worked as I was stuck on the June 1, 2016 Android security patch on my Wren Zenwatch. These steps helped me get to the September 1, 2016 security patch.
I managed to update my watch to the September 1 security patch using Cland216's method. But I am unable to update further using the method above. Does anyone have any info on how to update further? Or has any zip files to flash?
If we could get someone to upload the watches stock recovery that would solve all issues.....Why has noone done this for this model yet?
Sent from my OnePlus X using XDA Labs
I'm unable to create a backup file
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
TWRP :
Could not mount /data
When I try to mount /data , I unable to /data
HOLY ****
Dude.. Let me just say...
YOU ARE THE ****ING ABSOLUTE BEST.
I am now going to make a backup, and save it to my computer, google drive, dropbox, icloud, and every other ****in place I can to make sure this never happens again. Thank you!!!!
Nicholas6706 said:
Alright, so I screwed up my watch a few days ago and it ended up not getting past the splash screen and going straight to recovery. Thanks to @z0mghii, I was able to get a TWRP backup of the system, boot, and data. I replaced this backup with my own so none of his data (if possible) could be taken advantage of. However, after flashing it, I was still unable to boot up. Here are the steps I took in order to get everything back to working order. Keep in mind this is for WREN, the small version. Some steps may be unnecessary.
1. Boot to TWRP
2. Go to advanced wipe
3. Wipe everything
4. Go to the link below and download the TWRP Backup
5. Create a backup of a small partition (like boot) on your watch to create the folder.
6. Plug watch into PC while in TWRP
7. Go to the watch's internal storage
8. Go to the TWRP folder
9. Go to the subfolder
10. Paste the downloaded backup folder into this folder, this should be with the one you created earlier
11. Restore this backup on your watch, be sure to check all the boxes
12. Reboot to the bootloader
13. Install ADB if you haven't already, I recommend the 15 second one
14. While the watch is in the bootloader and it is plugged in, type the following commands
fastboot erase cache
fastboot erase misc
fastboot reboot
https://drive.google.com/drive/folders/0B_HUnwYIrFskUW10UDZ0dXdHQzg (You might have to download each item and put them in a folder instead, unless I'm oblivious to something, sorry )
After this, your watch should boot up, then power back down, then boot back up again. This will be followed up by the boot animation and go to the welcome screen.
If any of you guys could provide me with the latest stock rom version TWRP backup or a stock recovery.img, it would be greatly appreciated. (Unless June patch is the latest). The recovery would be great no matter what. Getting the stock recovery can be done by typing the following commands into the command prompt on a PC. Hopefully they work. It should be copied onto the /sdcard.
Via adb shell (make sure ADB debugging is on in developer options, then type adb shell in CMD on PC) type: cat/proc/mtd and press enter
You will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
I hope I helped somebody with this. Again, huge thanks to @z0mghii for making this possible. I'm sorry for bad formatting.
I'm really new to this. I'm also by no means a developer/hardcore android person. These commands were all taken from google. I take 0 responsibility for your device being ruined. This is just what worked for me.
Click to expand...
Click to collapse
I spoke just a bit too soon, now it is hanging on that animation with the 4 dots. Any suggestions?
NEVERMIND, I AM UP AND RUNNING!! WOOHOOOO

Watch update keeps failing. Anything like a factory image or something?

I tried to root my watch a while back and kind of gave up. Since then, I have installed both the stock recovery and system image found in this thread:
https://forum.xda-developers.com/zenwatch-2/general/m6e69n-twrp-backup-stock-boot-firmware-t3484961
Now, I keep getting the update to M6E69X and it goes through the normal process of updating, but then a picture of an Android with an exclamation point comes up. I'm almost positive that its similar to the issues of newer versions of Android on phones requiring complete stock systems to update. The only problem is, I have tried reflashing the backup in the link above about four times now and it still won't work.
Any help will be appreciated at all and I'm sorry if this has been answered before and I'm just blind.
About 4 down from your post, https://forum.xda-developers.com/zenwatch-2/help/m6e69x-stock-rom-t3564626
At the bottom of that thread is a zipped up TWRP backup. Get TWRP temporarily running on the watch and restore it from there.
Here are the brief steps I did.
1. Get ADB Minimal and Fastboot - plug your watch into the computer using the cord. Enable ADB debugging on the watch.
2. Get twrp-v3.0.0-0.jk-v3.recovery.img for the watch
3. Fastboot oem unlock (erases your /data partition)
4. fastboot boot twrp-v3.0.0-0.jk-v3.recovery.img
5. Make an initial backup of the watch. You'll need the file structure created.
5. TWRP should let you copy the files to/from the watch
6. Create a new folder and copy the files from the zip to a folder under the serial number folder below TWRP - I have folder called 2017-03-14--11-51-50_M6E69X
7. Restore that copied TWRP backup
Hope that helps.

How To Guide Flashing firmware with Newflasher on Xperia 1 III without losing data

EDIT: The latest update to Newflasher (v52) built in the functionality to keep user data intact as a prompt while flashing.
Version 52 is out!
- version 52 (01.10.2021)
Implemented userprompt for keeping userdata, thanks @OhayouBaka for figuring out! Removed bootloader log retrieval
In short explanation all files marked with NOERASE inside update.xml is in relation to factory reset, so skiping files marked with NOERASE preserves userdata while flashing. Thanks OhayouBaka for figuring that out! Now newflasher have yes no promp for keeping userdata or making clean installation with factory reset. Bootloader log is removed since I found nothing usefull there.
Click to expand...
Click to collapse
As some people here who have owned previous Xperia devices may already know, to keep data while flashing firmware in Newflasher, you have to delete the userdata.sin file in the firmware folder.
However on the Xperia 1 III, this has changed.
If you only delete userdata.sin, your data partition will be corrupt and you will be forced to factory reset and lose all your data.
To prevent this from happening, not only do you have to delete userdata.sin, but also appslog.sin, diag.sin and metadata.sin from the firmware folder as well.
Found this by checking the update.xml file in the firmware folder, all required sin files to delete are listed as "<NOERASE>".
Unfortunately I had to learn this the hard way, but hopefully this post will save Xperia 1 III owners in the future from accidentally being forced to factory reset their devices when using Newflasher.
If you need the full instructions on flashing firmware that this guide compliments, check this thread: https://forum.xda-developers.com/t/flashing-a-xperia-1-iii-without-unlocking.4326235/
OhayouBaka said:
As some people here who have owned previous Xperia devices may already know, to keep data while flashing firmware in Newflasher, you have to delete the userdata.sin file in the firmware folder.
However on the Xperia 1 III, this has changed.
If you only delete userdata.sin, your data partition will be corrupt and you will be forced to factory reset and lose all your data.
To prevent this from happening, not only do you have to delete userdata.sin, but also appslog.sin, diag.sin and metadata.sin from the firmware folder as well.
Found this by checking the update.xml file in the firmware folder, all required sin files to delete are listed as "<NOERASE>".
Unfortunately I had to learn this the hard way, but hopefully this post will save Xperia 1 III owners in the future from accidentally being forced to factory reset their devices when using Newflasher.
If you need the full instructions on flashing firmware that this guide compliments, check this thread: https://forum.xda-developers.com/t/flashing-a-xperia-1-iii-without-unlocking.4326235/
Click to expand...
Click to collapse
First of all, thank you very much for this research.
If i understood right, i can update device this way and it will be essentially the same as updating the device via OTA, right ?
DennisDD78 said:
First of all, thank you very much for this research.
If i understood right, i can update device this way and it will be essentially the same as updating the device via OTA, right ?
Click to expand...
Click to collapse
I believe so, all your data, apps, etc will still stay as it was before the update.
OhayouBaka said:
I believe so, all your data, apps, etc will still stay as it was before the update.
Click to expand...
Click to collapse
And all system settings should remain ?
By the way, just wanted to clearify something, you mentioned about update.xml file in the firmware folder, should i edit it somehow before flashing, or just delete those four files from f/w folder ?
DennisDD78 said:
And all system settings should remain ?
By the way, just wanted to clearify something, you mentioned about update.xml file in the firmware folder, should i edit it somehow before flashing, or just delete those four files from f/w folder ?
Click to expand...
Click to collapse
Yeah system settings will remain too. Just leave update.xml alone, dont delete it. Only delete the four files that I mentioned from the f/w folder.
OhayouBaka said:
Yeah system settings will remain too. Just leave update.xml alone, dont delete it. Only delete the four files that I mentioned from the f/w folder.
Click to expand...
Click to collapse
Thank you, dear friend!
Much appreciated to your help. Just flash mine back to latest factory firmware to receive OTA and everything looks fine for now. System settings and installed app data are saved with no problem.
so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone(since still no real TWRP and titanium backup has been broken for a long time, I've been using Swift Backup)
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!
Does r / o and r / w work in Root Explorer?
Edited the original post to include the info that Newflasher has been updated with this functionality built in.
Hi, is there any way I can unlock the /system partition?
Does this allow us to mount the system partition as R/W?
largo2 said:
Hi, is there any way I can unlock the /system partition?
Does this allow us to mount the system partition as R/W?
Click to expand...
Click to collapse
With root only, i guess.
DennisDD78 said:
With root only, i guess.
Click to expand...
Click to collapse
Hello, of course my Xperia 1 iii is root.
Sorry, I'm using Google Translate
Sure wish there was a delete post button. It's a forum and I can't delete my own posts. Way to go, internet.
HowDoIVoIP said:
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide by Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.
Click to expand...
Click to collapse
tonysunshine said:
so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
View attachment 5423107
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!
Click to expand...
Click to collapse
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide [email protected] Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.
HowDoIVoIP said:
tony, I appreciate the guide but having never rooted or flashed a sony device, can I follow your guide to a T or do I sort of have to follow the main guide [email protected] Miustone as well as yours?
For example, he mentions installing "Fastboot" and "Flashmode" drivers by rebooting Windows 10 and installing them with Driver Signature Enforcement disabled. You didn't mention this, so I'm just trying to determine if I need to sort of follow both guides.
Click to expand...
Click to collapse
Yeah you will want to follow @Miustone 's guide first. I wrote mine assuming the phone has already been bootloader unlocked and rooted and the PC is setup already
tonysunshine said:
Yeah you will want to follow @Miustone 's guide first. I wrote mine assuming the phone has already been bootloader unlocked and rooted and the PC is setup already
Click to expand...
Click to collapse
Well thanks anyway, dude. I just followed most of his tutorial through step 4 all the way to fastboot flash boot_b magisk_patched.img
and then I just followed you with fastboot reboot without doing fastboot -w to wipe it. Well, it was wiped anyway. I guess I don't know what I expected. Lost everything and it's still not ****ing rooted - at least according to Youtube Vanced.
Ugh. This blows. We need better instructions. What was the point of flashing exactly when all it did was ERASE everything and not even grant you root?
Now I don't know what to do. I didn't even get to your "newflasher" here because I was following main guide and I stopped at the end of step 4 like like others said. I only wanted root. I didn't want to flash a new ROM.
Edit: Re-installed Magisk and now I can grant superuser. I still think these instructions need to be clearer for those of us who haven't rooted anything in thousands of years.
Unfortunately when you unlock your bootloader it will wipe the phone no matter what.
Will the tutorial in the first post also work on the Xperia Ace 3?
tonysunshine said:
so I had to jump through a few threads to figure out the details on how to update a magisk rooted x1m3 to the latest firmware without wiping(dirty flash). Figured I'd write out the steps here for others benefits
1 - download the firmware with Xperifirm
2 - download newflasher and extract to the firmware folder
3 - delete the following files from the firmware folder for no wipe dirty flash - userdata.sin, appslog.sin, diag.sin and metadata.sin. Skip this step if you're using Newflasher v52 and above
4 - download UnSin and extract to the firmware folder
5 - in the firmware folder, drag and drop boot_X-FLASH-ALL-*.sin into unsin.exe, and it will generate a boot_X-FLASH-ALL*.img in the same folder
6 - copy the boot_X-FLASH-ALL*.img onto your phone's sdcard somewhere.
7 - using magisk manager, install magisk and use the "select and patch a file" method. Select the boot_X-FLASH-All*.img file. This will generate a magisk_patched*.img onto your phone's sdcard
8 - download and extract platform-tools. Copy the magisk_patched*.img file from your phone's sdcard into the platform-tools folder on the computer. Rename the file to simply "magisk_patched.img"
9 - back up the phone(since still no real TWRP and titanium backup has been broken for a long time, I've been using Swift Backup)
10 - shut down the phone, plug in a usb-c cable to the computer, then while holding the volume DOWN button, plug in the usb-c cable to the phone. The LED indicator should be GREEN indicating FLASHMODE
11 - open up cmd prompt, and navigate to the firmware folder from step 1. Type in the following command
Code:
newflasher set_active:a
then hit enter. You should see result like this
View attachment 5423107
12 - in windows explorer, navigate to the firmware folder, and double click on newflasher.exe(phone should still be in FLASHMODE). Respond to the prompts - n gordongate, p power off, n trim
13 - wait for the flashing of the new firmware to finish
14 - disconnect the phone from the usb cable, and power it back up. Check and make sure you have all your data/apps/etc. At this point it should boot into the rom just fine, but won't have root access and magisk will show that its not installed
15 - power off the phone again. This time, press the volume UP button while plugging in the USB-C cable. LED indicator should be BLUE for FASTBOOT
16 - open up a new cmd prompt, navigate to the platform-tools folder. Type
Code:
fastboot devices
and hit enter to confirm your phone is connected. Should respond with an alphanumeric number and the term fastboot
17 - type the following commands into cmd prompt
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
18 - DONE. Your phone should be on the new firmware with root and all your data/apps/etc
props to @Miustone, @OhayouBaka, @Forbesii for the original instructions. I just sort of put it all in one place
fingers crossed a great dev will come along and give us TWRP soon!
Click to expand...
Click to collapse
What about deleting all the .ta files? I think this is a precautionary step so that the bootloader is not messed with in the case that you install an older firmware. My understanding is that if the bootloader is downgraded with those .ta files from older firmware, this will cause a brick.

Categories

Resources