Problem flashing Android 7 - Nexus 5 Q&A, Help & Troubleshooting

Hi,
I want to upgrade my Nexus 5 (Android 6.0.1, not rooted) to Android 7 unofficially, so I downloaded Santhosh's Android 7 Build for Nexus 5.
After downloading it, I booted my Nexus 5 (connected to my MBP) to fastboot then using Terminal I had unlocked the bootloader, and I flashed the latest TWRP image for Nexus 5 to my Nexus 5. After I rebooted my Nexus 5 to recovery where it showed a screen (postimg(dot)org/image/rw3zdlmyt/), after which my phone kept rebooting in a boot loop.
I booted to fastboot after using the key combination, and used fastboot to erase the recovery and the system.
Now I'm all ears to get my Nexus 5 to Android 7.
Please help me out. I appreciate all your help.
Thanks,
Agneev

I recommend flashing back to stock, make sure everything works on stock, flash twrp, boot into recovery frlom fastboot right after flashing TWRP.

audit13 said:
I recommend flashing back to stock, make sure everything works on stock, flash twrp, boot into recovery frlom fastboot right after flashing TWRP.
Click to expand...
Click to collapse
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.

agneev55 said:
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.
Click to expand...
Click to collapse
http://forum.xda-developers.com/goo...l-06-03-14-one-click-factory-restore-t2513937
you can also instal twrp with this tool http://forum.xda-developers.com/goo...olkit-wugs-nexus-root-toolkit-v1-8-3-t2517778

agneev55 said:
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.
Click to expand...
Click to collapse
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..

zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
Thank you for the reply, as I currently don't have recovery mode installed so does that change anything?
Also I'm flashing Android 7 directly, so if there is any other thing I need to know, please tell me as I would appreciate that.

To flash directly to 7, put the phone into fastboot mode and flash TWRP, boot into TWRP, mount data, copy the 7.0 ROM to the phone, and flash it.

audit13 said:
To flash directly to 7, put the phone into fastboot mode and flash TWRP, boot into TWRP, mount data, copy the 7.0 ROM to the phone, and flash it.
Click to expand...
Click to collapse
apparently, TWRP says "Failed to mount '/data' (Invalid argument)"

In this case, I would start over by flashing the latest stock ROM, including the userdata.img, and then perform a factory wipe using stock recovery, flash twrp, flash 7.

audit13 said:
In this case, I would start over by flashing the latest stock ROM, including the userdata.img, and then perform a factory wipe using stock recovery, flash twrp, flash 7.
Click to expand...
Click to collapse
So should I download the 6.0.1 image for Nexus 5 and then use Nexus Root Toolkit and flash all the .img files individually or should I just launch the batch file inside the 6.0.1 image and let it install automatically?

I would go with the latest stock MM ROM.
I always flash manually but the NRT accomplishes the same thing. Not sure if NRT flashes userdata.img. If the phone hangs at the boot animation and NRT did not flash userdata.img, you should manually flash of userdata.img and factory reset using stock recovery.

agneev55 said:
So should I download the 6.0.1 image for Nexus 5 and then use Nexus Root Toolkit and flash all the .img files individually or should I just launch the batch file inside the 6.0.1 image and let it install automatically?
Click to expand...
Click to collapse
Try this first...
First install nexus 5 Driver in you PC
1) put your phone into bootloader mode and connect it to pc.
2) open Nexus Root ToolKit ,select your device as nexus 5 and android build version as android 6.0.1 (MOB31E) and click ''Lunch" under ''Advanced Utilities'''.Now under ''Fastboot Boot'' select ''Custom Recovery'' and then OK.you nexus will automatically booot into TWRP recovery(you don't need to flash twrp recovery before",since it will boot your phone into twrp for temporary when you click ''custom recovery'' option)
3) if your phone boot into Twrp then its ok otherwise you may have not properly installed or missing nexus 5 drivers in your pc.
GUIDE FOR PROPER INSTALLATION OF NEXUS 5 DRIVER(see attached image).
4) Now transfer your (android 7.0+gapps) zip files in your nexus 5.since you can access you internal storage in PC in TWRP mode.
5) Before doing this step..please backup your current ROM because this step will erase everything from your phone except your internal storage.
Now select WIPE> Advance wipe and select Dalvik cache,system,data,cache and leave unchecked ''INTERNAL STORAGE''..Otherwise you will end up wiping you internal storage.
6) After wiping finised,go back to main menu option and select ''INSTALL'' and navigate to your Android 7.0 zip file folder and swipe to install..
7) after successfull installation you may get red error at last but ignore it and select system to boot..
8) if everything goes well then again boot into TWRP as described above and flash gapps and reboot.
9) after your phone starts you may get some apps errors like forced close or stop working or not responding..In this case just go to setting >Apps >just click 3 dots at top right corners and select show system and find that apps if it is a system app or user app and Grant all permission to that app.
10) now root your android 7.0 if you want to use rooted applications. like Adaway
(to block ads),Greenify(to increase battery life and performance),SCR Pro(to record screen),MiXplorer(advance file manager),LMT Launcher(to increase your display size),
CF.lumen(for eye comfort),Link2SD,Tubemate etc
11) But remember Since android 7.0 has been released recently..there are more chances of bugs in ROM,many apps may not compatible with android 7.0...as myself rolled back to android 6.0.1 after using android 7.0 for few days due to some issues with my favourite apps.
IF YOU STILL UNABLE TO FLASH ANDROID 7.0 DUE TO SOME ERRORS...
THEN TRY THIS METHOD...
first download nexus 5 factory image 6.0.1
1) connect your phone to pc in bootloader mode and open nexus root toolkit.
2) now look up for option ''Flash Stock+Unroot'' then hit and press OK.
3) now do as i shown in attached images (load factory image 1 and 2) and wait if it ask to download hatch like thing then allow,it may require internet connection and watch it..
4) process will begin automatically in cmd and reboot into system after completion.
5) now after system boots up to stock rom,just enable ''developer option'' by tapping 3,4 times in ''build number'' under setting >about phone and turn on ''developer option'' and enable ''usb debugging'' option.
6) now keep your phone connected to pc and click ''ROOT'' option in Nexus Root Toolkit.
It may require internet connection to download root files if its already not downloaded and wait till root.
7) after rooting your nexus 5.Again boot your phone into twrp mode (temporarly or else you can flash twrp permanently) using nexus root toolkit and backup your whole system file if you need it to restore at future.
GUIDE FOR FLASHING TWRP PERMANENTLY IN NEXUS 5...
a) download twrp recovery from here... https://twrp.me/devices/lgnexus5.html
and rename it to recovery.img (to replace your stock recovery)
b) now select ''advanced utilities'' in nexus root toolkit and slect ''Browse/other'' under ''Fastboot Boot'' option and click ok and browse your recovery.img(i.e renamed twrp recovery.img)
c) now it will automatically flashes twrp and will replace your stock recovery.
8) now in twrp recovery select wipe >advance wipe> Dalvik cache,system,data,cache and leave unchecked ''INTERNAL STORAGE''..Otherwise you will end up wiping you internal storage.
9) after this follw the same steps mentioned in previous first method...
for sake of more information you can also change your boot animation logo on nexus 5 startup..just by going to system >media>replace (bootanimation.zip) to your desired boot animation but before replacing change your new boot animation to (bootanimation.zip) and set permission as RWRR in properties.

zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
OK, I have flashed stock Android 6.0.1, now please tell me how to go to unofficial nougat.

zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
Ok, I've flashed 7.0 nougat, how can I get Play Store and Google Apps and there is no option to sign-in to my Google account.

agneev55 said:
Ok, I've flashed 7.0 nougat, how can I get Play Store and Google Apps and there is no option to sign-in to my Google account.
Click to expand...
Click to collapse
1) download gapps first from here...http://opengapps.org/
then select Platform: ARM,
Android:7.0 or 7.1 as per your installed nougat version,
Variant: micro or nano.
2) flash gapps after entering into twrp recovery mode and reboot.
3) if any application crashes or forced closed then go to setting ,apps and enable all permission for that particular application.
4) root your Nougat using Nexus Root Toolkit
5) to maximize your screen use lmt launcher (see attached image)
setting for lmt launcher
> activation area position : bottom
>activation area thickness: 18
>activation area length : 580
> show status info: disabled
> PIE setting(pie item 1: recent apps
pie item 2:home
pie item 3:Back)
and important things is to remove soft bottom navigation keys on the screen using these steps
> visit root folder using any root explorer like mixplorer apk or es file explorer apk
> go to system folder and open ''build.prop'' file and add ''qemu.hw.mainkeys=1'' at last.
excluding ('') and save and reboot.

Related

[Q] how do i bring back root on my i9023 ics 4.0.4

