Thank you for this. I got my phone into a messed up state and luckily my wife has the exact same phone (purchased at the same time). I was able to pull a "stock" image off hers to recover mine by following this.
Dude! You have no idea how much you really help me. Thank you so much. Don't stop doing this if it help others like it help me we all be great-full to you. I know I am.
@@Rootjunkycom Long shot you are still around, I love messing with android and while I am on the bottom end of your learning curve I understand what you did, why you did it and how..... so that is a plus. So long segue into this... I have an old SM-G1702 that will not boot at all but when you attach it to the computer with a USB cable it boots to the "update encountered an error" screen, before you answer with the obvious, no it will not hard boot, soft boot or boot into recovery, ADB nor fastboot recognize it however ODIN does but I get a fail on everything I have tried to load on this device. TWRP wont load, I even found a generic ROM that supposedly would work on this specific device and NADA.... I cant boot it to start developer mode nor USB debugging. Just for fun do you know a trick? >..< Jim
Thanks bro, those who dislike your video are mindless probably kids that broke their phone. I finding this tutorial for all long time for porting devices thx man!!!🇵🇭
How can I thank you ! My bricked Lenovo TAB 4 8 Plus came to life again by pulling BOOT.IMG from a healthy TAB 4 8 Plus and flashing that. The directory structure on the TAB 4 8 Plus is somewhat different from what you have shown here, but with your clear explanation one can easily find the correct info on ones own device *). Thanks a million ! *) To get the block numbers for TAB 4 8 Plus: adb shell "ls -la /dev/block/platform/soc/7824900.sdhci/by-name"
It seems that you are still answering questions, thats good to know. First of all let me thank you for this great tutorial I was reading an XDA Forum Thread called "[GUIDE] Making Dump Files Out of Android Device Partitions" which describes similar steps, but having a visual guide do help, and a lot. Now, I must say I did manage to get a Recovery and a Boot Images. But the problem was I had to do all this with the phone normally booted, I mean working on it's normal state, just turned on. There was no way on getting it recognized by the PC on the TWRP Recovery Booted from the PC. I could get it recognized with the phone normally booted and the adb commands worked fine, I tried adb devices, adb shell, asked permissions, gave them and exit, then I typed adb boot bootloader, here I got my phone recognized by typing fastboot devices, but I couldn't get it recognized by adb devices, then I typed fastboot boot twrp.img, to boot the temporary Recovery from the PC without flashing it, and here's where I just can't get adb devices or fastboot devices recognize my phone by the PC. I'm curious why I can't make it, but I got the images anyway, do you have any advice here, should I stay with the images I got on my way or should I try to make it work your way??? Thanks again.
Watching the video on February 2019. Thank you very much for this informative video. Everything was perfect. The content, the presentation, your diction, the organized sequence of topics, the clear display of the windows on the PC screen. Topnotch. I also appreciate the zero profanity. I subscribed and can only give one thumbs up, so here a few more: 👍👍👍... 👍👍 A quick question: I am not sure if I have the exact TWRP. If I use a wrong one, do I risk messing my device?
It was really awesome. It is in next level.All videos regarding pulling of stock are shit if this video is considered of this. It was the best video. I loved it
Nice video. At least you speak. Everyone else, maybe the just lazy, but when you have a novice who really bricked(FUKED UP) Their phone you down't want hear music and watching someone typing.... You want detail step by step instructions as close as you can get them So thank you for not being a lazy SOB AND BUT A TRUE INSTRUCTOR.
Rootjunky.com But when I connect my galaxy grand prime phone to adb. the adb devices is able to detect the phone, however when I use command "adb reboot bootloader" the phone restarts and then the command "fastboot devices" show no devices in output.
+Rootjunky.com I am searching all day for answer on the question: is there any equivalent of "fastboot boot recovery.img" for Samsung galaxy phones, i.e. the ones for which fastboot doesn't work? Good video BTW!
Awesome, sooo thankful for important instructions and functions for fastboot & ADB - I'm so tired of graphic tools for windows. Request: Please take a stockrom.rar download and either convert it to a flash.zip or how to pull the files needed from the download to restore an android device to stock. Currently stuck only have access to device via TWRP, fastboot & ADB. Very grateful for you taking the time to "teach the hungry to fish" ..lol
incredible ! But I have a question, how do I create a single file containing all the IMGs in one??? I need it to be in one to use in an unbrick program
You can zip them all into a archive with 7zip but without knowing that program you are using or what device you are flashing I am not sure if that will work. ;-)
Is there any files needed besides the one that I have pull from the device in case I want to flash my phone? Just like the userdata.img or cache.img or a text document renamed as scatter.txt. And also I would like to ask if in case I'll try to flash my phone with this stock firmware I've pulled, what flashing tool will I be using? Thank you for the tutorial and your quick response, and God bless by the way.
I looked at your clip! I see that you are good man to work with commands in "cmd". I have soft brick my phone. I see him as Qualcomm 9008 but did not see him in cmd. ( Neither in adb, nor in fastboot). Do you know any command to view my phone in the cmd?
I thought you bricked your device using this tutorial. Wait! Now that we re here, let me ask this, may you brick your phone or tablet with this method? And if you do, can you always restore it using the manufacturer recovery software? Hard brick seems to me having to solder things to recover and then flash it again.
thank you for all that you do to keep us informed ..ive wanted to root my galaxy prime SM-G530T1 for some time now , but have been nervous that i m ay not be able to restore it if i messed up .. .. i will be following the steps in this video , it will be great to have the original system already in place / saved .. your videos / website have been a big help in the past .. thanks again ..
Hello Sir.. I will try to backup system for Note 3 Pro Kenzo, but in msm_partitian not show partitian and show like this "/dev/block/platform/msm_sdcc.1/by-name/: Permission denied". Please help me. Thanks
Hey brutha, i have been intrigued by rooting some much that I would like to further educate myself and really learn the ins and outs to be proficient. Is there any courses or classes that I can take that you would recommend? Thank you
Danny Lopez i wish i could say that i have taken a class to learn this but everything i have learned is from friends and just Google searches. I am sure there are classes out there just nothing that i know i could recommend
Hi, the tutorial was very good. Please teach me how to restore the extracted partitions that you showed in the video through the adb shell commands and adb itself. I also had a question, could you extract the partitions directly to the computer through the adb shell? And do not play and send to sd card
Hello Friend. I am from Venezuela, could you help me, I have a blue phone Studio 5.0 CE and I do not know how to extract the commands to place them with the ADB, I want to revive the phone and only allows me to place the commands with ADB I want to extract the commands from the rom And I do not know what they are or how to extract them, I already have the official rom Download and I have the ADB program installed on my computer I only need that one Information, thanks
Stuck on bootloop. Can only talk to LG through Send_Comman.exe. Assuming everything is stock, are there any commands I can run through there to accomplish anything?
thanks for the video. just one question, the boot file that u pulled, is it the stock boot or the twrp bootloader? since you downloaded the twrp bootloader to the watch earlier i think the boot file that you pulled after is twrp and not the stock. can you help me plz?
Rootjunky.com ABSOLUTELY AMAZING..very informative! & I appreciate the time you took do this & make a video of it for future references..there really should be classes that teach this to the masses. Thanks Tom 👍👍👍👍👍
Huawei Mate9, android 7.0, stock rom but now with twrp on recovery partition. Hi, I've tried using your video to boot into twrp but that failed repeatedly on error: booting... FAILED (remote: Command not allowed) To get around the issue I flashed twrp using fastboot flash recovery twrp-3.1.1-0-hi3660.img When I issue adb shell I get into shell but not as root . 1|HWMHA:/ $ id uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin), 3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:shell:s0 any shell commands against /dev/ fail due to me not having root access so I'm unable to read the devblocks. drwxr-xr-x 20 root root 3560 2017-12-22 09:33 dev 1) is there a way to get temporary read access in order to create image files? 2) is there any value in the images files - ie could I reflash the device using them if I don't have root access? TIA
Why not just give the actual command to pull the partition table? Also did you update busybox? If you flash TWRP in the beginning then you back up recovery are you not just backing up twrp and not the stock one?
Your video was full of knowledge and easy to follow. I have a Android 4.2 TV Box (Model: CS918S). Cant find a newer ROM for it. Can you tell me if its possible to extract drivers from existing ROM and add them to Lollipop to create a new ROM for the box?
Quite straightforward explanation. Thanks But could you please explain how to differentiate files in the /dev/blocks/ folder? As I know, the mmcblk0 file is the full sdcard partition. How do I know where is recovery file and where is the rest on each android device? I don't want to appear dumb with the things you've already explained. But I'm asking that because I didn't manage to get the msm_partitions.txt file. The "adb reboot bootloader" command shut down my tablet. No recovery or similar dialog appeared. Or was it the state corresponded? You didn't show how it supposed to look like. The "fastboot devices" command in the aforementioned tablet state shows the devices list empty.
Not working for XPERIA! in fastboot mode requires a new driver, I tried one and it said "too many links" when booting the twrp img, i tried another driver for the s1boot and it stucks on usb transferring displayed in small characters in the phone screen.
Alright. So i know this video's old, but I'm trying to do this so i can install the system-less Xposed framework. I'm able to connect my phone to my computer and can see my device(Galaxy S7) when I run the command: "adb devices" I then enter the command: "adb reboot bootloader" and my device reboots to a screen that says: "Downloading... Do not disconnect from target" or something to that effect. I run "fastboot devices" and nothing pops up. Is there something I'm missing? Any help is greatly appreciated!
Hi Rootjunky, Just to let you and other people know: I copied the pulled system.img back to my tablet with the reverse of the procedure demonstrated by you above (i.e. dd if=/sdcard1/system.img of=/dev/block/mmcblk0p25). This was needed after the tablet came back from a hardware repair with the factory android image installed on it, which was one version lower. This all worked like a charm. For the pulled boot.img and recovery.img I had successfully used fastboot, e.g. fastboot flash boot boot.img (both Android 8). However, now the tablet wouldn't start the System, since the System (Android 7) apparently wasn't compatible with new flashed boot. Trying to flash system.img however, it appeared that fastboot does not accept such a big file (even using fastboot -S 512M flash system system.img does not do the job). Fastboot complains that there is an invalid sparse file header, so you need to provide a correct sparse file. For creating one, I tried using SparseConverter (the software you demonstrated in another of your tech video's) and I just zipped the output. This also produced an error message, so apparently it's a lack of knowledge of how to go about it and I got stuck... Then I did the above mentioned dd exercise, for which someone else had written that it had bricked his phone. But with your TWRP procedure it just works fine ! Rootjunky, Would you happen to know how to use the output of SparseConverter correctly, or any other procedure to create a sparse file from a pulled system.img file ? Thanks again for providing us with all these wonderful tools and tricks, with which we are able to get ourselves out of nasty situations !
very good video and explanation man...but...please could you solve some doubts... Its neccesary a twrp-custom.img for this method... and what happens if you looking in the twrp page for the device and doesn,t exists...I mean if it is not listed...is any way of use a twrp.img universal or open with can be used...what I have to do in this case...please help in that question man! :)
adb shell of recovery SU command is not working its showing su:not found is the reason that its not working should we load su if yes then how we can add su in the recovery file
nice video, I'm trying to get the boot.img for my device to install magisk but I cant find it anywhere (is a chinese tablet branded Hyundai) and there is no TWRP for the device neither, is there a way to extract the image without TWRP?
hello i really appreciate ur work. i just wanna ask u for some having doubt. while in a hard bricked state the it is possible to boot from sd card. ok. but i want to know what are the exact code for extracting/pull only the initail bootloader images from any android phone??? because it is not necessary to pull full dump images of entire partitions. can u plz help me out of this??
How about an old phone Nokia Asha 230, Locked Phone (Forgot the Security Code) and Computer is not recognizing the USB connection saying "USB Connected in NON-Compatible mode". I believe MTP,PTP is enable but not the Debugging option. And I'm unable to flash it because of this issue. Thanks for the advice or tips in advance. :)
I am trying to pull the userdata.img file. When I enter the DD commands it says write in and write out but says memory is full. I am using a 32 gb card that is empty. I then go to do a pull and it says device not found. What would the command be to save it to my pc? Thanks for any information
Hi bro.. I have one query about my device Moto g5 plus xt1686 Potter indian variant. I have upgraded by the OTA update of Oreo test official build means soak tested. It is worked fine for me. But after unlocking bootloader and I flashed my stock firmware of nougat, I says some error in fastboot, after that I referred XDA developers pages and find some info about Android versions upgraded and downgrade one file is provided it is persist zip. It was flashed by twrp recovery by a modified stock ROM which is flashable by twrp after that I reflashed whole firmware by fastboot and tried to relock my bootloader but I cannot. Bcoz it says invalid boot IMG. Wants signed boot IMG. Please help me.
Hey Dude tell me,1)after using the command "adb boot recovery" how do I return to my system - do I reboot using twrp or hit any command? 2)What are the uses with a recovery that is booted and not flashed-why cant i use the booted twrp to take a backup of the os 3)Then make a video on converting these .img files to flashable zips via twrp so that i dont have to depend on a PC.
mine says an error when i fastboot boot the twrp recovery. the twrp recovery image is on the computer right? i want to have a copy of system,recovery, boot images.
I want to pull stock android firmware from an M8S OTT TV Box. Which device should I select for the 'system info pulling' software? Thanks. I am trying to root and upgrade the M8S AMlogic S812 OTT Tv Box from kitkat to lollipop.
Hi, in my msm_partitions.txt I found this: /dev/block/platform/msm_sdcc.1/by-name/: No such file or directory. What to do next? Down below you are saying that is necessary to check it manually, but could you please tell me how?
So... I cant get my device to even show under the ADB DEVICES command. Seems there is a driver issue as debugging and developer options are on. Open to suggestions on how to fix that. Second There isn't a twrp recovery for my device. Is there a way of pulling the Roms off without twrp?
Hi, i hae big problem .. i tried save contacts from phone (xcover 2 )touch screen not func (somethig wrong on pcb) so its possible save my contacts from this phone ? usb Debug is no enable
hey can you help.... i can't mount system,cache and data in twrp... i think I've lost my partitions... can you help me to re write partitions.... currently no os is installed on my device... I've an unlocked bootloader and a working twrp.... fastboot and adb commands are working too... help me please
I have an autel maxisys elite table, android version 4.4.4, kernel version 3.4.57 - svn961270, root@ubuntu#1, Mon Jan 8 20:24:51 HKT 2018,, Build number 201801082021-03.03.01, MaxiUI Version V03.34.00 , I am wanting to create a recovery stock in case it bricks to restore the software. I have rooted phone just not a table
Thank you for this. I got my phone into a messed up state and luckily my wife has the exact same phone (purchased at the same time). I was able to pull a "stock" image off hers to recover mine by following this.
+Chris Schroeder awesome that's great ;-)
Dude! You have no idea how much you really help me. Thank you so much. Don't stop doing this if it help others like it help me we all be great-full
to you. I know I am.
+Cybermex glad I could help
+Cybermex glad I could help
@@Rootjunkycom Long shot you are still around, I love messing with android and while I am on the bottom end of your learning curve I understand what you did, why you did it and how..... so that is a plus. So long segue into this... I have an old SM-G1702 that will not boot at all but when you attach it to the computer with a USB cable it boots to the "update encountered an error" screen, before you answer with the obvious, no it will not hard boot, soft boot or boot into recovery, ADB nor fastboot recognize it however ODIN does but I get a fail on everything I have tried to load on this device. TWRP wont load, I even found a generic ROM that supposedly would work on this specific device and NADA.... I cant boot it to start developer mode nor USB debugging. Just for fun do you know a trick? >..< Jim
Thanks bro, those who dislike your video are mindless probably kids that broke their phone. I finding this tutorial for all long time for porting devices thx man!!!🇵🇭
Thnx for the info on how to create your own stock firmware. Wish I had seen this weeks ago!
Glad to help
Awesome videos again... I've single handedly learned how to do all of this from scratch using your videos. No more relying on flakey dev friends!
How can I thank you ! My bricked Lenovo TAB 4 8 Plus came to life again by pulling BOOT.IMG from a healthy TAB 4 8 Plus and flashing that. The directory structure on the TAB 4 8 Plus is somewhat different from what you have shown here, but with your clear explanation one can easily find the correct info on ones own device *). Thanks a million !
*) To get the block numbers for TAB 4 8 Plus: adb shell "ls -la /dev/block/platform/soc/7824900.sdhci/by-name"
Another reason why I prefer root access, and do not like phones or carriers that push a block to keep you from custom recovery and root.
It seems that you are still answering questions, thats good to know.
First of all let me thank you for this great tutorial
I was reading an XDA Forum Thread called "[GUIDE] Making Dump Files Out of Android Device Partitions" which describes similar steps, but having a visual guide do help, and a lot.
Now, I must say I did manage to get a Recovery and a Boot Images.
But the problem was I had to do all this with the phone normally booted, I mean working on it's normal state, just turned on.
There was no way on getting it recognized by the PC on the TWRP Recovery Booted from the PC.
I could get it recognized with the phone normally booted and the adb commands worked fine, I tried adb devices, adb shell, asked permissions, gave them and exit,
then I typed adb boot bootloader,
here I got my phone recognized by typing fastboot devices, but I couldn't get it recognized by adb devices,
then I typed fastboot boot twrp.img, to boot the temporary Recovery from the PC without flashing it,
and here's where I just can't get adb devices or fastboot devices recognize my phone by the PC.
I'm curious why I can't make it, but I got the images anyway, do you have any advice here, should I stay with the images I got on my way or should I try to make it work your way???
Thanks again.
Excellent thanks man. I knew that you'd have this info the moment I found myself in need. You cone thru everytime. Appreciate it.
so if you don't have recovery, how would you do this??
Ths guy is pure GOLD - he saved my bricked Nexus 10 with amazing SIMPLE procedure!!!
+Charlie Prewett glad I could help
nice man,.....i search 8 hour on internet to lear how i can create a "back-up"...without root...ar flast cmw....and now i find.....greate man!
+denis mihai glad i could help
I still have a problem...cwm for my devices...transfer to my phone..by doesn't boot...
Error : remote: .....
Nice video...Its possible you make an totorial teaching how to unpack and repack android file IMG?
You're the root junky!? Long time Fan
Watching the video on February 2019.
Thank you very much for this informative video. Everything was perfect. The content, the presentation, your diction, the organized sequence of topics, the clear display of the windows on the PC screen. Topnotch. I also appreciate the zero profanity. I subscribed and can only give one thumbs up, so here a few more: 👍👍👍... 👍👍
A quick question: I am not sure if I have the exact TWRP. If I use a wrong one, do I risk messing my device?
what is the process to pull boot and recovery img from qualcomm devices?
Great. It was very informative. Keep the good work. It gave me a good start to explore into the android devices.
Yeah don't you ever stop keep it coming.
+John Kavanaugh thanks John
It was really awesome. It is in next level.All videos regarding pulling of stock are shit if this video is considered of this. It was the best video. I loved it
Nice video. At least you speak. Everyone else, maybe the just lazy, but when you have a novice who really bricked(FUKED UP) Their phone you down't want hear music and watching someone typing.... You want detail step by step instructions as close as you can get them So thank you for not being a lazy SOB AND BUT A TRUE INSTRUCTOR.
my friend this is amazing by doind this i will have my own firmware , you are the best if i learn i will post another comment thank you
jorge perez good luck
Thank you
The only method that works
bravo!!!
Great work real clear steps, keep it up................ And you website is good too.
Thanks glad you like the site. ;-)
Rootjunky.com But when I connect my galaxy grand prime phone to adb. the adb devices is able to detect the phone, however when I use command "adb reboot bootloader" the phone restarts and then the command "fastboot devices" show no devices in output.
Samsung devicea down use a bootloader interface like other oem they have a download mode.
+Rootjunky.com I am searching all day for answer on the question: is there any equivalent of "fastboot boot recovery.img" for Samsung galaxy phones, i.e. the ones for which fastboot doesn't work? Good video BTW!
Awesome, sooo thankful for important instructions and functions for fastboot & ADB - I'm so tired of graphic tools for windows. Request: Please take a stockrom.rar download and either convert it to a flash.zip or how to pull the files needed from the download to restore an android device to stock. Currently stuck only have access to device via TWRP, fastboot & ADB. Very grateful for you taking the time to "teach the hungry to fish" ..lol
Great video keep up the great work
Lavin Williams thanks
Hi I want to recover my deleted data I didn't formated the device . Which Img should I pull to look for Data with a recovery software . Thx
incredible !
But I have a question, how do I create a single file containing all the IMGs in one??? I need it to be in one to use in an unbrick program
You can zip them all into a archive with 7zip but without knowing that program you are using or what device you are flashing I am not sure if that will work. ;-)
Awesome as always, keep it up, rootjunky,✌️in.
can i get a lil info about, how to restore the official firmware you created
thanks for this very helpfull!!
thanks................
Is there any files needed besides the one that I have pull from the device in case I want to flash my phone? Just like the userdata.img or cache.img or a text document renamed as scatter.txt. And also I would like to ask if in case I'll try to flash my phone with this stock firmware I've pulled, what flashing tool will I be using?
Thank you for the tutorial and your quick response, and God bless by the way.
I looked at your clip! I see that you are good man to work with commands in "cmd".
I have soft brick my phone. I see him as Qualcomm 9008 but did not see him in cmd. ( Neither in adb, nor in fastboot).
Do you know any command to view my phone in the cmd?
yeah thats a hard brick you need a service rom and Qfil or miflasher to fix that
I tried everything, but nothing works!
Thank you!
(Some screenshot : cloud.mail.ru/public/EVmy/H54AkB7Nm )
I thought you bricked your device using this tutorial. Wait! Now that we re here, let me ask this, may you brick your phone or tablet with this method? And if you do, can you always restore it using the manufacturer recovery software? Hard brick seems to me having to solder things to recover and then flash it again.
so easy to understand - thanks
thank you for all that you do to keep us informed ..ive wanted to root my galaxy prime SM-G530T1 for some time now , but have been nervous that i m ay not be able to restore it if i messed up .. .. i will be following the steps in this video , it will be great to have the original system already in place / saved .. your videos / website have been a big help in the past .. thanks again ..
Great video tutorial
Glad you liked it
Hello Sir..
I will try to backup system for Note 3 Pro Kenzo, but in msm_partitian not show partitian and show like this "/dev/block/platform/msm_sdcc.1/by-name/: Permission denied". Please help me. Thanks
+alltutorial.net that means you need root shell
Thanks sir, I will try it
Could you please explain what you mean? Do you mean an app? Do you mean that, in command prompt, I should enter adb shell?
MY XPERIA IS NOT IN THE LIST! WHAT CAN I DO SO?
Where is the location of batch file that can pull system information?its not included in the sdj platform tools
How to pull my files in adb sideload mode (my phone is locked)?
Hey brutha, i have been intrigued by rooting some much that I would like to further educate myself and really learn the ins and outs to be proficient. Is there any courses or classes that I can take that you would recommend? Thank you
Danny Lopez i wish i could say that i have taken a class to learn this but everything i have learned is from friends and just Google searches. I am sure there are classes out there just nothing that i know i could recommend
XDA is your answer
Hi, the tutorial was very good. Please teach me how to restore the extracted partitions that you showed in the video through the adb shell commands and adb itself. I also had a question, could you extract the partitions directly to the computer through the adb shell? And do not play and send to sd card
you need to check out Phonlabtech.com and their Smartphone Tech Course
Hello Friend. I am from Venezuela, could you help me, I have a blue phone
Studio 5.0 CE and I do not know how to extract the commands to place them with the ADB, I want to revive the phone and only allows me to place the commands with ADB I want to extract the commands from the rom And I do not know what they are or how to extract them, I already have the official rom Download and I have the ADB program installed on my computer I only need that one Information, thanks
great clear video . thanks. will this do a complete backup? i need to backup and restore radio but not sure where that is.... persist maybe? thanks.
Great lesson, thanks!
Stuck on bootloop. Can only talk to LG through Send_Comman.exe. Assuming everything is stock, are there any commands I can run through there to accomplish anything?
good video, now how do I flash the pulled partitions back to a bricked headunit? thanks
thanks for the video. just one question, the boot file that u pulled, is it the stock boot or the twrp bootloader? since you downloaded the twrp bootloader to the watch earlier i think the boot file that you pulled after is twrp and not the stock. can you help me plz?
Rootjunky.com ABSOLUTELY AMAZING..very informative! & I appreciate the time you took do this & make a video of it for future references..there really should be classes that teach this to the masses. Thanks Tom 👍👍👍👍👍
glad you liked the video :-) its always fun to see your comments.
Rootjunky.com Daully appreciated..Im glad that I can bring some sort of happiness should I say to your work.
Huawei Mate9, android 7.0, stock rom but now with twrp on recovery partition.
Hi, I've tried using your video to boot into twrp but that failed repeatedly on error:
booting... FAILED (remote: Command not allowed)
To get around the issue I flashed twrp using fastboot flash recovery twrp-3.1.1-0-hi3660.img
When I issue adb shell I get into shell but not as root .
1|HWMHA:/ $ id
uid=2000(shell) gid=2000(shell)
groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),
3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:shell:s0
any shell commands against /dev/ fail due to me not having root access so I'm unable to read the devblocks.
drwxr-xr-x 20 root root 3560 2017-12-22 09:33 dev
1) is there a way to get temporary read access in order to create image files?
2) is there any value in the images files - ie could I reflash the device using them if I don't have root access?
TIA
Why not just give the actual command to pull the partition table? Also did you update busybox? If you flash TWRP in the beginning then you back up recovery are you not just backing up twrp and not the stock one?
Your video was full of knowledge and easy to follow. I have a Android 4.2 TV Box (Model: CS918S). Cant find a newer ROM for it. Can you tell me if its possible to extract drivers from existing ROM and add them to Lollipop to create a new ROM for the box?
Quite straightforward explanation. Thanks
But could you please explain how to differentiate files in the /dev/blocks/ folder?
As I know, the mmcblk0 file is the full sdcard partition.
How do I know where is recovery file and where is the rest on each android device?
I don't want to appear dumb with the things you've already explained. But I'm asking that because I didn't manage to get the msm_partitions.txt file.
The "adb reboot bootloader" command shut down my tablet. No recovery or similar dialog appeared. Or was it the state corresponded? You didn't show how it supposed to look like.
The "fastboot devices" command in the aforementioned tablet state shows the devices list empty.
very nicly put across... nice work.
like to c more videos on taking images on running various apps in android devices..
Thanks mate this was very helpful... Regards Garry, Down under (Y)
glad you liked the video
Not working for XPERIA! in fastboot mode requires a new driver, I tried one and it said "too many links" when booting the twrp img, i tried another driver for the s1boot and it stucks on usb transferring displayed in small characters in the phone screen.
Alright. So i know this video's old, but I'm trying to do this so i can install the system-less Xposed framework. I'm able to connect my phone to my computer and can see my device(Galaxy S7) when I run the command: "adb devices"
I then enter the command: "adb reboot bootloader" and my device reboots to a screen that says: "Downloading... Do not disconnect from target" or something to that effect. I run "fastboot devices" and nothing pops up. Is there something I'm missing? Any help is greatly appreciated!
+8OB578 Samsung devices are different and don't have a bootloader like most of the other oems
Outstanding tutorial! Well done man! Keep up the great work. Thank you!
+Moe Hashem awesome glad you liked it
What if there is no custom recovery for the device??
Same problem
I understanded by this video.
SPECIAL THANKS
Hi Rootjunky, Just to let you and other people know: I copied the pulled system.img back to my tablet with the reverse of the procedure demonstrated by you above (i.e. dd if=/sdcard1/system.img of=/dev/block/mmcblk0p25). This was needed after the tablet came back from a hardware repair with the factory android image installed on it, which was one version lower. This all worked like a charm. For the pulled boot.img and recovery.img I had successfully used fastboot, e.g. fastboot flash boot boot.img (both Android 8). However, now the tablet wouldn't start the System, since the System (Android 7) apparently wasn't compatible with new flashed boot. Trying to flash system.img however, it appeared that fastboot does not accept such a big file (even using fastboot -S 512M flash system system.img does not do the job). Fastboot complains that there is an invalid sparse file header, so you need to provide a correct sparse file. For creating one, I tried using SparseConverter (the software you demonstrated in another of your tech video's) and I just zipped the output. This also produced an error message, so apparently it's a lack of knowledge of how to go about it and I got stuck... Then I did the above mentioned dd exercise, for which someone else had written that it had bricked his phone. But with your TWRP procedure it just works fine !
Rootjunky, Would you happen to know how to use the output of SparseConverter correctly, or any other procedure to create a sparse file from a pulled system.img file ?
Thanks again for providing us with all these wonderful tools and tricks, with which we are able to get ourselves out of nasty situations !
youre awesome, thanks man!
another one Q, some samsung mobiles not have play store , so is there anyway to fix that? after open system file
Great video ! but tell me , i've got TWRP and root already installed , how can i now get the stock recovery image file ?
tankyou my brother, very cool tutorial.....
rootjunky, this is awesome dude. new trick learnt. thanks
glad you like the video :-)
Friend you could more calmly upload a video of how to make a copy of an android rom
Great video! TWRP link needs a fix though. If you've an XA1 Ultra like myself, there's a TWRP build on XDA.
only thing I can find in 'msm_partitions' is this:
/dev/block/platform/msm_sdcc.1/by-name/: Permission denied
you need root permission to access that location
ok. Thanks
very good video and explanation man...but...please could you solve some doubts... Its neccesary a twrp-custom.img for this method... and what happens if you looking in the twrp page for the device and doesn,t exists...I mean if it is not listed...is any way of use a twrp.img universal or open with can be used...what I have to do in this case...please help in that question man! :)
Top and thanks from Holladay
Most excellent video, thank you so uch !
You are welcome!
thats cool but how about restoring them again , will it be using fastboot through twrp ?
Great Information. Thanks for sharing
Fantastic!!! My devices are xiaomi redmi 6a and redmi 7 which don't have twrp..is there another way?
adb shell of recovery SU command is not working its showing su:not found is the reason that its not working should we load su if yes then how we can add su in the recovery file
i keep on getting this in the "moreinfo" folder ls: /dev/block/platform/msm_sdcc.1/by-name/: No such file or directory , what i'm i doing wrong ?
When I try to use the Device System Info tool, the msm partitions file says "Permission denied" and proceeds to not list any dev blocks. Help?
hi how do i make a copy of an identical android box to another??? i needed all the app in one box to work on another... what program i need?
nice video, I'm trying to get the boot.img for my device to install magisk but I cant find it anywhere (is a chinese tablet branded Hyundai) and there is no TWRP for the device neither, is there a way to extract the image without TWRP?
hello i really appreciate ur work. i just wanna ask u for some having doubt. while in a hard bricked state the it is possible to boot from sd card. ok. but i want to know what are the exact code for extracting/pull only the initail bootloader images from any android phone??? because it is not necessary to pull full dump images of entire partitions. can u plz help me out of this??
Will this work for cloning an android tv box?
How about an old phone Nokia Asha 230, Locked Phone (Forgot the Security Code) and Computer is not recognizing the USB connection saying "USB Connected in NON-Compatible mode". I believe MTP,PTP is enable but not the Debugging option. And I'm unable to flash it because of this issue. Thanks for the advice or tips in advance. :)
thanks just wath i needed!
tobias Berglund glad i could help
I am trying to pull the userdata.img file. When I enter the DD commands it says write in and write out but says memory is full. I am using a 32 gb card that is empty. I then go to do a pull and it says device not found. What would the command be to save it to my pc? Thanks for any information
genius :)
only thing I missing is twrp for xiaomi amazfit pace. Any idea how to get it?
Same prob
Hi bro.. I have one query about my device Moto g5 plus xt1686 Potter indian variant. I have upgraded by the OTA update of Oreo test official build means soak tested. It is worked fine for me. But after unlocking bootloader and I flashed my stock firmware of nougat, I says some error in fastboot, after that I referred XDA developers pages and find some info about Android versions upgraded and downgrade one file is provided it is persist zip. It was flashed by twrp recovery by a modified stock ROM which is flashable by twrp after that I reflashed whole firmware by fastboot and tried to relock my bootloader but I cannot. Bcoz it says invalid boot IMG. Wants signed boot IMG. Please help me.
Hey Dude tell me,1)after using the command "adb boot recovery" how do I return to my system - do I reboot using twrp or hit any command? 2)What are the uses with a recovery that is booted and not flashed-why cant i use the booted twrp to take a backup of the os 3)Then make a video on converting these .img files to flashable zips via twrp so that i dont have to depend on a PC.
you can used booted twrp to make a backup.
OK so you backed up the boot system and recovery but now how to flash it back to your device ?
Kevin Domingo with commands fastboot flash system system.img, fastboot flash recovery recovery.img, and fastboot flash boot boot.img
Rootjunky.com
hey thank you guy!!! i thought it would have been some mad scientist command that i had to enter!!!!
But when your device is hard brick, it's won't go to fastboot mode. How to use this to recover the bricked phone?
mine says an error when i fastboot boot the twrp recovery. the twrp recovery image is on the computer right?
i want to have a copy of system,recovery, boot images.
I want to pull stock android firmware from an M8S OTT TV Box. Which device should I select for the 'system info pulling' software? Thanks. I am trying to root and upgrade the M8S AMlogic S812 OTT Tv Box from kitkat to lollipop.
Hi, in my msm_partitions.txt I found this: /dev/block/platform/msm_sdcc.1/by-name/: No such file or directory.
What to do next?
Down below you are saying that is necessary to check it manually, but could you please tell me how?
Can't we pull boot img directly by giving this command....
adb pull /Dev/block/mmcblk0p15
& Skip the extra line goes saving it to sdcard.
nice successful have to edit and changed ls command in batch file for the device location
thanx superb way without rooting
thx for this video...but i am using cwm recovery after booting into recovery adb cannot detect my device...what show i do..plz help me..
So... I cant get my device to even show under the ADB DEVICES command. Seems there is a driver issue as debugging and developer options are on. Open to suggestions on how to fix that. Second There isn't a twrp recovery for my device. Is there a way of pulling the Roms off without twrp?
Hi, i hae big problem .. i tried save contacts from phone (xcover 2 )touch screen not func (somethig wrong on pcb)
so its possible save my contacts from this phone ? usb Debug is no enable
Great Video, Thanxxx. ..
hey can you help.... i can't mount system,cache and data in twrp... i think I've lost my partitions... can you help me to re write partitions.... currently no os is installed on my device... I've an unlocked bootloader and a working twrp.... fastboot and adb commands are working too... help me please
hello again have a question , how can i flash back my stock firmware to my phone? do i need to flash all 4 file , i have note 4 from sprint.
I have an autel maxisys elite table, android version 4.4.4, kernel version 3.4.57 - svn961270, root@ubuntu#1, Mon Jan 8 20:24:51 HKT 2018,, Build number 201801082021-03.03.01, MaxiUI Version V03.34.00 , I am wanting to create a recovery stock in case it bricks to restore the software. I have rooted phone just not a table
I would like to ask if you pull out your boot.img via adb fastboot need root access or not? thanks if you reply :)
I am not able to temporarily boot into recovery. It shows OK but stays on bootlogo.any idea what to do?