Guys,I got 2 Nexus 7 2012 3G version.
The Nexus 7 with Android 4.2.2 have locked bootloader while the other one with Android 4.4.2 unlocked bootloader
I want to restore the 4.4.2 unlocked bootloader ROM using TWRP on the 4.2.2 Locked bootloader.
That's mean I want the 2 N7 with the same ROM (4.4.2) & apps.
Is it possible ?
And will my data lose ?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Ben Ling said:
Guys,I got 2 Nexus 7 2012 3G version.
The Nexus 7 with Android 4.2.2 have locked bootloader while the other one with Android 4.4.2 unlocked bootloader
I want to restore the 4.4.2 unlocked bootloader ROM using TWRP on the 4.2.2 Locked bootloader.
That's mean I want the 2 N7 with the same ROM (4.4.2) & apps.
Is it possible ?
And will my data lose ?
Click to expand...
Click to collapse
Sound very possible indeed.
I think you need to do this (if I understand you right): (I'll call the N7 with 4.2.2 "N7-1" and the one with 4.4.2 "N7-2")
1) You need to unlock the bootloader on the N7-1 - this will possibly wipe your data off this device, so copy what you need to a computer
2) Be sure to update the bootloader of N7-1 to v 4.23 - there are several guides available
3) Flash TWRP to the N7-1
4) Create a nandroid backup in TWRP of all partitions on the N7-2
5) Copy the 4.4.2 nandroid backup folder to your computer as well
6) Copy this backup image back to internal storage of the N7-1 in the TWRP folder
7) Boot into TWRP on N7-1 and restore the backup image you just copied (restore the system and data partitions)
8) Now you should have the same OS on both devices, along with your N7-1 userdata on the computer and the N7-2 userdata still on the N7-2 - copy userdata (internal storage) as needed
ameinild said:
Sound very possible indeed.
I think you need to do this (if I understand you right): (I'll call the N7 with 4.2.2 "N7-1" and the one with 4.4.2 "N7-2")
1) You need to unlock the bootloader on the N7-1 - this will possibly wipe your data off this device, so copy what you need to a computer
2) Be sure to update the bootloader of N7-1 to v 4.23 - there are several guides available
3) Flash TWRP to the N7-1
4) Create a nandroid backup in TWRP of all partitions on the N7-2
5) Copy the 4.4.2 nandroid backup folder to your computer as well
6) Copy this backup image back to internal storage of the N7-1 in the TWRP folder
7) Boot into TWRP on N7-1 and restore the backup image you just copied (restore the system and data partitions)
8) Now you should have the same OS on both devices, along with your N7-1 userdata on the computer and the N7-2 userdata still on the N7-2 - copy userdata (internal storage) as needed
Click to expand...
Click to collapse
The problem is i don't want the unlock the bootloader of N7-1 ...
Must unlock it ?
Ben Ling said:
The problem is i don't want the unlock the bootloader of N7-1 ...
Must unlock it ?
Click to expand...
Click to collapse
Yes, if you want to do what you say - that is making an exact copy of the OS on N7-2 onto N7-1, then you have to unlock the bootloader. If you just want to upgrade the N7-2 to Android 4.4.2, then you can do it the normal way without unlocking the bootloader. You could then take a normal backup of the apps on N7-2 (using Titanium og ROM Toolbox), and copy them to N7-1 and restore - this requires root, but the bootloader could stay locked.
ameinild said:
Yes, if you want to do what you say - that is making an exact copy of the OS on N7-2 onto N7-1, then you have to unlock the bootloader. If you just want to upgrade the N7-2 to Android 4.4.2, then you can do it the normal way without unlocking the bootloader. You could then take a normal backup of the apps on N7-2 (using Titanium og ROM Toolbox), and copy them to N7-1 and restore - this requires root, but the bootloader could stay locked.
Click to expand...
Click to collapse
So if the N7 4.4.2 with locked bootloader,i can just restore the rom on 4.2.2 without unlocking right ?
Ben Ling said:
So if the N7 4.4.2 with locked bootloader,i can just restore the rom on 4.2.2 without unlocking right ?
Click to expand...
Click to collapse
Erhm, I don't think you can restore an entire ROM with a locked bootloader. Let me reiterate:
If you want to restore an entire ROM (using TWRP/Nandroid backup) you need an unlocked bootloader (at least I think so).
If you want to install/upgrade a stock ROM manually, you can do it with a locked bootloader, but you then need to restore apps afterwards.
I can't elaborate more than that - good luck!
Related
I am sorry if this is a dupe of other threads but I couldn't find a complete answer to my problem anywhere else.
I have a nexus 7 (2012), on stock 4.4.2, unlocked bootloader (i think, unlocked padlock on startup).
I want to root. I gather this will not wipe? (or will it?) and what tool should i use? I already have N7 toolkit and android sdk, so i can use that most easily, otherwise any other program needed is fine. I want to use stock bootloader and stock rom and ensure ota updates will occur. (i understand i may lose root through ota updates, but i assume i can just reroot as i have unlocked the bootloader?)
Thanks
Since your tab has already gone through the bootloader unlocking process, there is neither a need nor a requirement to wipe the device.
And since you want to stay as close to Stock as possible, you can even "root" without ever flashing a recovery: you just soft-boot a recovery image rather than flashing one. That is - "fastboot boot (...etc)" instead of "fastboot flash (...etc)". That allows you to use a custom recovery every once in a while while leaving a stock recovery on the tablet. That preserves maximum compatibility with future OTAs.*
And with that soft-booted recovery, immediately take a Nandroid backup including the Stock recovery (which is still on the tablet because you soft-booted the recovery you are using). In the same session, use "adb pull" to get a copy of your 100% pure-stock Nandroid backup off the tablet. (Make sure you name it clearly so you will know exactly what it is 12 or 24 months later)
Finally, use a flashable .zip installer package for SuperSU to "flash root".
After an OTA, you can just reinstall root by soft-booting a custom recovery and using the same (or updated) flashable .zip installer method for reinstalling SuperSU. And just like above, capture a new 100% pure-stock Nandroid backup (including the new stock recovery) *before* re-rooting.
This strategy allows you to roll back to any version of stock you please at any time in the future.
good luck
* flashaholics prefer to have a recovery hard-flashed on their device so they can flash things on a whim, wherever they are. The approach here is a bit more restrictive as you have to have a PC handy in order to soft-boot a recovery in order to do any flashing. I would say that the biggest limitation of this approach is that it tends to reduce the number of Nandroid backups of your ROM personalization.
Backup are a good thing. You can always throw them away later, but you can't create a missing one that is urgently needed.
Hi all again. Today i write guide for noob
How Flash Stock rom???
1. First download rom to your pc
2. When you download rom open in winrar and check pack
3. If you have only one file update.app you can extrack but first you must create in desktop folder named dload and extract there.
4. If you have root and want flash full rom you can do it but you must have stock recovery.
5. Copy dload to your extsdcard and go to dialpad and write *#*#2846579#*#* and choise 4 and 1.
6. Your phone now power off and flash new firmware.
7. When its finish your phone boot again with new firmware.
P.s Flash firmware for your region or you be have bootloop or software brick and if you have you must have unlocked bootloader to reanimate your mate7
How Flash Ota update???
1. Download Ota update to your pc
2. Open using winrar and check do you have all folder and file look for exsample
cust
META-INF
patch
system
update.app
3. If you have that same folder do not extract from update.zip
4. Create dload on desktop and copy there update.zip and now copy to your extsdcard and go to dialpad and write *#*#2846579#*#* and choise 4 and 1.
5. Your phone now power off and flash new firmware.
6. When its finish your phone boot again with new firmware.
How restore twrp backup ???
1. If you have lollipop you must use pc to create folders:
TWRP/BACKUPS/ here you must put downloaded backup
2. If you have marshmallow you must use pc to create folders:
TWRP/BACKUPS/YOUR SERIAL NUMBER/ and here you must put downloaded backup
3. Download backup for your mate7 and extraxt to desktop
4. Copy all file to create folder and now copy TWRP folder to your internal sdcard or ext sdcard.
5. Power off your phone and go to TWRP RECOVERY
6. Select storege where you copy backup and now go restore.
7. If you see backup you can now restore.
8. Whene its restore go back and do it wipe data/cache/dalvick cache and reboot
9. First boot can make very long time and wait when in boot to system.
P.s When you use TWRP 2.8.7.X and do ot wipe data you lose your file and vendor country but when you use TWRP 3.0.2.0 you don't lose. If you lose you must restore using tool from this topic but you must be root
http://forum.xda-developers.com/mate-7/development/tool-srk-tool-huawei-beta-02-20160501-t3369990
How to reanimater your mate after bootloap???
We have 2 methode for now.
Firts it's restore twrp backup and secend its fastboot and downgrade pack
If you use twrp backup and its work very good for you but if dont work you must use fastboot method
1. Power off device and go to fastboot
2. Extract file from update.app for lollipop :
- system
- cust
- boot
- recovery
- userdata
for Marshmallow extract :
- system
- cust
- boot
- recovery
3. Install adb drive from this topic
http://forum.xda-developers.com/showthread.php?p=48915118
and copy all file to C:/adb on your windows
4. Open CMD as administator and write this commads
cd C:/adb
adb fastboot
Now you on fastboot mode
When you extract file frome update.app you must rename file :
10.boot.img to boot.img
11.recovery.img to recovery.img
13.cust.img to cust.img
14.system.img to system.img
If you remane you can flash img file using fastboot methode using cmd
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cust cust.img
fastboot flash system system.img
It's take very long but wait. When its finish take micro sd adapter and put you micro sdcard and connect to pc and copy full rom :
If you use lp file because you have bootloop on lp you must flash that same rom what you flash file using fastboot
and do it that same for marshmallow
when you copy put your adapter to slot of microsdcard in your mate7
Now power of your phone and try go to flash method using 3 bottom on you mate7
VOL+ POWER + VOL- when you seescreen on realese power and wait. Now you see how rom its flash.
If you have error you must use downgrade pack from mm to lp and flash.
When its flash you must flash lp.
If you have error you must use downgrde pack from lp to kk and flash.
When its finish you must flash kk rom.
Now you back to rom after bootloop and you can try again flash rom what you want.
Finish guide for noob
Cheers :highfive:
Thanks for the guide. I want to restore to MM from kk using twrp? Is it possible? I only wait 5 minutes after restore reboot then I think something must be wrong so I restore my own backup. I will give a try again.
Sent from my HUAWEI MT7-L09 using XDA-Developers mobile app
No you can't do it you must first flash kk second lp and then you flash mm
Wysłane z mojego HUAWEI MT7-L09 przy użyciu Tapatalka
chudy_85 said:
How restore twrp backup ???
1. If you have lollipop you must use pc to create folders:
TWRP/BACKUPS/ here you must put downloaded backup
2. If you have marshmallow you must use pc to create folders:
TWRP/BACKUPS/YOUR SERIAL NUMBER/ and here you must put downloaded backup
3. Download backup for your mate7 and extraxt to desktop
4. Copy all file to create folder and now copy TWRP folder to your internal sdcard or ext sdcard.
5. Power off your phone and go to TWRP RECOVERY
6. Select storege where you copy backup and now go restore.
7. If you see backup you can now restore.
8. Whene its restore go back and do it wipe data/cache/dalvick cache and reboot
9. First boot can make very long time and wait when in boot to system.
P.s When you use TWRP 2.8.7.X and do ot wipe data you lose your file and vendor country but when you use TWRP 3.0.2.0 you don't lose. If you lose you must restore using tool from this topic but you must be root
http://forum.xda-developers.com/mate-7/development/tool-srk-tool-huawei-beta-02-20160501-t3369990
Click to expand...
Click to collapse
Hi buddy, your guide is gold. I explain what i did up to now. I wanna know how to proceed safely.
1) 2 year old MT7-L09 Mate 7. Long time ago i go bootloader unlocked, rooted and updated to lollipop stock. dont know which firmware version.
2) TWRP 2.8.7.0. Wanted to factory reset after long time no using the phone, ended up wiping OS and god knows what else.
3) Can access fastboot and TWRP.
4) Tried stock recovery and 3 button method to downgrade or install stock update.app. Nothing worked it always got stuck at 90%.
Up to there nothing worked. I guess i must have damaged some critical files.
Then i found your guide and wanted to try making a lollipop restore from TWRP. Found a file.
Now, if i understood what you have written in red, i may have wiped oem information like country and vendor. Maybe thats because i cant install stock from huawei.
How can i restore that info? is there any way i can backup my bootloader info, or retrive my country and vendor info?
How do you suggest me to proceed safely.
Thanks
Sebastian
lungolok said:
Hi buddy, your guide is gold. I explain what i did up to now. I wanna know how to proceed safely.
1) 2 year old MT7-L09 Mate 7. Long time ago i go bootloader unlocked, rooted and updated to lollipop stock. dont know which firmware version.
2) TWRP 2.8.7.0. Wanted to factory reset after long time no using the phone, ended up wiping OS and god knows what else.
3) Can access fastboot and TWRP.
4) Tried stock recovery and 3 button method to downgrade or install stock update.app. Nothing worked it always got stuck at 90%.
Up to there nothing worked. I guess i must have damaged some critical files.
Then i found your guide and wanted to try making a lollipop restore from TWRP. Found a file.
Now, if i understood what you have written in red, i may have wiped oem information like country and vendor. Maybe thats because i cant install stock from huawei.
How can i restore that info? is there any way i can backup my bootloader info, or retrive my country and vendor info?
How do you suggest me to proceed safely.
Thanks
Sebastian
Click to expand...
Click to collapse
You can manual push oem info to correct partition. What country you from
chudy_85 said:
You can manual push oem info to correct partition. What country you from
Click to expand...
Click to collapse
Im form Argentina. Phone was bought in US. I dont mind putting any country version as long as i can bring it back alive.
Luckily i have saved phone imei, serial number and id in evernote. Maybe that can help to figure it out.
Do you have a procedure or guide to do that you are suggesting?
if you have unlocked bootloader you can try use SRKToolHuawei-Lod-Chong-V2.0-20161002 to change oem info and then try flash correct your rom using dload method. But if you change region you must unlock again bootloader but when you go to fastboot you have unlocked. Unlock again because its locked
Hi,
I am new to the P9 lite forum, just received my P9 lite last week.
I am quite experienced with flashing my Galaxy S2 and from what I read so far Huawei is quite different in some aspects.
I would like to raise a few general questions:
1. Can I debrand my device with only flashing a new stock ROM or do I also need to flash an oeminfo? (I do have C150, so it would be C432 for me)
2. What of the following is possible without bootloader unlocking?
- flashing a stock rom
- flashing a stock recovery
- flashing an oeminfo
3. Does the device stay unlocked, whatever I flash, or does the bootloader automatically get locked as soon as I flash a stock ROM and or recovery?
4. Unlocking the device fpr dual SIM does not have any disadvantages, so I still could use an SD Card in 2nd Sim slot, right?
5. Is the /data partition encrypted in stock firmware?
6. In case it is encrypted, this would mean my SD Card also getting encrypted if I install it as internal memory?
7. This is hard question and only guesses can be made, but do you believe this device could get an official Lineage OS eventually? From what I can see, at least the P8 lite got an official status with CyanogenMod.
8. Could I make an image /system (ROM) and would be able to reflash it? I guess not in a way ROMs get normally delivered (zip) and it would not be signed, so it could not be flashed with a locked bootloader. I am aware that a dd image could work with root and unlocked bootloader.
9. Is there a seperate partition like on Samsung devices, where the IMEI is stored and which should be backuped before flashing?
10. What is the /cust partition for?
Some questions are only for general understanding, as I am going to root and debrand it eventually.
push
1. Some people flashed stock ROM but their region remained the same, so if you want to change region you have to flash oeminfo.
2. Without unlocking bootloader the only thing you can do is to flash stock ROM.
3. The device will relock only if you flash stock ROM through the three buttons mode, flashing a zip will keep the device unlocked.
4. Yes, unlocking dual sim still allow you to use SD card. I did it without problem.
5. Yes Huawei has encrypted data partition.
6. If you use SD card as internal storage it will be encrypted, and if you remove it, the only way to use it again is to format it.
7. I don't think we will ever get official LineageOS, but hope is the last to die .
8. You can flash a zip only through TWRP (so with unlocked bootloader), otherwise it will not work.
9. As I know it's not necessary to backup IMEI if you don't do very weird thing with your phone.
10. Cust should be where oeminfo is stored (I think?), If I am wrong, someone correct me .
Thanks for your answer.
So basically de-branding is only possible, if you unlock your bootloader and therefore can flash a different oeminfo?
Refereing encrypted as internal formated SD Card. Shouldn't it be possible to decrypt via Linux CLI with cryptsetup....? Or is Android not using dm-crypt?
fireburner-de said:
Thanks for your answer.
So basically de-branding is only possible, if you unlock your bootloader and therefore can flash a different oeminfo?
Refereing encrypted as internal formated SD Card. Shouldn't it be possible to decrypt via Linux CLI with cryptsetup....? Or is Android not using dm-crypt?
Click to expand...
Click to collapse
I have not tried to debrand as my device was stock, but you should try first to flash the stock firmware (B160 suggested).
Anyways in EMUI the function to use SD card as internal storage is disabled by default because of Huawei security policy I guess, but some users found a way to enable it in fastboot if I remember correctly. I don't know if it's possible to decrypt it in Linux sorry :/
Hello, I registered for the beta test emui 5.0 in france. In the meantime, do you think I can reinstall b336.zip and returned to MM when they go to publish ota beta-nougat.
I was updating my system security patch from official moto but after restarting it started twrp and asked me if i want to flash that update file, after swiping it opened Twrp homepage(i was unable to restart from its reboot option but i went to the bootloader and started cell (Working correctly currently))
Two Options
1. I should lock the bootloader
2. Leave it as it is.
If option 1. lock my bootloader on stock Android Nougat 7.0 on Moto G4 plus Athene XT1643. As i have stock android and precious data so i only want to lock bootloader Without wiping my system Data (I can wipe if no other way is available).
For option 2. Keep it as it is.
Please suggest me what to do and how?
And tell me about official Oreo or Custom Oreo(best option)
Sorry for my bad English and errors(If any).
Thanks in advance
@cooldude1598 official update can not be flashed through TWRP, you need to have stock recovery and unmodified system/kernel/etc as well.
If you have played with stock ROM (flashed custom kernel/ rooting / installing and flashing other stuff ), it will fail through stock recovery too, for that you need to download appropriate stock ROM according to your current version of stock ROM, and it will erase everything (includes apps and app data, photos, videos and anything on internal storage)
you said, you have system data ?
What is that?
If it is photos, videos, or personal data then move it to external sd card or PC, apps and app-data can be backup through titanium backup, and also move it to safe place.
If not this, then tell us what system data?
Fro another question about LOCKING, it is not necessary to re-lock bootloader, you can go with unlocked bootloader, don't lock again, once you flash stock ROM through fastboot, you can update to any security updates without fail.
English is weak here too, hope you got it what i said.
Hello
I own a clean X Compact phone and I want to unlock bootloader and root it ( Magisk) before install anything on it. Actually it is on Android 8 v34.4 and I can't backup DRM with indicated tools (backup TA), so do I need to backup DRMs if I don't use Sony services except the camera to take pictures ?
If yes, which tool can do this on Android 8 ?
Thanks
Feedback on this.
After done the android 8 update to the last release from sept 2018, I was able to activate the OEM unlock and run fastboot unlock command.
Installation of TWRP is ok
Magisk cause Unsupported/Unknown image format with the v21 . Investigate to know why
Trying to install DRM-Fix-system_Mode.zip and the phone boot loop on fastboot mode.. I'm looking to a way to uninstall this DRM Fix or flash another file,if someone can help.
Finally install Lineage OS 16 after failed to install stock firmware with flashtool. Added OpenGApps and Magisk (v21) to disable non desired apps ( 95%)
It is better to backup the TA in case you would need to get back to the stock firmware or sell device in factory conditions (on stock ROM).
If you have already unlocked the bootloader without backing up the TA first then there is no way to bring the device back to the completely factory state.
mp107 said:
It is better to backup the TA in case you would need to get back to the stock firmware or sell device in factory conditions (on stock ROM).
If you have already unlocked the bootloader without backing up the TA first then there is no way to bring the device back to the completely factory state.
Click to expand...
Click to collapse
Thanks for your precisions.