I have just updated my nexus s to the latest 4.0.4 update..now i want to bring back root access .. as we all know were going to loose root access if we updated. anyway i previously used this method http://nexusshacks.com/nexus-s-root/how-to-root-nexus-s-or-nexus-s-4g-on-ics-or-gingerbread/ now im wondering if this also applies to 4.0.4 update and what is the best recovery to flash on this update?
The only thing i did was upgrade to 4.04, dont reboot but flash superuser, all clear, root is back.
[Q](solved) how do i bring back root on my i9023 ics 4.0.4
willemt158 said:
The only thing i did was upgrade to 4.04, dont reboot but flash superuser, all clear, root is back.
Click to expand...
Click to collapse
hmn... what i did was
i went to adb
open cmd
flashed recovery3101.img
after that i installed superuser using CWM recovery . if your using the stock recovery it will only show an error msg. didnt wipe anything ... all is ok and well hehehe cheers!
I have issue with CWM and Root. I've follow the guide here.
I manage to successfully do up to step 4 without error. After that, when I reboot the device, it have a message "android installing update". I installed titanium backup and it says no root access. Superuser is available. When I tried to update on Play "Update for Superuser could not be downloaded due to an error (941)"
I tried to go back to recovery, it is the stock recovery instead of CWM. I've updated my 9023 from 4.0.3 (stock non root) to 4.0.4 using CWM. I've installed superuser using CWM as well. But when I reboot the device, it went back to stock recovery. I've tried fastboot CWM, turn off, then turn back on to go recovery, it is using CWM. But when I reboot, and try to go back to recovery, it goes to the stock recovery.
Appreciate some help. Hope my explanation is clear.
Will
First try flashing the latest Superuser than reboot, then open rootexplorer
Rename "/system/etc/install-recovery.sh" to "/system/etc/install-recovery.sh.bak".
All Stock ROMs replace the recovery on each Boot if it isn't the stock one. Renaming this script stops that. After you do this, flash CWM one more time and it'll stick.
Thanks to harbb who helped me with the same isseu
not sure if this is legit... I found a few sites with the same tutorial but different backup apps same file download though... can anyone varify?
filename: Superuser-3.0.7-efghi-signed, from a mediafire download (/?57iroxlzh8bb5qi)
from tutorial: Root Nexus S with Android 4.0.4 ICS IMM76 Firmware, from androidlot.com
(sorry can't post link)
it just said to do a recovery from bootloader, no other tampering needed... was thinking of using it if it worked as I just did the Nexus S 19023 OTA update 2.3.6 - 4.0.4 found on this forum but wanted to root to use voodoo sound... first timer and dont want to mess around with roms or cwm... figure no harm rooting as Nexus S probably won't get anymore official updates
Signature verification failed
well i have tried to install the superuser from recovery (apply update from SDcard) but every time i try to install the zip file it gives me signature verification error .
Mansuur said:
well i have tried to install the superuser from recovery (apply update from SDcard) but every time i try to install the zip file it gives me signature verification error .
Click to expand...
Click to collapse
That means your not in CWM Recovery. You have to follow the guide and use fastboot to flash a custom recover. Thats why we use a custom recovery, to bypass the signiture check
so wats da final result?
in ics 4.04 how to flash cwm and root and install vodoo?
ended up using m.sabra's one click root and flash cwm tool (/showthread.php?t=1544940) worked a charm, downloaded voodoo sound plus so i didnt have to flash new kernel, putting music back on phone now (had to unlock bootloader) to see how it sounds
also used appbackup&restore, copied backup folder from sd to computer, used the root tool, redownloded appbackup&restore, copied folder back from computer to phone, allowed install from non market, reinstalled all apps
now have superuser and cwm and all my apps back
Hope this may help. it's the way a did it on my Nexus S
Download fastboot for Windows or Mac.
Make sure you have the Android SDK installed.
Download ClockworkMod Recovery.
Download the Rooted Su Binary for 4.0.4
Make sure you have the necessary drivers installed for your device
Put your device into Bootloader Mode (turn your device off, then hold Volume Up + Power).
Once in Bootloader Mode, type the following into your Command Window
fastboot oem unlock
You should now see a couple of lines go through on your Window.
Then Type the following:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
Provided this went correctly (it should), you now want to cycle down to “Recovery” on your device using the Volume buttons and press Power to confirm. This should boot you into ClockworkMod.
Select Recovery again, navigate to “Mounts & Storage” and then to “Mount USB Storage”. Once this has been done, your SD Card should appear on your PC.
Copy the Rooted Su Binary you have downloaded to your SD Card, and then Unmount USB Storage on your device.
Navigate back to the main menu of ClockworkMod and select “Install zip from sdcard”, then “Choose zip from sdcard” and select the package you just copied across, and then confirm the installation. This should install the package and root your device.
Hey guys sorry i was on vacation, thats why it took me so long time to come back, anyways... here is the link of the step by step procedure on rooting your nexus s, this is what i followed, http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s-or-nexus-s-4g-new/
but what i did was ;
1. after updating i lost root
2. open adb tool
3. flash new recovery3101.img ( this is to replace default recovery from the stock ics 4.0.4)
4.then installed superuser from the new recovery that i installed ( CWM)
i wont go through all the details since , the link already explained that there....so cheers and hope this works for you , all the needed files is in the link also.
Mrbalders said:
Hope this may help. it's the way a did it on my Nexus S
Download fastboot for Windows or Mac.
Make sure you have the Android SDK installed.
Download ClockworkMod Recovery.
Download the Rooted Su Binary for 4.0.4
Make sure you have the necessary drivers installed for your device
Put your device into Bootloader Mode (turn your device off, then hold Volume Up + Power).
Once in Bootloader Mode, type the following into your Command Window
fastboot oem unlock
You should now see a couple of lines go through on your Window.
Then Type the following:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
Provided this went correctly (it should), you now want to cycle down to “Recovery” on your device using the Volume buttons and press Power to confirm. This should boot you into ClockworkMod.
Select Recovery again, navigate to “Mounts & Storage” and then to “Mount USB Storage”. Once this has been done, your SD Card should appear on your PC.
Copy the Rooted Su Binary you have downloaded to your SD Card, and then Unmount USB Storage on your device.
Navigate back to the main menu of ClockworkMod and select “Install zip from sdcard”, then “Choose zip from sdcard” and select the package you just copied across, and then confirm the installation. This should install the package and root your device.
Click to expand...
Click to collapse
wow very detailed cheers man!
Glad to help, and hope you've got your Nexus back to root

[Q] Nex S killed while rooting

I followed this guide [GUIDE] MAC Rooting Nexus S (http://forum.xda-developers.com/nexus-s/general/guide-mac-rooting-nexus-s-t878446) until point
6) Open ROM Manager and choose "Flash ClockworkMod Recovery". At this point you are all set .
Click to expand...
Click to collapse
As Rom manager rebbot doesn't work, I installed Root checker and it told me thet the phone was not rooted properly. So I decided to follow another guide [HACK] Superboot Method for 2.3.2 (GRH78C) (http://forum.xda-developers.com/nexus-s/development/hack-superboot-method-2-3-2-grh78c-t927838).
Now the phone doesn't work! In other words when I press the power button the Google logo screen remains and Android doesn't start.
If i hold volume up and power button I gain the following:
Code:
Fastboot mode
Product name: Hearing
Hw version - rev 52
Bootloader version - I902XXLC2
Baseband version - I902XXKI1
Carrier info - EUR
Serial number - 3035...
Lock state - unlocked
and I can choose:
Code:
[LIST]
[*]Reboot bootloader
[*]Reboot
[*]Recovery
[*]Power off
[/LIST]
I think that the problem is that the phone is looking for the file "install-recovery.sh" that I renamed into "install-recovery.sh.old".
How can I reanimate my Nexus S?
Nicolaesse said:
I followed this guide [GUIDE] MAC Rooting Nexus S (http://forum.xda-developers.com/nexus-s/general/guide-mac-rooting-nexus-s-t878446) until point
As Rom manager rebbot doesn't work, I installed Root checker and it told me thet the phone was not rooted properly. So I decided to follow another guide [HACK] Superboot Method for 2.3.2 (GRH78C) (http://forum.xda-developers.com/nexus-s/development/hack-superboot-method-2-3-2-grh78c-t927838).
Now the phone doesn't work! In other words when I press the power button the Google logo screen remains and Android doesn't start.
If i hold volume up and power button I gain the following:
Code:
Fastboot mode
Product name: Hearing
Hw version - rev 52
Bootloader version - I902XXLC2
Baseband version - I902XXKI1
Carrier info - EUR
Serial number - 3035...
Lock state - unlocked
and I can choose:
Code:
[LIST]
[*]Reboot bootloader
[*]Reboot
[*]Recovery
[*]Power off
[/LIST]
I think that the problem is that the phone is looking for the file "install-recovery.sh" that I renamed into "install-recovery.sh.old".
How can I reanimate my Nexus S?
Click to expand...
Click to collapse
Find wuggs Nexus Root Toolkit... Read the thread and you'll have your phone back..
Sent from my OnePlus ONE
Setting.Out said:
Find wuggs Nexus Root Toolkit... Read the thread and you'll have your phone back..
Sent from my OnePlus ONE
Click to expand...
Click to collapse
Thanks, which is the option to choose?
I think 5 and then 3.
After reanimating the devide I'd like to install Kit Kat version of Android on it so I need a rooted smartphone.
1. Unlock the Bootloader
2. Flash ClockworkMod/TWRP Recovery
3. Root the Device
4. Lock the Bootloader
5. Flash Google Factory Image
6. Donate
0. Exit
Click to expand...
Click to collapse
Nicolaesse said:
Thanks, which is the option to choose?
I think 5 and then 3.
After reanimating the devide I'd like to install Kit Kat version of Android on it so I need a rooted smartphone.
Click to expand...
Click to collapse
I'm going to put it step by step using the Nexus root tool kit (NRTK)
1. download a flashable recovery of your choice (CWM 6.0.4.3 Philz 6.19.3 or TWRP 2.7.0 or higher on all these)
2. download the kitkat rom you want to install
3. download the Gapps that match the rom you chose ( if a 4.4.2 rom get a 4.4.2 gapps if 4.4.4 then 4.4.4)
4. boot your phone into bootloader / fastboot
5. connect your phone to your pc (it should recognize it)
6. open your NRTK and go to the advanced section and choose to temporarily boot custom recovery (this will be TWRP 2.6.3)
7. ON YOUR PHONE select mount usb
8. ON THE COMPUTER open the device/folder for your phone and create a new file on your SD card ( I called mine " !zip " this kept it ontop of the list of files) and copy the recovery, rom, and kernel to this folder.
9. ON YOUR PHONE unmount usb, return to the main menu screen and select install, find that folder you made and select the recovery zip that you copied and swype to install
10. after it installs (10seconds) return to the main menu, select reboot then reboot recovery ( you may get a warning about not having a rom or su, ignore both)
11. now you are on your KK compatible recovery (nearly there)
12. No matter which recovery you chose find the section to wipe or format your phone (DO NOT WIPE OR FORMAT YOUR SD CARD !!!! this will wipe everything off your phone and may make it hard / impossible to restore) and ONLY wipe or format system, cache, and dalvik partitions. On philz there is an option to wipe to install a new rom (this is a onestep version of the above)
13. return to the main menu page and select install, choose your rom and install, then your gapps and install ( if on TWRP you can select both by choosing the option to add a zip to flash)
14. the moment of truth, now that you have flashed both rom and gapps, you need to return to the main menu and select reboot and reboot system...
15. assuming you did all of this issue free, you are free to enjoy your phone..
*if you don't have your phone recognized by your computer / NRTK, you need to follow the instructions for NRTK to get the correct drivers for your computer
**if you are not clear on what you are doing, ask before you make a mistake
***Your custom rom will be pre-rooted, so no need to try to root it

Infinix Zero 5/Zero 5 pro (X603) TWRP Recovery 3.1.1 With OTA Support

Touch is Working Now. (Finally) with OTA Support only for zero5 indian varient
Join Telegram group for further development : https://telegram.me/infinixzero5
This is Ported TWRP Recovery from a same Mt6757 chipset model. which i used to port it for our Infinix X603.
Thanx @topjhonwu for magisk.
Thanx for @majorkid for making OTA supportable
TWRP for non indian and global version for necessary changes. (Need to test)
Warning:-
I am not responsible for bricked devices.
Your warranty will void now. Do it at your own Risk.
Unlocking Bootloader
- Make sure your Bootloader is Unlocked. If already unlocked jump to how to flash.
Process to unlocking.
1. go to settings/about phone/build number (tap build no for 7 time now developer option available in settings)
2. go to developer option turn on usb debugging and OEM unlocking.
3. then go to pc download and extract and copy adb fastboot driver folder in Drive C. (or install form net.)
4. Go in fastboot folder which is copied to C. press and hold shift key on your key board and click right key on your mouse it will show option open cmd here or open power shell window here.
5. Click it, A cmd or power shell window will open.
type "adb devices" - it show some no of your device just give permission from your phone screen)
type "adb reboot bootloader" your phone reboot in bootloader mode.
type "fastboot oem unlock" follow onscreen instruction on phone, press volume + to confirm. thats it but it will erase all your data.
Reboot phone by pressing power button for 10 sec. setup it as temporarily.
Flashing of TWRP
1. Download the Latest TWRP Recovery Image and extract it (Attached). Use correct version for your device for OTA support.
For India (Indian) For Global (Global)
(Insert a SD card in your phone to take stock boot.img backup it will required for OTA in Future.)
2. Go in adb fastboot folder which is copied to C. copy twrp_recovery.img here then press and hold shift key on your key board and click right key on your mouse it will show option open cmd here or open power shell window here.
3. Click it, A cmd or power shell window will open.
4. Flash it via fastboot cmd (fastboot flash recovery Twrp_recovery.img) don’t use bracket.
It will flash recovery on your phone. Now type fastboot reboot in cmd window and press and hold vol+ button and hit enter.
Phone will reboot in twrp recovery.
Note : After flashing first time it will ask for password due to phone is encrypted.
a. just cancel it and allow to modify system by swiping arrow at down and select 2nd last option at right side then select globe icon on right and chose your language English.
(First take Boot.img backup Via backup option in TWRP in SD Card. (bcz internal storage shows 0 mb here at this movement.) It will use for OTA so save it.
b. then flash magisk manager.zip file attached here. (it will remove dm-verity and force encryption from boot.img) and give root access.
c. then go to Wipe and select format Data it will erase all data on your internal storage. remember it will erase your data in ext4 format so go to wipe advance select data and change file system to f2fs. Ext4 data not supported by kernel so you got loop to recovery so It must to repair data in f2fs.
d. Done Reboot to recovery and you got mounted storage.
Another Method.
- Flash it via SP flash tool. (use version 5.1744 recommended)
How to use SP flash tool :
Install Vcom media tek driver on your pc.
More detail and download available on following link
https://spflashtool.com/
IF ANYONE GOT LOOP IN BETWEEN TO RECOVERY MEANS PROCESS NOT FOLLOWED PROPERLY.NOT BOOTING PHONE JUST FLASH STOCK RECOVERY. YOUR PHONE WILL BOOT THEN DO PROCESS AGAIN.
OTA-
1. When ota available just download it. Don’t start flashing.
2. Location of OTA downloaded file in Root so use any root file explorer.
3. File can be found in :-
a. Root/cache/update.zip
b. Root/data/data/com.google.android.gms/app_download/update.zip
4. Copy file name is update.zip to your sd card or phone memory.
5. Reboot to recovery and flash first stock boot.img which you already taken backup and saved before when flashing twrp.
6. now flash update.zip via TWRP (dont reboot after flashing otherwise you will currept your system)
7. After flashing update.zip, first again take backup of your boot.img for future ota update.
8. After taking backup of boot.img flash magisk.zip and reboot. (If you did not flash magisk then your data again encrypted and u lose all data)
6. Done you are on latest version.
Note:- Always remember to flash magisk.zip at last before reboot.
OTA SUPPORTABLE TWRP Link for zero 5 global varient by @majorkid -
https://androidfilehost.com/?fid=890129502657578792
OTA SUPPORTABLE TWRP Link for zero 5 pro global varient by [MENTION=7078341]majorkid[/
https://androidfilehost.com/?fid=890129502657578807
Update: Last updated on 27/01/2018 (With almost all stock stuff with OTA support)
Thank you for your efforts I don't know why but it didn't work (i searched and downloaded alot and it's the only recovery that gave me a response but the screen was flipped and the touch was disabled, also the stock recovery is working well)
XDAdeveeloopers said:
Thank you for your efforts I don't know why but it didn't work (i searched and downloaded alot and it's the only recovery that gave me a response but the screen was flipped and the touch was disabled, also the stock recovery is working well)
Click to expand...
Click to collapse
flip screen was old but i updated it with working twrp. is it showing vernee mix 2 name on top?
can you send screen shot.
its working perfectly.
just match the zip size which you downloaded (if it is 13.23 mb then it is old)
download current version attached above is 15.31 mb in size.
Screen Shot is also updated
Let me know your success.............................
flipped screen fixed !
Ok, now it's not flipped but the touch is still disabled
again, thank you for your efforts. I've attached the screenshots. it tells me to enter the password but the touch is disabled and i couldn't type anything.
At this stage only cancle button will work. Dont type anything just press cancle button.
It shows next screen.
I chek if issue is there.
Cancle is not working too
XDAdeveeloopers said:
Cancle is not working too
Click to expand...
Click to collapse
just use it as temp. bcz after flash touch not working.
Touch is disabled in kernel for recovery partation by infinix.
for temp use cmd.
fastboot boot recovery.img
will update soon..........
when i connect my mouse via otg or flash it temporarily it works fine except that it shows that the internal storage is 0mb and when i try to install something it tells me that it's unable to mount /data as rw
also can you tell me how to get the password required in the first screen ?
XDAdeveeloopers said:
when i connect my mouse via otg or flash it temporarily it works fine except that it shows that the internal storage is 0mb and when i try to install something it tells me that it's unable to mount /data as rw
also can you tell me how to get the password required in the first screen ?
Click to expand...
Click to collapse
Read OP carefully. You need to format data partition completly first time and need to patch boot img via lazy flasher.
Showing 0mb bcz it is encrypted. You can use memory card.
If you want root then go for magisk root till recovery updated.
OK, now I removed the encryption, installed magisk and the root worked but when I try to install busybox and some other apps it doesn't work. When I try to install supersu zip it doesn't work (extracting ramdisk failure aborting) , isn't there any way to install supersu in order to get apps working correctly?
XDAdeveeloopers said:
OK, now I removed the encryption, installed magisk and the root worked but when I try to install busybox and some other apps it doesn't work. When I try to install supersu zip it doesn't work, isn't there any way to install supersu in order to get apps working correctly?
Click to expand...
Click to collapse
which busybox your trying and what error.
currently supersu have some error with new devices. which version you tried it should be 2.82 or above.
I downloaded SuperSU-v2.82-201705271822.zip
Busybox pro 61
MagiskManager-v5.4.3.apk
XDAdeveeloopers said:
I downloaded SuperSU-v2.82-201705271822.zip
Busybox pro 61
MagiskManager-v5.4.3.apk
Click to expand...
Click to collapse
Use busybox form playstore stericson.
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Finally the Touch is updated and working now.
I enabled touch in kernel which is disabled for recovery partition.
XDAdeveeloopers said:
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Click to expand...
Click to collapse
System is encrypted.
Use magiskmanager beta 14.5 or flash lazyflasher via twrp then one time you need to wipe data partition.
Always remember when you flash orignal boot.img you need to flash lazyflasher or magisk otherwise your system will become encrypted again.
Thank you, now touch is working perfectly <3
XDAdeveeloopers said:
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Click to expand...
Click to collapse
you can use ndk busybox from magisk app there is option download module.
But currently there is problem with module with this phone. the data partition is in F2FS format and its kernel is not handling f2fs properly.
TWO option for use magisk module.
1. wait for kernel update via infinix. or
2. format data partition as Ext4 from twrp.
Super su does not work correctly with f2fs currently.
But when I format data partition it resets my phone
XDAdeveeloopers said:
But when I format data partition it resets my phone
Click to expand...
Click to collapse
yes formatting data will reset it.

[HELP] Galaxy S7 G930A Forgot Pattern Unlock

Here is some info from my recovery menu
Samsung/heroqlteuc/heroqlteatt
8.0.0/R16NW/G930AUCU4CRE4
user/release-keys
I have a stock AT&T Galaxy S7 G930a I think on Oreo. I broke the screen around April 2017 and haven't used it since then. I just repaired the screen but I cant remember my pattern unlock and I want avoid wiping/reset because I want the data on the phone. ADB Debugging is off, bootloader isnt unlocked, it's not rooted and it's on stock recovery. What are my options to get past the pattern unlock screen to recover data without wiping/reset?
Things I've tried
"Samsung Find My Phone" to unlock the screen and while my device is listed it cant connect to the phone.
"Where's my Android" - cant find the device most likely because I've updated my Google password since 2017 and I believe Google will log you out of any device using your old password.
Deleting gatekeeper/pattern/pin files through ADB shell wont work cause ADB Debugging is off
Dr. Fone PC Software - Galaxy S7 isnt listed as supported devices
If I have no option but to reset/wipe I'm willing to use file recovery software like EaseUs to recover my deleted phone data. I've used this software to recover data on a couple corrupted hard drives and it's a must have for me now. I dont know how well it works for phones and it requires root tho. Can this phone be rooted once I reset/wipe? If so, what are the steps I would need to take?
Any guidance would be greatly appreciated
Is there another google account linked to the device? Looking at your current situation, you probably don't have any choice to wipe the device.
This specific model you mentioned (G930A) is a US model & has a Snapdragon processor. Meaning that, the bootloader is locked and cannot be unlocked to install a custom recovery with root.
You probably can use this, but it requires a data wipe, so not really useful..
[LOCKED BOOTLOADER] Temporary TWRP 3.3.1 for Samsung Galaxy S7 (Snapdragon) G930XX
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and...
forum.xda-developers.com
There is this but not sure if it would help you.
[Rom][ALL_CARRIERS_G930_CRF1][Stock_Oreo_Hybrid][Safestrap_Preinstalled]
This is for All Carriers. You Do Not Need To Be Rooted To Install This Rom You Must Be On Stock CRF1 Oreo Firmware Before Starting This Takes Some Patience To Install What Is Safestrap Safestrap is a Bootstrap / Recovery for locked bootloader...
forum.xda-developers.com
All the best!
riojosepha said:
Is there another google account linked to the device? Looking at your current situation, you probably don't have any choice to wipe the device.
Click to expand...
Click to collapse
Nope, but I found this thread that I replied to the OP. How would I know what bootloader I'm on? It's said you need to be on V4
[Easy_Root/Unroot][Any_Oreo/Nougat_Firmware_V4_Bootloaders][Tmp_Twrp_Recovery] | XDA Developers Forums (xda-developers.com)
I guess you can root and install custom recovery somewhat but they require wipe. My question is at step 9 of the instructions. Here are the instructions below with my question.
"Instructions
1. Download S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z and your model and version you want from above
2. Unzip S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z to S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
3. Unzip the Model/Version file you downloaded and copy the files to the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder and place them in the Odin folder
4. Prepare your phone for a data wipe
5. Reboot your phone to download mode and flash the AP_ROOT_G93*.tar in the Odin AP slot and reboot your phone to recovery
6. Once phone is in recovery run the Setup.exe in the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
7. Now in the cmd window make sure your device is connected and choose Option (1) Launch TWRP
8. Your phone should launch TWRP leave phone plugged in and command window open on computer
9. Now In Twrp choose wipe and choose format data. Type yes in the box when it ask "
Now right before step 9 wipe and format, while I have TWRP open can I install Aroma File Manager zip or send adb commands to delete gatekeeper, pin, pattern unlock files, then reboot so I can get past my phones unlock pattern? This is all I'm trying to accomplish. I just want to confirm before I process because I don't want to wipe my data. 'm trying to recover pictures and videos from this phone.
KayKay919 said:
Nope, but I found this thread that I replied to the OP. How would I know what bootloader I'm on? It's said you need to be on V4
[Easy_Root/Unroot][Any_Oreo/Nougat_Firmware_V4_Bootloaders][Tmp_Twrp_Recovery] | XDA Developers Forums (xda-developers.com)
I guess you can root and install custom recovery somewhat but they require wipe. My question is at step 9 of the instructions. Here are the instructions below with my question.
"Instructions
1. Download S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z and your model and version you want from above
2. Unzip S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z to S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
3. Unzip the Model/Version file you downloaded and copy the files to the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder and place them in the Odin folder
4. Prepare your phone for a data wipe
5. Reboot your phone to download mode and flash the AP_ROOT_G93*.tar in the Odin AP slot and reboot your phone to recovery
6. Once phone is in recovery run the Setup.exe in the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
7. Now in the cmd window make sure your device is connected and choose Option (1) Launch TWRP
8. Your phone should launch TWRP leave phone plugged in and command window open on computer
9. Now In Twrp choose wipe and choose format data. Type yes in the box when it ask "
Now right before step 9 wipe and format, while I have TWRP open can I install Aroma File Manager zip or send adb commands to delete gatekeeper, pin, pattern unlock files, then reboot so I can get past my phones unlock pattern? This is all I'm trying to accomplish. I just want to confirm before I process because I don't want to wipe my data. 'm trying to recover pictures and videos from this phone.
Click to expand...
Click to collapse
Don't install any aroma file manager, you can just plug your phone into your computer and then your data would be mounted onto your computer.
I hope everything goes well!
EDIT: You are on V4 or Binary 4 as noted in G930AUCU(4)CRE4 (the 4 meaning version 4 or binary 4)

[OnePlus6] Phone frozen (bricked?) while installing Kali NetHunter.

Wanted to install NetHunter on my phone to learn. Here is a story of a foolish student decided to make his life difficult:
Device: OnePlus 6
Model: A6000
Android 10
Here are the steps I followed:
Followed these two documentations:
1) https://www.kali.org/docs/nethunter/installing-nethunter/#1-nethunter-support-and-pre-built-images
2) https://www.kali.org/docs/nethunter/
So downloaded the zip image > put android in developer mode with OEM and advanced reboot and debugging enabled > Fastboot menu
Then I followed this guide for step 3-5 from link 1:
https://forum.xda-developers.com/t/...-flash-twrp-root-nandroid-efs-backup.3792643/
(a little bit google reading said TWRP takes care of A/B style devices by itself no special steps needed)
Set up the windows machine with fastboot, adb and device drivers > run the command "fastboot oem unlock" > transferred twrp zip to the device internal storage > then flashed the new recovery mode "fastboot boot twrp.img" > install and selected the twrp zip that I had saved in internal storage before > reboot > system.
So far worked perfectly.
Then I downloaded the Magisk apk from github and installed it by transferring it to internal storage.
Next for step 6 from link 1:
I again download the ForceEncrypt disabler from zip and transfer it to internal storage then flash it using TWRP.
So far no errors.
Now the final step should have been to flash the nethunter zip image and this is where the problems started:
I tried to flash it using TWRP but it gave me an error about there not being enough storage.
Saw a YT video where he extracts the nethunter zip and via the magisk app does a install on the tar file found inside the extracted folder. This also failed.
After a bit google it said it was because I did not have custom ROM and chroot and lineageOS should solve my problem.
I flash the LineageOS zip image using TWPR > successful but says I should switch the slot to complete the zip files installed.
After switching and rebooting, fastboot goes to lineage always and its a bootloop , so no matter what I select its always reaching the same screen and I cant tranfer zip to internal anymore to try a different build.
So now I run the command fastboot boot twrp.img again and go back to slot A.
Now my phone is stuck in bootloader. No matter what option I select out of the 4:
Start
Recovery mode
restart bootloader
power off
(latter two work as expected technically)
I always end up on the same screen.
After connecting the phone it is showing it as connected in "fastboot devices" now but fastbood is not able to flash or boot any image to it: either freezes or unknown error. "adb devices" shows no devices.
Practically begging for help right now.
To fix your phone, you should use this recovery tool.
https://forum.xda-developers.com/t/op6-latest-10-3-8-collection-of-unbrick-tools.3914109/
You can follow a tutorial like this one
Good luck
You haven't chosen the right place to ask for help. delete your post or change it to "Questions and answer". Have a good day.
d
CarlosTime said:
You haven't chosen the right place to ask for help. delete your post or change it to "Questions and answer". Have a good day.
Click to expand...
Click to collapse
Thank you. I am trying the suggested video right now.
Do you also know why I get the storage error while trying to flash nethunter?
take it easy, relax i have a long story with oneplus too
send me msg on telegram so i can help u 98%
uaername : NotReal0
stay safe bro, and dont worry i dont need you money just bc im noob with english so i just know that u damaged ur phone and i know how to fix
saffron_jedi said:
Wanted to install NetHunter on my phone to learn. Here is a story of a foolish student decided to make his life difficult:
Device: OnePlus 6
Model: A6000
Android 10
Here are the steps I followed:
Followed these two documentations:
1) https://www.kali.org/docs/nethunter/installing-nethunter/#1-nethunter-support-and-pre-built-images
2) https://www.kali.org/docs/nethunter/
So downloaded the zip image > put android in developer mode with OEM and advanced reboot and debugging enabled > Fastboot menu
Then I followed this guide for step 3-5 from link 1:
https://forum.xda-developers.com/t/...-flash-twrp-root-nandroid-efs-backup.3792643/
(a little bit google reading said TWRP takes care of A/B style devices by itself no special steps needed)
Set up the windows machine with fastboot, adb and device drivers > run the command "fastboot oem unlock" > transferred twrp zip to the device internal storage > then flashed the new recovery mode "fastboot boot twrp.img" > install and selected the twrp zip that I had saved in internal storage before > reboot > system.
So far worked perfectly.
Then I downloaded the Magisk apk from github and installed it by transferring it to internal storage.
Next for step 6 from link 1:
I again download the ForceEncrypt disabler from zip and transfer it to internal storage then flash it using TWRP.
So far no errors.
Now the final step should have been to flash the nethunter zip image and this is where the problems started:
I tried to flash it using TWRP but it gave me an error about there not being enough storage.
Saw a YT video where he extracts the nethunter zip and via the magisk app does a install on the tar file found inside the extracted folder. This also failed.
After a bit google it said it was because I did not have custom ROM and chroot and lineageOS should solve my problem.
I flash the LineageOS zip image using TWPR > successful but says I should switch the slot to complete the zip files installed.
After switching and rebooting, fastboot goes to lineage always and its a bootloop , so no matter what I select its always reaching the same screen and I cant tranfer zip to internal anymore to try a different build.
So now I run the command fastboot boot twrp.img again and go back to slot A.
Now my phone is stuck in bootloader. No matter what option I select out of the 4:
Start
Recovery mode
restart bootloader
power off
(latter two work as expected technically)
I always end up on the same screen.
After connecting the phone it is showing it as connected in "fastboot devices" now but fastbood is not able to flash or boot any image to it: either freezes or unknown error. "adb devices" shows no devices.
Practically begging for help right now.
Click to expand...
Click to collapse
I had the same issue after trying to install nethunter myself. Unfortunately for me the MSMDownload tool wouldn't work because I couldn't get the phone to stay off, it would just boot back up into bootloader/fastboot mode as soon as I connected to the computer via usb cable.
Here's the solution that will work 100%. Go to this website below and download the stock OOS zip file for your phone, in my case it was the Oneplus 6T fastboot ROM. Unpack the files into your platform-tools folder, click skip all if it asks you if you want to replace any files in that folder, then run the flash-all.bat and it will unbrick your device. Keep in mind that it will unroot your device and remove twrp as well. There's a thread here that explains how to do it manually so that doesn't happen but its a bit of work to get it done that way.
FastbootRoms Activity
sourceforge.net

Categories

Resources