Unable to get root process to work right - K3 Note Q&A, Help & Troubleshooting

I am currently following below process for flashing and rooting my device.
1) open sp flash tool. select Scatter file from target.bin in stock rom.
2) connect phone without battery and select firmware upgrade to go back to stock.
3) once starting download, put battery in the phone.
4) use marshmallow update zip in cwm recovery on phone. rename it to update.zip and install from recovery.
5) factory reset the phone after update.
6) install k3 note manager to root the device. simply click root.
7) do another factory reset.
After this, technically, I should be on stock rom with Marshmallow update, and rooted device. But, after I finish this, I am facing below problems:
1) I am unable to apply that wifi patch to fix battery issue. It reboots to TWRP recovery, and in recovery, there is no option for update or any zip file to flash.
2) NVRAM data is lost. I can write that data, but no idea why it is getting lost in first place.
3) Even after root, most apps are unable to use root access.
Can you guys help me get the device to official rom with root? What step am I missing here?

Related

best way to update rooted N6 ?

My N6 is rooted, SuperSU and TWRP. On build LYZ28J and want to update to LYZ28K.
It seems I have 3 ways to do this:
1. Use settings in SuperSU to fully unroot, AND flash the LYZ28J recovery.img to replace TWRP. Then I can take the OTA. After that I can rerun the Chainfire Autoroot script and flash TWRP. So i'm updated with no data loss.
2. Flash the factory image. No need to unroot or remove TWRP, but all data is lost. And I still need to reroot and reflash TWRP. Correct ?
3. sideload the ota zip. Just run adb sideload <ota.zip> . No need to unroot . My problem here is that the only place I found with the ota zip is on Droid Life, not a google url. I like Droid Life, read it all the time, but still... Does anyone have a google url link to the OTA ?
Is there another method?
How are others upgrading? Is #3 as easy as I described ?
sean
1. no. to fully unroot, you need to flash a factory image. if you just remove root, itll still think tour rooted because system files have changed. so, wont work.
2. you can, but why? you gave extra time that you want to burn?
3. nope, cant flash an ots while rooted ir havd chsnged system files.
4. just flash the system.img of a factory image ehen it vomes out, and you will not lose data, but will upgrade.
I've used this thread (http://forum.xda-developers.com/nexus-6/general/using-image-to-update-nexus-6-data-loss-t3053158) to update within Lollipop through several versions. It is always best to wipe data when going from one version to the next (Lollipop to Marshmallow) but as long as you are staying within Lollipop this should work fine.
Check this out, http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052
IMO, easiest way. DL zips to internal storage, wipe, and flash. READ the "Read Me" in the first post. When you update it will get rid of SU. Once you boot with update the first time, you can go back and root with TWRP.
Chose to use this. Did not flash the new recovery image. Updated fine, BUT locked and no root, no TWRP. I'll need to run oem unlock again, wiping all the data.
Sigh.
Wrote too soon. SuperSU and TWRP were gone (even though I did not flash recovery.img). Developer Options was gone. So I needed run CF-Autoroot and still need to flash TWRP. But all apps and data remained.
This is great news, especially if we're going to get monthly updates.

[GUIDE]Steps To Revert back to Lollipop 5.1.1 Stock After Marshmallow Update

