Hi,
I have a Wiko Lenny 3 phone and need to recover the pictures. The unlock code is lost, the touchscreen doesn't work anymore. My ideas so far:
1. I used the "Backup user data" feature of the stock recovery to a SD card.
Since I cannot upload an image until I have 10 posts, the recovery is like
"
Android Recovery
alps/full_v3702/v3702
6.0/MRA58K/1453981211
user/release-keys
Volume down to move highlight;
enter Volume up key to select.
----------------------------------------
Reboot system now
Reboot to bootloader
Apply update from ADB
Apply update from SD card
Wipe data/factory reset
Wipe cache partition
Backup user data ---> this is what I used
Restore user data
Root integrity check
Mount /system
View recovery logs
Power off
----------------------------------------
SD card free space: 29564MB
User data allocated: 11893MB
backup file: userdata_20190929_172118.backup
Backup user data complete.
"
But how to access the data? Tutorials which I found didn't help (merging the files in Linux, remove 512 Bytes and rename to zip to be able to extract "some" data: it isn't recognized as zip file). Is it possible to restore this user data to a virtual device somehow to access the data?
2. Removing the code: Following a German instruction (I'm not allowed to link it, sorry).
ADB doesn't recognize the device. Probably because USB debugging is turned off and I cannot turn it on without unlocking the device.
I don't do this very often, so my knowledge about ADB and Android is limited.
Does someone have a helping hint? Thank you in advance!
Regards
Martin
Martin_2 said:
Hi,
I have a Wiko Lenny 3 phone and need to recover the pictures. The unlock code is lost, the touchscreen doesn't work anymore. My ideas so far:
1. I used the "Backup user data" feature of the stock recovery to a SD card.
Since I cannot upload an image until I have 10 posts, the recovery is like
"
Android Recovery
alps/full_v3702/v3702
6.0/MRA58K/1453981211
user/release-keys
Volume down to move highlight;
enter Volume up key to select.
----------------------------------------
Reboot system now
Reboot to bootloader
Apply update from ADB
Apply update from SD card
Wipe data/factory reset
Wipe cache partition
Backup user data ---> this is what I used
Restore user data
Root integrity check
Mount /system
View recovery logs
Power off
----------------------------------------
SD card free space: 29564MB
User data allocated: 11893MB
backup file: userdata_20190929_172118.backup
Backup user data complete.
"
But how to access the data? Tutorials which I found didn't help (merging the files in Linux, remove 512 Bytes and rename to zip to be able to extract "some" data: it isn't recognized as zip file). Is it possible to restore this user data to a virtual device somehow to access the data?
2. Removing the code: Following a German instruction (I'm not allowed to link it, sorry).
ADB doesn't recognize the device. Probably because USB debugging is turned off and I cannot turn it on without unlocking the device.
I don't do this very often, so my knowledge about ADB and Android is limited.
Does someone have a helping hint? Thank you in advance!
Regards
Martin
Click to expand...
Click to collapse
MartÃn only way you could access them pictures is if you had twrp
([emoji3590]09-09-18[emoji3590])
Thanks. Is it possible to flash TWRP without losing data and without access via ADB?
Martin_2 said:
Thanks. Is it possible to flash TWRP without losing data and without access via ADB?
Click to expand...
Click to collapse
If your phone has twrp available and it's a Samsung you can flash it and you won't be able to do a twrp backup without formatting data to have data partition mountable in twrp to flash decrypt zip to do a backup however you don't need to format to be able to mount system partition once system is mounted you can use the twrp file explorer to delete files to delete your screen lock so you can enter the phone
([emoji3590]09-09-18[emoji3590])
PoochyX said:
If your phone has twrp available and it's a Samsung you can flash it and you won't be able to do a twrp backup without formatting data to have data partition mountable in twrp to flash decrypt zip to do a backup however you don't need to format to be able to mount system partition once system is mounted you can use the twrp file explorer to delete files to delete your screen lock so you can enter the phone
([emoji3590]09-09-18[emoji3590])
Click to expand...
Click to collapse
It's a Wiko Lenny 3, no Samsung. Sorry, I don't get it without punctuation.
Do I get it right, that
- If TWRP is available for my phone I can flash it, but I need to format all my data (no option)
- I can flash a "decrypt zip" to do a backup (what is it, where do I get it?)
- I can mount the system partition and can use the TWRP file explorer to delete files (how can I mount it?)
Thanks.
Problem solved, I could access all the data in the backup from the stock recovery!
This is how it worked:
In short: Make a backup of all user files in the stock recovery to a MicroSD card, put it to a Linux desktop, merge the backup files by skipping the first 512 bytes of each file, copy the merged file to Windows, extract it with 7zip.
In long:
1. I put an empty 32GB FAT32 formatted MicroSD card in the MicroSD slot of the Wiko Lenny 3
2. I used "Backup user data" from the Stock Recovery (see my first post). It took a few minutes until ~12GB of user data were written to the card. The stock recovery told me when it was done.
3. I copied all files (6 files, userdata_20190929_172118.backup to userdata_20190929_172118.backup5) to a Linux environment (Linux Mint 19.2)
4. The rest is explained in this video: https://www.youtube.com/watch?v=cY4cKKimEFU. If it is offline, I will explain here.
Do not use something like "cat userdata_yyyymmdd_HHMMSS.backup* > userdata_yyyymmdd_HHMMSS.backup" to merge all files into one because it will add the unnessesary 512 bytes header of all .backup files to the merged file. Instead copy all content except the first 512 bytes to another file and append the content from the other files to it, also by skipping the first 512 bytes.
5. This command will copy the content of the first file "userdata_20190929_172118.backup" to a new file "img.ext4":
Code:
dd if=userdata_20190929_172118.backup skip=512 bs=128k iflag=nocache,skip_bytes oflag=nocache,append conv=notrunc of=img.ext4
6. Repeat using the same command to append the content of all other files to the file "img.ext4" by skipping the first 512 bytes. Be sure to increase the number of the source file extention in the command. Next one therefore is:
Code:
dd if=userdata_20190929_172118.backup1 skip=512 bs=128k iflag=nocache,skip_bytes oflag=nocache,append conv=notrunc of=img.ext4
7. Repeat with all files
8. Copy the file "img.ext4" to a NTFS formatted USB stick or an external hard drive and go on with a Windows environment. The reason is that Linux will prevent opening some important folders
9. Install 7zip
10. Extract the file "img.ext4" with 7zip. If you are searching for pictures, you will find them in the subfolder "\media\0\DCIM\Camera"
Martin_2 said:
Problem solved, I could access all the data in the backup from the stock recovery!
This is how it worked:
In short: Make a backup of all user files in the stock recovery to a MicroSD card, put it to a Linux desktop, merge the backup files by skipping the first 512 bytes of each file, copy the merged file to Windows, extract it with 7zip.
In long:
1. I put an empty 32GB FAT32 formatted MicroSD card in the MicroSD slot of the Wiko Lenny 3
2. I used "Backup user data" from the Stock Recovery (see my first post). It took a few minutes until ~12GB of user data were written to the card. The stock recovery told me when it was done.
3. I copied all files (6 files, userdata_20190929_172118.backup to userdata_20190929_172118.backup5) to a Linux environment (Linux Mint 19.2)
4. The rest is explained in this video:
. If it is offline, I will explain here.
Do not use something like "cat userdata_yyyymmdd_HHMMSS.backup* > userdata_yyyymmdd_HHMMSS.backup" to merge all files into one because it will add the unnessesary 512 bytes header of all .backup files to the merged file. Instead copy all content except the first 512 bytes to another file and append the content from the other files to it, also by skipping the first 512 bytes.
5. This command will copy the content of the first file "userdata_20190929_172118.backup" to a new file "img.ext4":
Code:
dd if=userdata_20190929_172118.backup skip=512 bs=128k iflag=nocache,skip_bytes oflag=nocache,append conv=notrunc of=img.ext4
6. Repeat using the same command to append the content of all other files to the file "img.ext4" by skipping the first 512 bytes. Be sure to increase the number of the source file extention in the command. Next one therefore is:
Code:
dd if=userdata_20190929_172118.backup1 skip=512 bs=128k iflag=nocache,skip_bytes oflag=nocache,append conv=notrunc of=img.ext4
7. Repeat with all files
8. Copy the file "img.ext4" to a NTFS formatted USB stick or an external hard drive and go on with a Windows environment. The reason is that Linux will prevent opening some important folders
9. Install 7zip
10. Extract the file "img.ext4" with 7zip. If you are searching for pictures, you will find them in the subfolder "\media\0\DCIM\Camera"
Click to expand...
Click to collapse
I have the exact same problem with an older 2017 ALCATEL Pixi Unite A466BG. The code is lost and there's some photos we need off of it. I followed these instructions but when I got the img.ext4 file on Windows and tried extracting it with 7zip, I got an error that "ext4" is not an archive file.
I was hoping to see if anyone else had ideas of possibly why 7zip wasn't recognizing it? I had 3 backup files to merge (backup, backup1, backup2).
Related
Okay This Is My First Post Please Dont Flame
This Is For Every One Who Messed Around With Their deice and now cant log in and you have important data in the emulated internal storage which you need. If Yes the follow this simple tut
THIS METHOD IS ONLY FOR THOSE WHO HAVE A NANDROID BACKUP OR CAN MAKE A NANDROID BACKUP USING RECOVERY (i used cwm) IT CANT BE USED TO RESTORE ROM IN PREVIOUS WORKING STATE !! JUST DATA BACKUP
Lets Start..
1). Make A Nandroid Backup (usually created in the external sd) and copy it on the desktop of your computer
2). Download 7-Zip
3). Install
4). now open your backup folder there will be files with different file extensions (named like system data)
5). there will be many files we are only interested in files with extension .tar.ext4.a usually the biggest files
6). now those files are the image files of your internal sd and system
7). open 7-zip and navigate to your file (data.tar.ext4.a) and open it.
8). the fun part now.. now thats your root folder so navigate to /mnt/sdcard/
9). Viola! Its Your Internal SD now just select the file/folder you want
10). Select extract and extract to your required location.
11) And Its Done
This method is usually useful if you use audio manager and you havent changed the default data location from /sdcard0/Program Data/Languages/.fr
Enjoyy
I am using Android SDK Manager Revision 22.2.1 with my Samsung Galaxy S3 GT-I9300 International which is running a leaked copy of the Official Samsung 4.2.2 Stock Jellybean ROM dated 24th June 2013. It is rooted.
I wish to copy my entire TWRP backup folder to my PC and in preparation I read several threads which purport to explain how to do it but I only succeed in copying 16Mb worth of .md5 and .win files out of a backup folder which is 2.56Gb in size.
All folders in the TWRP folder are readable, writable and not hidden.
I have used the commands adb pull/sdcard/TWRP/ D:\111. I also tried adb pull/sdcard/TWRP D:\111.
The best I have got so far is to copy BACKUPS/4df1bd936aae7f4b/Leaked_Samsung_4.2.2_stock-15.10.13 which contains the following files:
boot.emmc.win
boot.emmc.win.md5
cache.ext4.win.md5
data.ext4.win000.md5
data.ext4.win001.md5
recovery.log
recovery.emmc.win
recovery.emmc.win.md5
system.ext4.win.md5
There are four missing files including the following large files.
data.ext4.win000
data.ext4.win001
system.ext4.win
Admittedly I am not a developer and am new to ADB so I am presumably doing something wrong.
Can anyone assist please.
If you are wondering why I wish to do this I have twice tried to flash Cyanogenmod 10.1.3 Stable version to my phone but get errors both times. I thought it may help to format my phone but before doing that I want to copy the backup of my ROM so that I can recver back to stock if CM still causes problems.
Simple method would be to make backup to ext sd card or even int sd card .
Then via USB windows explorer copy and paste .
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
matrixmainframe said:
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
Click to expand...
Click to collapse
Thank you JJEgan! I have found an option in TWRP Recovery to save my ROM backup to my external MicroSDCard which is what I needed.
thanks again.
Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Clipper52a said:
Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Click to expand...
Click to collapse
What part of it doesn't work? Can you not find the file? Does it give an error message? Info like that will be very helpful for us to help you.
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Clipper52a said:
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Click to expand...
Click to collapse
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Thank you es0tericcha0s
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
es0tericcha0s said:
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Click to expand...
Click to collapse
Clipper52a said:
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
Click to expand...
Click to collapse
:good::highfive::victory:
Hi all,
I'm tinkering with my OnePlus 6 and trying to backup so I can restore after I soft-brick it by removing bloatware.
I'm using OxygenOS 10.3.2 and seems that TWRP doesn't backup/restore as it should, it always bricks my phone whenever I restore /system or /data.
I'm trying to save and restore data via terminal at the moment, I mounted /system and I see I have access to dd.
Is it possible to just copy everything from /system and /data to /sdcard, move it to my pc, and whenever I brick the phone, just stock install OxygenOS 10.3.2 then TWRP and restore via terminal?
Anyone done this?
I presume the risk is low if I'm only touching /system and /data?
edit:
Managed to backup /system with DD but I don't know how to backup /data, as /data is the same device as /sdcard, and it would create a file equal to the whole partition size. I would not be able to store it on the same partition since /sdcard is basically a subfolder of /data.
Any way of backing up /data? on the same partition?
I would have tried with rsync then zip the whole thing and extract it on my pc. I know rsync keeps the file/folder permissions intact. But rsync is not available in TWRP recovery.
I tried to make a tar archive while inside /data, excluding the media folder, like this:
Code:
tar -pzcvf data.tar.gz --exclude=media *
The -p option should preserve SELinux attributes. I then copy data.tar.gz to /sdcard and pull it on my PC.
But, when I move it back, delete everything in /data except media folder, then unpack the archive and reboot, it goes into recovery.
I don't understand why wiping all files then putting them back from the archive breaks the system. What am I missing?
edit:
Apparently /data backup and restore work from TWRP modified by Mauronofrio, only the /system backup/restore is broken, but that can be done with DD from TWRP.
So my issues are solved at the moment.
mad_rock said:
I tried to make a tar archive while inside /data, excluding the media folder, like this:
Code:
tar -pzcvf data.tar.gz --exclude=media *
The -p option should preserve SELinux attributes. I then copy data.tar.gz to /sdcard and pull it on my PC.
But, when I move it back, delete everything in /data except media folder, then unpack the archive and reboot, it goes into recovery.
I don't understand why wiping all files then putting them back from the archive breaks the system. What am I missing?
edit:
Apparently /data backup and restore work from TWRP modified by Mauronofrio, only the /system backup/restore is broken, but that can be done with DD from TWRP.
So my issues are solved at the moment.
Click to expand...
Click to collapse
I'm not sure if -p is sufficient to also backup the selinux rights.
Have you tried the tar option --selinux ?
From the man1 page:
Code:
--selinux
Enable SELinux context support.
Hi all, I need a little help, I've unlocked bootloader and installed twrp recovery (that's wiped data on the phone and I've reinstalled apps and accounts).
The guide i was following ask to reboot and boot twrp recovery (working) and to install magisk zip file copied from PC to internal memory
I copied magisk in internal memory (root and download folders) but in TWRP I can't see the storage i get from PC, only different folders.
I tried also adb sideload D:\Android\Magisk-v21.2.zip directly from PC but i get errors on mounted file systems yrying to install files i think, I tried to check and mount file systems in TWRP advanced options but I can't mount them ...
How can I install Magisk ?
Thanks for help
blackalex1 said:
Hi all, I need a little help, I've unlocked bootloader and installed twrp recovery (that's wiped data on the phone and I've reinstalled apps and accounts).
The guide i was following ask to reboot and boot twrp recovery (working) and to install magisk zip file copied from PC to internal memory
I copied magisk in internal memory (root and download folders) but in TWRP I can't see the storage i get from PC, only different folders.
I tried also adb sideload D:\Android\Magisk-v21.2.zip directly from PC but i get errors on mounted file systems yrying to install files i think, I tried to check and mount file systems in TWRP advanced options but I can't mount them ...
How can I install Magisk ?
Thanks for help
Click to expand...
Click to collapse
You must copy files from PC to /temp folder
FSadino said:
You must copy files from PC to /temp folder
Click to expand...
Click to collapse
I don't have a temp folder, only Alarms, Android, DCIM...., Ringtones and Whatsup folders, should I create it ? Then i can see it in twrp ?
By the way upgraded twrp to 3.4.0.2
Tried to create temp but I can't see It obvously in twrp as the rest of the folders, only mounted filesystem is metadata
go in twrp to advanced wipe --> format data partition to ext2 --> wait --> when done format back to ext4 --> wait --> now see if your OS recognizes the USB android device. try usb replugging if not --> now you should see a new partion where you can write in your file explorer on HOST OS.
n3tk1d said:
go in twrp to advanced wipe --> format data partition to ext2 --> wait --> when done format back to ext4 --> wait --> now see if your OS recognizes the USB android device. try usb replugging if not --> now you should see a new partion where you can write in your file explorer on HOST OS.
Click to expand...
Click to collapse
Ok since It is wiping data partition and I'm under mobile connection I'll do this in the next couple of days back home. Just to confirm, I can see internal memory partition from host OS without problems, I can copy files from OS to mobile. The problem is that rebboting in recovery TWRP I can't see FROM MOBILE that partition and folders, so I can't access magisk file I copied ...
With your suggestion do you mean that the new formatted partition is visible both in TWRP and OS ?
blackalex1 said:
Ok since It is wiping data partition and I'm under mobile connection I'll do this in the next couple of days back home. Just to confirm, I can see internal memory partition from host OS without problems, I can copy files from OS to mobile. The problem is that rebboting in recovery TWRP I can't see FROM MOBILE that partition and folders, so I can't access magisk file I copied ...
With your suggestion do you mean that the new formatted partition is visible both in TWRP and OS ?
Click to expand...
Click to collapse
Which guide are you following?
Hw4ng3r said:
Which guide are you following?
Click to expand...
Click to collapse
I found many and they are all similar...
- Unlock boot loader
- Install recovery TWRP
- Reboot in recovery (sometimes from phone other guides from image on PC)
- install magisk copied from OS from twrp recovery
Everything is clear except for I can't access the data partition from TWRP in the last step so I can't see the copied magisk file and I can't mount the partitions in TWRP (i get an error)
A couple of guides:
Root OnePlus 7T Pro (hotdog) and Install TWRP Recovery 3.4.0 (androidweblog.com)
Download Latest Magisk zip 21.2 and Magisk Manager 8.0.4 and Root your phone (getdroidtips.com)
In the second one they use the sdcard partition but I don't have sdcard on 7T Pro ...
You can point me to a different method if available to get magisk installed ...
Thanks for the help
blackalex1 said:
Ok since It is wiping data partition and I'm under mobile connection I'll do this in the next couple of days back home. Just to confirm, I can see internal memory partition from host OS without problems, I can copy files from OS to mobile. The problem is that rebboting in recovery TWRP I can't see FROM MOBILE that partition and folders, so I can't access magisk file I copied ...
With your suggestion do you mean that the new formatted partition is visible both in TWRP and OS ?
Click to expand...
Click to collapse
so when you do as i said you are in twrp cos you booted to it. twrp will read and be able to access your phones storage. you are not wiping the data partion but are formating it to ext2 and then back to ext4 (still do backup as data will be lost). this enables twrp to circumvent the oxygen decryption / format. NOW and only AFTER THAT dont reboot (dont), but now your HOST can copy the desired magisk to the phone that is still in twrp RECOVERY MODE. Thus you can now install it with twrp since twrp can now access and read the recently copied image. anyways i wont do it. i used a patched magisk image. was the only thing that ultimately worked for a clean rooting and it didnt even unlock the /system_boot and /vendor partions but it works. find in the oneplus 7t pro guideds forum topic your corresponding magisk image and flash it to disk with fastboot flash boot magisk-patched.img. that worked pretty well when you use the right android version 10.0.x.etc.
actually, wtf do i know. i just followed this thread:
[Guide] How to Root OnePlus 7T Pro with TWRP
thanks for this detailed root process, I've been looking for this for around 3days. (my OP7t pro is coming today will try this root method)
forum.xda-developers.com
Clearly stated in the TWRP thread, decrypting OOS is not working. And I wouldn't even bother formating data.
In order to flash zip is TWRP you most execute;
"adb push magisk.zip /cache",
then in TWRP go into that folder and flash the file.
Or you can do patched image method, you can find guides in guides section.
Some basic researching would also help.
Lossyx said:
Clearly stated in the TWRP thread, decrypting OOS is not working. And I wouldn't even bother formating data.
In order to flash zip is TWRP you most execute;
"adb push magisk.zip /cache",
then in TWRP go into that folder and flash the file.
Or you can do patched image method, you can find guides in guides section.
Some basic researching would also help.
Click to expand...
Click to collapse
PERFECT thank you very much, got only a couple of warnings at the end:
failed to mount /system_root (permission denied)
failed to mount /vendor (permission denied)
But It seems correct.
I will check for patched image to better understand what is tha advantage compared to the standard one.
blackalex1 said:
PERFECT thank you very much, got only a couple of warnings at the end:
failed to mount /system_root (permission denied)
failed to mount /vendor (permission denied)
But It seems correct.
I will check for patched image to better understand what is tha advantage compared to the standard one.
Click to expand...
Click to collapse
Those errors are nothing to worry about since it's not possible to modify those partitions on stock.
I tried rooting my lenevo tab M10 hd and flashed a incorrect boot img as I am new to rooting and bricked up my device then from some where I got the correct boot img and recovered my device but now I am unable to use its internal storage , its shows some random letters when I open the file manager can you guys help me out resolving this issue.