Related
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
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.
THIS GUIDE IS ONLY FOR GALAXY S4 SGH-1337M
Guide made on 2017-03-12
I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR PHONE!
PERFORMING THIS WILL MAKE YOUR WARRANTY GO AWAY!
LEAVE A THANKS IF IT WORKS
This guide is split up into four parts meaning that if you just want to root your phone or just want to restore to stock then you can YOU CAN NOT INSTALL XPOSED WITHOUT ROOTING AND GETTING STOCK FIRST!
Welcome to my guide on how to install XPOSED on the Samsung Galaxy S4 (SGH-1337M) this guide is strictly for the SGH-1337M the reason I made this was because I spent a lot of hours trying to put parts of threads together since no one had specifically made a guide that was simple and noob friendly for installing XPOSED. Another reason is some people feel uncomfortable following guides made for the SGH-1337 mainly because it is different from the SGH-1337M. Another reason was I found no updated 2016/2017 guides for it. Follow every part step by step or you may risk losing your phone.
Also make sure you backup anything that isn't synced with Google that you want to keep, photos, music, contacts. This will delete all data on the phone.
This guide will be split up into four parts:
-Stock
-Root
-ROM that is needed
-Installing XPOSED
Requirements:
-A PC
-Internet
-Samsung Galaxy S4 SGH-1337M
-USB Cable
-SD Card with at least three free GB on it.
Stock Firmware
BEFORE YOU BEGIN (IMPORTANT)
1. Power off device
2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Now you may begin
1. Download the latest stock firmware from sammobile for your device from make sure it is for 5.0.1:
-https://www.sammobile.com/firmwares/database/SGH-I337M/
2. Extract the .zip after you finish downloading
3. Download ODIN v.3.12.3
-Attachment at bottom of thread.
4. Extract the .zip to get the ODIN program.
5. Turn your device off.
6. Boot into download mode by holding Power Button+Volume Down Button
7. When it gives warning press the Volume Up Button
8. Connect device to PC using USB cable.
9. Run ODIN as administrator
10. Your ODIN screen should look like this now:
-http://prntscr.com/ej6hrl
Note: Where it says [0:COM8] The 8 can be any number.
11. Click AP and find the .md5 file you extracted from the stock firmware .zip from earlier.
Note: It is normal for ODIN to freeze while checking the file don't panic and don't close out.
12. On the left hand side where it says options copy down these settings
-http://prntscr.com/ej6ivi
13. When you are done all that it should look like this:
-http://prntscr.com/ej6jmz
Note: My .md5 file or binary size won't look exactly like yours don't panic.
14. Click start
15. It will take a while just be patient and wait, mine took about 10-15 minutes yours might take longer. It should look like this when done and it should reboot automatically:
-http://prntscr.com/ej6nq9
Note: First boot may take a while be patient.
16. Quickly go through setup it doesn't matter what you choose because this isn't the final product.
17. As soon as you finish setup head over to Settings.
18.Go to "More" and click Security
19. Check Unknown Sources
20. Go back to "More"
21. Go to About Device
22. Tap the Build Number until it says developer options enabled.
23. Go back to "More"
24. Go to Developer options
25. Check USB Debugging
26. Turn phone off.
Rooting The Device
1. Download CF-Auto-Root.zip
-http://download.chainfire.eu/327/CF-Root/CF-Auto-Root/CF-Auto-Root-jfltecan-jfltevl-sghi337m.zip
2. Extract the .zip
3. Boot into Download Mode.
4. Connect Device to PC
5. Run ODIN as administrator
6. Your ODIN screen should look like this now:
-http://prntscr.com/ej6hrl
Note: Where it says [0:COM8] The 8 can be any number.
7. Click AP and click the CF-Auto-Root .md5 file that you downloaded
8. On the left hand side where it says options copy down these settings
-http://prntscr.com/ej6ivi
9. When you are done all that it should look like this:
-http://prntscr.com/ej779o
10. Click Start
11. It should look like this when done and it should reboot automatically:
-http://prntscr.com/ej77ok
Note: First boot may take a while be patient.
12. When it starts go to Play Store sign in and download Root Checker by joeykrim
13. Open the app and make sure the phone is rooted
Note: When you click "Check for root" it will ask for SuperUser permission you have 15 seconds to click grant otheriwse it will show wrong results.
14. If it isn't repeat this process again
15. Turn phone off.
Custom ROM that is needed.
General Information:
-Basically XPOSED requires a deodexed firmware and when I wanted to get it I didn't know how to deodex my firmware so instead I found a custom ROM which is very popular and extremely good that has a deodexed firmware.
We can do this two ways, but first we must do this.
1. Power off device
2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Method 1 Downloading ROM using PC then transferring to SD Card
1. Download the GoldenEye ROM from here
-https://www.androidfilehost.com/?fid=23991606952595353
2. Do not extract the .zip
3. Transfer .zip onto SD Card
4. Put SD card into phone
5. Boot phone and go through setup
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the GoldenEye ROM from your SD card and install
21. It will start the Aroma installer click 1337M at device selection after you agree to terms.
22. Select GoldenEye Full
23. Go through the rest of the installer choosing your options that you prefer
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.
Method 2 Downloading ROM using Device then transferring to SD Card
1. Boot Phone
2. Go through setup
3. Download the GoldenEye ROM from here using any browser from the Play Store
-https://www.androidfilehost.com/?fid=23991606952595353
4. Do not extract the .zip
5. Move .zip onto sd card using any file manager found on Play Store
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the GoldenEye ROM from your SD card and install
21. It will start the Aroma installer click 1337M at device selection after you agree to terms.
22. Select GoldenEye Full
23. Go through the rest of the installer choosing your options that you prefer
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.
Installing XPOSED
We can do this two ways, but first we must do this.
1. Power off device
2. Boot into the stock recovery or CWM recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Method 1 Downloading XPOSED using PC then transferring to SD Card
1. Download the XPOSED Framework and .apk installer from here
XPOSED Framework
-https://www.dropbox.com/s/taywsnvw994uvha/xposed-v86.2-samsung-5.0.x-sdk21-by-dkcldark-arm.zip?dl=1
XPOSED Installer
-Attached at bottom of thread
2. Do not extract the .zip
3. Transfer .zip and .apk onto SD Card
4. Put SD card into phone
5. Boot phone and go through setup
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the XPOSED Framwork from your SD card and install
21. It will start the installing
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic.
25. Go through setup process and then install the .apk from the SD card by clicking it using any file manager.
26. It will install
Final
We have finally finished installing XPOSED it was a long process but it was worth it.
Going to be doing some major updates to the steps stay tuned.
Tested with D838 - 16GB
1. If you are not in stock rom, using computer flash with LG Flash Tool 2014. Using D83820d_00.kdz rom. (Lollipop rom)
2. Once done, enable developer option, enable USB debug mode, and connect to computer MTP option.
3. Root the device using one-click root software for LG G PRO 2.
http://forum.xda-developers.com/lg-g...lipop-t3056951
4. After rooted, restart the phone and copy the cyanogenmod 13 zip file to internal SD main directory of the phone.https://mega.nz/#!MNNQWABB!tsc_dxAW8_WWvfyVOGflOoQRJjk3l3z6mqMro8_cojQ
5. Then, we need to flash with custom recovery - D838 LP Recovery. This is chinese version. Connect to USB again and unzip the RAR then run the bat file.
https://www.dropbox.com/s/c6yfckg1gakys5u/D838 lp recovery.rar?dl=0
https://drive.google.com/file/d/0B4k...ew?usp=sharing
6. After flashed the custom recovery, it will start up at recovery mode. 1)Clear the cache, 2)clear the dalvik cache, 3)clean/erase phone for new rom.
7. The flash the zip file of cyanogenmod 13 zip. And restart.
8. The phone will start with CM 13 now. You need to visit to gapps in order to install google play. Select ARM, Android 6 and PICO option to download the zip file.
http://opengapps.org/
9. Off phone and boot up in recovery mode again (Press vol up and power button at the same time). Then flash the zip file.
10. Once done, boot up the phone as usual. Then you will find Google Play in the CM 13 OS. Register google mail to complete.
11. Now when you download safetynet test, you found it failed because the phone has root feature in Developer Option and SelinuxModeChanger is exist in CM13.
12. Goto Developer Option to enable root. Then install "System app remover (ROOT)" from google play (grant root priv). Once installed, use this app to uninstall SELINUXModeChanger.
13. Once uninstalled, install SuperSU from google play (grant root priv). Go to setting of SuperSU and choose unroot phone. The SuperSU will remove root feature from Developer Option.
14. Now your CM 13 is clean. Rerun the safetynet to test again. It should be GREEN this time.
The safetynet test is important to ensure your phone is totally clean from alter and can install sensitive application.
Cant download
Hi,
Sorry I can't download the custom recovery file mentioned in step 5. Any help please...
TIA.
bkcheah75 said:
Tested with D838 - 16GB
1. If you are not in stock rom, using computer flash with LG Flash Tool 2014. Using D83820d_00.kdz rom. (Lollipop rom)
2. Once done, enable developer option, enable USB debug mode, and connect to computer MTP option.
3. Root the device using one-click root software for LG G PRO 2.
http://forum.xda-developers.com/lg-g...lipop-t3056951
4. After rooted, restart the phone and copy the cyanogenmod 13 zip file to internal SD main directory of the phone.https://mega.nz/#!MNNQWABB!tsc_dxAW8_WWvfyVOGflOoQRJjk3l3z6mqMro8_cojQ
5. Then, we need to flash with custom recovery - D838 LP Recovery. This is chinese version. Connect to USB again and unzip the RAR then run the bat file.
https://www.dropbox.com/s/c6yfckg1gakys5u/D838 lp recovery.rar?dl=0
https://drive.google.com/file/d/0B4k...ew?usp=sharing
6. After flashed the custom recovery, it will start up at recovery mode. 1)Clear the cache, 2)clear the dalvik cache, 3)clean/erase phone for new rom.
7. The flash the zip file of cyanogenmod 13 zip. And restart.
8. The phone will start with CM 13 now. You need to visit to gapps in order to install google play. Select ARM, Android 6 and PICO option to download the zip file.
http://opengapps.org/
9. Off phone and boot up in recovery mode again (Press vol up and power button at the same time). Then flash the zip file.
10. Once done, boot up the phone as usual. Then you will find Google Play in the CM 13 OS. Register google mail to complete.
11. Now when you download safetynet test, you found it failed because the phone has root feature in Developer Option and SelinuxModeChanger is exist in CM13.
12. Goto Developer Option to enable root. Then install "System app remover (ROOT)" from google play (grant root priv). Once installed, use this app to uninstall SELINUXModeChanger.
13. Once uninstalled, install SuperSU from google play (grant root priv). Go to setting of SuperSU and choose unroot phone. The SuperSU will remove root feature from Developer Option.
14. Now your CM 13 is clean. Rerun the safetynet to test again. It should be GREEN this time.
The safetynet test is important to ensure your phone is totally clean from alter and can install sensitive application.
Click to expand...
Click to collapse
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.