Ever since google rolled out the marshmallow update I have been plagued with battery issues to an extent where it was dropping to half from a full charge within a day even on standby . Having looked at many fixes on this forum which including rooting and replacing the kernel or simply turning core features like wifi off.For some users it may be tedious and it may risk bricking their device . So I decided to go back to stock 5.1.1 until google fixes the battery issues.
Before Proceeding Backup Your Data.
Follow the steps below to roll back to stock 5.1.1 along with stock recovery.
1) Download the Android One Toolkit http://forum.xda-developers.com/cro...oolbox-android-one-toolkit-one-click-t3030165.
2) Download 5.1 OTA update from here : http://forum.xda-developers.com/cro...l/ota-micromax-official-ota-captured-t3058879
3) Download 5.1.1 OTA update from here: http://forum.xda-developers.com/cro...al/ota-canvas-a1-5-1-1-captured-link-t3121543
4) Place both the OTA zips in root of SD CARD.Note the names of both versions.
5) Open Android One Toolkit.Enable USB Debugging . Unlock the Bootloader.
6) Install CWM Recovery from the Toolkit.
7) Reboot to Recovery.
8) Make a full backup of your existing ROM in case something goes wrong.
9) Erase Data , Cache & Dalvik Cache.
10) Select install zip from ext-sd card select the 5.1 OTA zip.
11) After completion reboot your phone. Update will also replace CWM with stock recovery ( No Worries)
12) Keep Wifi Off & Data connection off to prevent marshmallow being downloaded again during Setup . Setup your device Offline.
13) Reboot to stock recovery using key combo Power + Volume Up.If you get "No command" in stock recovery continue pressing Power+Volume Up until menu appears.
14) Select Update from SD Card . Select 5.1.1 OTA zip.
15) Reboot phone and you will now be on 5.1.1. Along with Stock Recovery.
16)Once Data or Wifi is enabled you may get update prompts of Marshmallow in notification. Disable update notification by long pressing on notification and goto settings from there you can disable it.
17) You may Relock Bootloader if You Wish from toolkit
Disclaimer:
I Am Not Responsible For Any Damage Caused To your Phone.
Credits to:
@anil293 for his toolkit
@varun.chitre15 For His Recoveries
@ghpranav & @GokulNC for OTA links.
Draining continues
Can't go to CWM even I unlocked bootloader I flash ed CWM but still on NO COMMAND
ranj9660 said:
Can't go to CWM even I unlocked bootloader I flash ed CWM but still on NO COMMAND
Click to expand...
Click to collapse
FIrst check in android toolkit in list devices if your device is mentioned.
After flashing CWM boot straight to recovery. Booting to OS may cause the recovery to be overwritten by STOCK recovery.
Yeah my device
My device mentioned too . I clicked list devices and I got device id then only I unlocked bootloader and installed custom recovery also but I can't enter to customer recovery ?
ranj9660 said:
My device mentioned too . I clicked list devices and I got device id then only I unlocked bootloader and installed custom recovery also but I can't enter to customer recovery
Click to expand...
Click to collapse
After installing CWM from toolkit don't restart to OS. Press Power+Volume Up until recovery select option appears.
But now
(First i have to thank you to giving me the instruction now its worked) Doesn't show zip files. What to do? I wiped dalvik cache, data and cache partition but doesn't show zip file ? got another problem
Can I use Twrp?
What's wrong using TWRP instead of CWM? I do not have windows. I have Linux(Ubuntu). From linux I can flash anything. But the problem is I don't have the latest recovery image of CWM for Android one devices. (The CWM project has been abandoned anyway).
My only concern is to get back the stock recovery after flashing 5.1.
The process you told to revert back to Lollipop after Marshmallow update, have u done that, are u succeeded.
Please tell me, because after Marshmallow update i got a severe battery drain and over heat in My Spice Dream Uno MI-498.
When my phone is in ideal it is okay but when i started using it then the issue started.
After revert back to Lollipop according to your process is there any IMEI problem.
Is it possible after flashing the ROM in Custom Recovery can it revert back to Stock Recovery.
androidone14 said:
The process you told to revert back to Lollipop after Marshmallow update, have u done that, are u succeeded.
Please tell me, because after Marshmallow update i got a severe battery drain and over heat in My Spice Dream Uno MI-498.
When my phone is in ideal it is okay but when i started using it then the issue started.
After revert back to Lollipop according to your process is there any IMEI problem.
Is it possible after flashing the ROM in Custom Recovery can it revert back to Stock Recovery.
Click to expand...
Click to collapse
Just flash away the STOCK ROM and you'll get everything STOCK
---------- Post added 5th November 2015 at 00:06 ---------- Previous post was 4th November 2015 at 23:57 ----------
ranj9660 said:
(First i have to thank you to giving me the instruction now its worked) Doesn't show zip files. What to do? I wiped dalvik cache, data and cache partition but doesn't show zip file �� got another problem
Click to expand...
Click to collapse
Please give more details or send a pic of what is going wrong for you. You have to put the zip file in your external card and flash from install from external SD card if that's what you are asking for.
wickedspice said:
Ever since google rolled out the marshmallow update I have been plagued with battery issues to an extent where it was dropping to half from a full charge within a day even on standby . Having looked at many fixes on this forum which including rooting and replacing the kernel or simply turning core features like wifi off.For some users it may be tedious and it may risk bricking their device . So I decided to go back to stock 5.1.1 until google fixes the battery issues.
Before Proceeding Backup Your Data.
Follow the steps below to roll back to stock 5.1.1 along with stock recovery.
1) Download the Android One Toolkit http://forum.xda-developers.com/cro...oolbox-android-one-toolkit-one-click-t3030165.
2) Download 5.1 OTA update from here : http://forum.xda-developers.com/cro...l/ota-micromax-official-ota-captured-t3058879
3) Download 5.1.1 OTA update from here: http://forum.xda-developers.com/cro...al/ota-canvas-a1-5-1-1-captured-link-t3121543
4) Place both the OTA zips in root of SD CARD.Note the names of both versions.
5) Open Android One Toolkit.Enable USB Debugging . Unlock the Bootloader.
6) Install CWM Recovery from the Toolkit.
7) Reboot to Recovery.
8) Make a full backup of your existing ROM in case something goes wrong.
9) Erase Data , Cache & Dalvik Cache.
10) Select install zip from ext-sd card select the 5.1 OTA zip.
11) After completion reboot your phone. Update will also replace CWM with stock recovery ( No Worries)
12) Keep Wifi Off & Data connection off to prevent marshmallow being downloaded again during Setup . Setup your device Offline.
13) Reboot to stock recovery using key combo Power + Volume Up.If you get "No command" in stock recovery continue pressing Power+Volume Up until menu appears.
14) Select Update from SD Card . Select 5.1.1 OTA zip.
15) Reboot phone and you will now be on 5.1.1. Along with Stock Recovery.
16)Once Data or Wifi is enabled you may get update prompts of Marshmallow in notification. Disable update notification by long pressing on notification and goto settings from there you can disable it.
17) You may Relock Bootloader if You Wish from toolkit
Disclaimer:
I Am Not Responsible For Any Damage Caused To your Phone.
Credits to:
@anil293 for his toolkit
@varun.chitre15 For His Recoveries
@ghpranav & @GokulNC for OTA links.
Click to expand...
Click to collapse
Thanks!!!
But is there any way to roll back without rooting the phone.
i don't want to my phone now.
anupamdubey said:
Thanks!!!
But is there any way to roll back without rooting the phone.
i don't want to my phone now.
Click to expand...
Click to collapse
Downgrade is possible only through unlocking bootloader and then flashing custom recovery which shall help you flash the LP firmware.
Rooting has nothing to do with this.
wickedspice said:
After installing CWM from toolkit don't restart to OS. Press Power+Volume Up until recovery select option appears.
Click to expand...
Click to collapse
it gets rebooted automatically after flashing cwm recovery but still no command.
stan1996 said:
it gets rebooted automatically after flashing cwm recovery but still no command.
Click to expand...
Click to collapse
Yes , thats the tricky part as os tries to restore stock recovery on boot. Here's what you need to do. On your computer when the toolkit prompt says " completed /finished" prevent rebooting by quickly pressing power+volume up. Once you get the selection prompt select recovery by volume up and confirm selection by volume down.
You have to do this only once , After you successfully boot to cwm it will prevent os from re writing recovery
wickedspice said:
Yes , thats the tricky part as os tries to restore stock recovery on boot. Here's what you need to do. On your computer when the toolkit prompt says " completed /finished" prevent rebooting by quickly pressing power+volume up. Once you get the selection prompt select recovery by volume up and confirm selection by volume down.
You have to do this only once , After you successfully boot to cwm it will prevent os from re writing recovery
Click to expand...
Click to collapse
thank you so much:angel::angel::angel:
I am getting stuck on unlock bootloader, it freezes and does nothing ? any ideas guys ? I really need to get away from marshmallow, hot phone, no 4g etc etc

HELP ! Phone won't boot after rooting

Hey guys so I'm panicking right now, so I just unlocked the bootloader, flashed TWRP and rooted my phone but now the phone won't boot it's just stuck at the boot icon with the two circles chasing each other, am I screwed and is my phone useless now ?
Don't worry, this is a common problem that occurs when you use an older version of SuperSU.
Flash SuperSU v2.79 to root. You won't even have to reflash the OS. Your phone should reboot once during the booting process.
Alternatively, you can reflash the stock OS and root with Magisk v11.1, which will also root your phone.
Anova's Origin said:
Don't worry, this is a common problem that occurs when you use an older version of SuperSU.
Flash SuperSU v2.79 to root. You won't even have to reflash the OS. You phone should reboot once during the booting process.
Alternatively, you can reflash the stock OS and root with Magisk v11.1, which will also root your phone.
Click to expand...
Click to collapse
Okay so can you tell me how to remove 2.78 before I flash 2.79 ? thanks
You don't need to remove it. Flashing the newer one should replace the older one. I had the same problem when I first rooted following a slightly outdated guide. Flashing the newest version fixed it without a problem.
Anova's Origin said:
You don't need to remove it. Flashing the newer one should replace the older one. I had the same problem when I first rooted following a slightly outdated guide. Flashing the newest version fixed it without a problem.
Click to expand...
Click to collapse
My phone isn't showing up on my pc as a removable storage and when I type adb devices my phone isn't showing up either
If you have a usb-C OTG adapter, the easiest way is to copy it onto a flash drive and flash from the drive in TWRP.
TWRP should also have a way of mounting your phone to your PC, though I've personally never managed to get it to work.
Also, I believe adb works while you're in recovery mode. You can use adb to push the superSU zip to your phone's internal storage. If you aren't sure how to use adb, the toolkit consolidates all of the useful commands together.
Anova's Origin said:
If you have a usb-C OTG adapter, the easiest way is to copy it onto a flash drive and flash from the drive in TWRP.
TWRP should also have a way of mounting your phone to your PC, though I've personally never managed to get it to work.
Also, I believe adb works while you're in recovery mode. You can use adb to push the superSU zip to your phone's internal storage. If you aren't sure how to use adb, the toolkit consolidates all of the useful commands together.
Click to expand...
Click to collapse
I managed to flash 2.79 but I don't think it worked, still stuck booting, will leave it for a few minutes though to see if anything changes, any suggestions if that wasn't the issue ?
Dirty flash whatever version of OOS you're on, wipe delvic/cache, then immediately flash SuperSU without rebooting recovery.
Anova's Origin said:
Dirty flash whatever version of OOS you're on, wipe delvic/cache, then immediately flash SuperSU without rebooting recovery.
Click to expand...
Click to collapse
I have no idea how to do any of that, I'm a beginner could you explain to me please ?
stefinho said:
I have no idea how to do any of that, I'm a beginner could you explain to me please ?
Click to expand...
Click to collapse
1) Download the full ROM of OOS from OnePlus (ignore their instructions, they are assuming that you have the stock recovery installed).
2) Transfer the full zip onto your phone.
3) Boot into TWRP
4) Find where you've put the full ROM on your internal storage and flash it
5) Once TWRP finishes flashing it, tap the "wipe dalvik/cache" button, DO NOT REBOOT (if you reboot at this point, your TWRP will be replaced with stock recovery)
6) Press back on TWRP, find your SuperSU.zip and flash that
7) Reboot
This process replaces any non-user files that may have been damaged. You won't lose any data or the apps that you have downloaded. This will replace the recovery with stock if you do not root immediately before rebooting.
Anova's Origin said:
1) Download the full ROM of OOS from OnePlus.
2) Transfer the full zip onto your phone.
3) Boot into TWRP
4) Find where you've put the full ROM on your internal storage and flash it
5) Once TWRP finishes flashing it, tap the "wipe dalvik/cache" button, DO NOT REBOOT (if you reboot at this point, your TWRP will be replaced with stock recovery)
6) Press back on TWRP, find your SuperSU.zip and flash that
7) Reboot
Click to expand...
Click to collapse
Thanks, will try that now.
Anova's Origin said:
1) Download the full ROM of OOS from OnePlus (ignore their instructions, they are assuming that you have the stock recovery installed).
2) Transfer the full zip onto your phone.
3) Boot into TWRP
4) Find where you've put the full ROM on your internal storage and flash it
5) Once TWRP finishes flashing it, tap the "wipe dalvik/cache" button, DO NOT REBOOT (if you reboot at this point, your TWRP will be replaced with stock recovery)
6) Press back on TWRP, find your SuperSU.zip and flash that
7) Reboot
This process replaces any non-user files that may have been damaged. You won't lose any data or the apps that you have downloaded. This will replace the recovery with stock if you do not root immediately before rebooting.
Click to expand...
Click to collapse
DUDE, it worked thank you so much man really appreciate the help

Reverting to Lollipop from MM - which is the right method?

I have a UK XT1072 which:-
has an unlocked bootloader
is rooted (with SuperSU v2.78)
has a custom recovery (TWP v3.1.0.0) and
is on stock MM (v6.0)
.
I want to revert to Lollipop.
I have d/loaded a stock 5.0.2 LL rom (RETGBALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml.zip) but am unsure how to install it successfully.
I'm unsure if I should either:-
get into TWRP recovery, do a full factory reset including a wipe of internal storage and then install the stock LL ROM zip using TWRP, or
get into TWRP recovery, do a full factory reset (but no wipe of internal storage) and then install the stock LL ROM zip using TWRP, or
connect the phone to a PC, get into TWRP recovery, do a full factory reset including a wipe of internal storage, stay in recovery and then use ADB command set on the PC to install the unzipped components of the stock LL ROM? (if it's this option, please someone tell me what the command sequence is)
Note: I assume I will have to re-root the phone once I've done this but unsure how to do this on LL - same as on MM (ie use TWRP to install SuperSU zip) or different for LL?
Can anyone please let me know which, if any of these options is the best/easiest/safest? Or, if it's none of them , tell me what I should be be doing!
Many thanks to anyone who can help
First option - assuming you have a SD card not formatted as internal and your LL zip is there and accessible (check your card and files through TWRP before deleting anything).
You will lose root if SuperSU is no longer present - so add the flashable SuperSU on the card and flash it before first reboot.
I can't think of any reason you would want to go back to Lollipop other then the annoying Android 6 security restrictions, but you can bypass them by using the right custom ROMs. Those usually come with root managers included. I'd recommend this one - it is for Titan, not ours, but, with some tweaks, it can be installed on Thea and it works Lollipop-style in regard to permissions - not to mention your root is taken care of automatically, as it has SuperSU included in the installation package.

Couple of questions about rooting

Hi there, I am currently running B383 on my P9, and really want to root it. However when I do, will I still be able to get future updates to the software? Do I need to unroot and lock bootloader first?
Also when the bootloader is unlocked, a message is displayed at boot about your phone being unsecured and non-trustworthy, is it possible to remove this message? (I used to have a moto g with an unlocked bootloader, and I flashed some file to remove the warning).
Thanks
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
..
benjamen50 said:
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
Click to expand...
Click to collapse
Thanks for the quality answer, I have no doubts anymore!

Categories

Resources