MM 6.0.1 [TWRP] Recovery - Xperia Z2 General

GOT TROUBLE WHILE INSTALLING A RECOVERY? GET A WORKING TWRP RECOVERY AFTER 2 MINUTES ON YOUR XPERIA Z2 D6503/D6502:
open any root explorer app like ES FILE MANAGER
Delete /system/etc/mm_twrp_recovery folder
Go to /system/bin/ folder
Look for the "chargemon.stock" file - If it's present, delete this one: chargemon - and now, rename the chargemon.stock to chargemon
Look for the "taimport.stock" file - If it's present, delete this one: taimport - and now, rename the taimport.stock to taimport
Reboot
download "recovery fix.zip" from mega.nz
extract the file and run "adbrecoveryfix.exe" the .exe file will install some needed files (normally into C:\Minimal ADB and Fastboot\ )
copy the files from the folder "RECOVERY FILES" into the "Minimal ADB and Fastboot" Folder
connect your xperia with the pc
open the "m a a d" folder and then SHIFT+RIGHT CLICK to open a command window
now type:
adb shell
su root
mount -o remount,rw /system
exit
exit
install.bat
Click to expand...
Click to collapse
don´t forget to press enter after "adb shell", "su root" and so on!
now your recovery will install again without any errors!
YOU HAVEN`T INSTALL ANDROID MARSHMALLOW YET BECAUSE YOU WANT TO KEEP ROOT RIGHT, XPOSED AND THE RECOVERY?
THEN CHECK OUT THIS THREAT
http://forum.xda-developers.com/xpe...03-23-5-0-570-prerooted-t3364817#post66513485
Another simple Method: thanks @meer_mortal
Deleted folders and rename chargemon etc
Plugged phone into computer with dev settings, debugging etc
Open root explorer to make / -RW
Run install.bat with CMD
Boom! MM with TWRP
To get in into recovery reboot press down after green LED
Click to expand...
Click to collapse
BUGS: none
IMPROVABLE: boot into recovery only works manually (when it vibrates and a green LED shows up press VOL DOWN till the LED is purple) "QUICK BOOT" and similiar Applications cannot boot into the recovery!

Which files are inside .exe?

Can i get Decryption key? to download

wheal said:
Which files are inside .exe?
Click to expand...
Click to collapse
Only adb and fastboot files! You can also download them from "chip.de" it's called "Minimum adb and fastboot"
Sent from my D6503 using XDA-Developers mobile app

Natur said:
Can i get Decryption key? to download
Click to expand...
Click to collapse
I am sorry that i gave you the wrong link just a minute
Sent from my D6503 using XDA-Developers mobile app

Natur said:
Can i get Decryption key? to download
Click to expand...
Click to collapse
Now the right link is in the decsription...

freaky2xd said:
Now the right link is in the decsription...
Click to expand...
Click to collapse
Thanks,

is this method works if i use Android 5.x or 4.x ?

reknew said:
is this method works if i use Android 5.x or 4.x ?
Click to expand...
Click to collapse
you can try. but if I were you, i`d better use [NUT`s] DualRecovery! its simple and i have already used it for 4.4.4 and 5.1 on the Z2!
http://nut.xperia-files.com/path/XZDualRecovery/XZDualRecovery_2.8.26
just look for the Z2 file... its a zip file! its installer and flashable zip!

thanks man.
this worked for me. I somehow lost recovery but regained it on Android M after following your steps!

pseudoheld said:
thanks man.
this worked for me. I somehow lost recovery but regained it on Android M after following your steps!
Click to expand...
Click to collapse
you are welcome the same happs why i created this threadened to me, that´s why I started this recovery fix thread

Hands health
İts works, good job thanks

Thanks for this. You can also use root explorer to make the phones file system writable before running install.bat

balabanos said:
İts works, good job thanks
Click to expand...
Click to collapse
thanks

meer_mortal said:
Thanks for this. You can also use root explorer to make the phones file system writable before running install.bat
Click to expand...
Click to collapse
try it.

meer_mortal said:
Thanks for this. You can also use root explorer to make the phones file system writable before running install.bat
Click to expand...
Click to collapse
This is a Statement not a question
freaky2xd said:
try it.
Click to expand...
Click to collapse
I did. That's how I got TWRP on MM
Following your guide
I downloaded the files from OP post
Deleted folders and rename chargemon etc
Plugged phone into computer with dev settings, debugging etc
Open root explorer to make / -RW
Run install.bat with CMD
Boom! MM with TWRP
To get in into recovery reboot press down after green LED
Win!

meer_mortal said:
This is a Statement not a question
I did. That's how I got TWRP on MM
Following your guide
I downloaded the files from OP post
Deleted folders and rename chargemon etc
Plugged phone into computer with dev settings, debugging etc
Open root explorer to make / -RW
Run install.bat with CMD
Boom! MM with TWRP
To get in into recovery reboot press down after green LED
Win!
Click to expand...
Click to collapse
oh yeah you`re right of course i thought it might be a question xD
I added your post as a quote to the description

You Want TWRP v3.0.0.2 ?
Then flash @pec0ra customKernel v8.1!
It unlocks:
Based on Sony 23.5.A.0.570 kernel sources
Compiled with linaro GCC 4.9.1 toolchain, -O3
Governors : interactive, ondemand, performance, conservative, smartassV2, intellidemand2 and intelliactive.
Fast hotplug
CPU overclock up to 2.8 GHz Thank's to Faux123 and DooMLoRD
Changed GPU frequency table to 27 - 657 MHz Thank's to Myself5
Sony RIC disabled
Undervolt
TWRP recovery included, fota partition support
Breathing notification light thank's to glocklee
Force Fast Charge
KCAL Advanced color control Thank's to savoca
Click to expand...
Click to collapse
Visit this Link:
http://forum.xda-developers.com/xperia-z2/orig-development/kernel-abricot-kernel-v3-t2965480

guys, after i open install.bat and phone rebooted. My phone didn't open. it is in bootloop now and after opening, phone try to open twrp but it can't so the phone reboot itselft over and over again.. i did hard reset. and open the phone again, same things happened. Help me please..!

Abdülcelil said:
guys, after i open install.bat and phone rebooted. My phone didn't open. it is in bootloop now and after opening, phone try to open twrp but it can't so the phone reboot itselft over and over again.. i did hard reset. and open the phone again, same things happened. Help me please..!
Click to expand...
Click to collapse
reinstall the firmware via flashtool. choose everything to wipe

Related

[SCRIPT] Windows One Click Root Method [3/26/11]

HTC Thunderbolt Windows One Click Root
This is a simple batch file that will guide you in rooting your device.
It is pretty easy to follow along but please take your time and read everything. It has only been tested a few times so please report any errors or issues you find.
Huge thanks to NetForce-TX on IRC for testing along with helping, I owe you!
Also thanks to Jcase for guidance
TeamAndIRC and Captainkrtek (Me) are NOT responsible for any bricks, fires, or damaged/broken hardware due to this process
If you wish to read the batch files contents either open it with notepad or check the pastebin
Instructions are included in the file when running it along with where to get the necessary files.
Prerequisites:
Drivers Installed & Working
SDK Installed with ADB
Exploits.zip with contents extracted to your ADB dir
PG05IMG.zip
Downgrade RUU
A Thunderbolt running 605.6 or 605.9 Firmware
You can download the OneClickRoot here
I will update this from time to time if needed, If you have issues with the batch file please PM me on XDA or find me on irc.andirc.net #Thunderbolt.
I will not reply to your PM if you want me to help you root your phone!
UPDATE: If SU acts up (IE: Force closes) flash this via CWM
Reserved for Linux version
Wow, looks easy! But I'm glad I did it through ADB. Nice job!
pinhead875 said:
Wow, looks easy! But I'm glad I did it through ADB. Nice job!
Click to expand...
Click to collapse
Thanks! It is pretty simple, only a few things you have to do manually (no possible workaround) such as flashing from the bootloader.
Anyone try this yet?
sent using Tapatalk on the TB.
egeorgia said:
Anyone try this yet?
sent using Tapatalk on the TB.
Click to expand...
Click to collapse
Already a few people have tested it, all successes
so we set the phone to debug mode and the usb mode to just charging?
i was going to to the other root ;set up my ADB earlier but chickened out... i already have the files downloaded
Cg006 said:
so we set the phone to debug mode and the usb mode to just charging?
i was going to to the ot her root and set up my abd earlier but chickened out... i already have the files downloaded
Click to expand...
Click to collapse
Yeah exactly, just debug and charging, until you have to copy over the roms then you will set the USB mode to mount SD
I did the long method but I missed the step to get s-off. Can I still use the one click root method sk I can obtain s-off?
alphatectz said:
I did the long method but I missed the step to get s-off. Can I still use the one click root method sk I can obtain s-off?
Click to expand...
Click to collapse
Yes you can, but I reccomend unrooting whatever you have done so far using this http://forum.xda-developers.com/showthread.php?t=1009423
Captainkrtek said:
Yes you can, but I reccomend unrooting whatever you have done so far using this http://forum.xda-developers.com/showthread.php?t=1009423
Click to expand...
Click to collapse
Ok, I'll unroot and use the one click method. Thx
can we get a poll maybe to see success rate
Can we get a Step by Step Instruction Guide? it would be nice for us beginners
ok so after i choose my path where my android sdk platform tools folder is i get
Pushing files via ADB...
This process may take some time, if it takes longer than 30 seconds
Make sure the drivers are install and USB debugging is on.
cannot stat 'psneuter': No such file or directory
cannot stat 'busybox': No such file or directory
cannot stat 'misc.img': No such file or directory
Unable to chmod /data/local/psneuter: No such file or directory
Unable to chmod /data/local/busybox: No such file or directory
so what did i do wrong? i get my serial number when i get type adb devices....
b33zy682 said:
ok so after i choose my path where my android sdk platform tools folder is i get
Pushing files via ADB...
This process may take some time, if it takes longer than 30 seconds
Make sure the drivers are install and USB debugging is on.
cannot stat 'psneuter': No such file or directory
cannot stat 'busybox': No such file or directory
cannot stat 'misc.img': No such file or directory
Unable to chmod /data/local/psneuter: No such file or directory
Unable to chmod /data/local/busybox: No such file or directory
so what did i do wrong? i get my serial number when i get type adb devices....
Click to expand...
Click to collapse
You need to put the contents of exploits.zip in the same directory ADB is in
ok what in that zip needs to go where?
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
b33zy682 said:
ok what in that zip needs to go where?
Click to expand...
Click to collapse
take everything that is in exploits.zip and move it to your android sdk directory specifically the location of adb.exe (will either be in platform-tools or tools) as for the two RUUs, they can be anywhere but you will have to move them at one point to your SD card. That is about it
Cg006 said:
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
Click to expand...
Click to collapse
Yes you should
Cg006 said:
Phone Has been Succesfully Rooted.
Did most of the steps while doing some WoW Raiding. lol
Thank you so much.... now.. should i flash a new rom on this baby?
Click to expand...
Click to collapse
damn right! lol

[RECOVERY][CWM] ClockworkMod v6.0.1.4 v1 | custom extras menu (10/12/12)

This is a custom version of clockworkmod 6.0.1.4 (latest version available). See the 2nd post for information on what is in the extras menu.
To install:
- download these 2 files -----> uImage.CWM6 & touchpad_recovery_extras.zip
- boot into your current clockworkmod and mount /boot and /sdcard
- plug into your computer and run these commands
Code:
cd {location of folder where 2 files you just downloaded are}
adb push uImage.CWM6 /boot/uImage.CWM6
adb push touchpad_recovery_extras.zip /sdcard/touchpad_recovery_extras.zip
- go to install zip and choose the touchpad_recovery_extras.zip from your sdcard
- reboot and you will see an option in moboot for CWM6
Notes: The icons on the bottom of the recovery are placeholders for when i get the touchscreen working. I'm working on making this a touch recovery like the ones in my signature.
Click to expand...
Click to collapse
Whats in the extras menu?
- enable/disable one confirm (this makes it so you only have to scroll through one confirm selection when installing something instead of having to go through 10 of them to click yes)
- hide/show backup & restore progress (this makes it so the progress bar when you backup/restore doesnt show up and makes backups/restores a bit faster since it doesnt have to show you the progress and files its backing up)
- aroma file manager (file explorer - to configure properly: when opened the first time select "no" to use alternative touch. then press the back key or enter key to get past the dot part. that works best for me)
create custom zip (this will create a custom rom from the currently installed files you have on your phone. it takes your /system partition and /boot files and makes them into a zip file ready to be flashed. the end product will be in /sdcard/clockworkmod/zips/{DATE}. with date being a timestamp of the time it was created. be sure to run a fix_permissions after installing the zip too just in case. DO NOT DELETE THE FOLDER /sdcard/clockworkmod/zips/files
choose custom openrecoveryscript (read THIS)
- recovery info (shows the version of recovery and the build date)
hi, didn't work for me is saying "no space left on device"
Any idea???
thanks
had the same issue here
deleting old TWRP uImage in /boot after booting into TWRP worked for me
nos2k5 said:
had the same issue here
deleting old TWRP uImage in /boot after booting into TWRP worked for me
Click to expand...
Click to collapse
Yeah I should have explained that more. You can only have space for 2 recoveries. You can adb pull the original clockworkmod off and save it and push the cwm6
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
If you're not fond of ADB like me,
Open terminal emulator
Grant it super user by typing
su
then hitting enter and select 'allow' when the toast pops up
You should now see the '#' symbol
Now type,
mount -o remount,rw /boot
Then hit enter
Now go to your favorite file manager that goes to the root dir. (I prefer ES File Explorer)
Now copy uimage.CWM6 to /boot
Reboot.
Credit goes to reverendkjr for showing us this in his video below.
https://www.youtube.com/watch?v=7iquJvUyOL4&feature=youtube_gdata_player
Sent from my cm_tenderloin using Tapatalk 2
hey sk8erwitskil,
what are the steps to boot into CWM6 from goo.manager?
it only kicks me into moboot, counting down to boot moboot.default
nos2k5 said:
hey sk8erwitskil,
what are the steps to boot into CWM6 from goo.manager?
it only kicks me into moboot, counting down to boot moboot.default
Click to expand...
Click to collapse
You have to edit android.default.recovery to read CWM6 I don't think ES file explorer allows you to do it but ROM Toolbox pro (free version) does .
Hope this helps
sstar said:
You have to edit android.default.recovery to read CWM6 I don't think ES file explorer allows you to do it but ROM Toolbox pro (free version) does .
Hope this helps
Click to expand...
Click to collapse
thanks for your advice, but in which directory can I find this entry
nos2k5 said:
thanks for your advice, but in which directory can I find this entry
Click to expand...
Click to collapse
Its in the boot folder .
sstar said:
Its in the boot folder .
Click to expand...
Click to collapse
thanks!
was not there, had to create it
works
Nice to see this, putting it on when I get home
Will edit post with my opinions and functionality (can't see any bad functionality from this thread)
Sent from my LT30p using xda premium
this works with ameers onlinebackup backup without reboot
Thanks so far so good
http://forum.xda-developers.com/showthread.php?t=1923680
touchscreen controls dont work
tjsooley said:
touchscreen controls dont work
Click to expand...
Click to collapse
please, read the first post!
Notes: The icons on the bottom of the recovery are placeholders for when i get the touchscreen working. I'm working on making this a touch recovery like the ones in my signature.
Click to expand...
Click to collapse
nos2k5 said:
please, read the first post!
Click to expand...
Click to collapse
I feel like Homer Simpson!
Impressive
Sent from my aokp_tenderloin using xda premium
theduce102 said:
If you're not fond of ADB like me,
Open terminal emulator
Grant it super user by typing
su
then hitting enter and select 'allow' when the toast pops up
You should now see the '#' symbol
Now type,
mount -o remount,rw /boot
Then hit enter
Now go to your favorite file manager that goes to the root dir. (I prefer ES File Explorer)
Now copy uimage.CWM6 to /boot
Reboot.
Sent from my cm_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
Thanks for this! Worked great for me, I used the free Android Terminal Emulator from the Play Store and my preferred file manager is Root Explorer. The only thing I had to do differently was first delete the old CWM uimage from the boot file before pasting in the new one.
---------- Post added at 12:17 AM ---------- Previous post was at 12:14 AM ----------
sk8erwitskil said:
This is a custom version of clockworkmod 6.0.1.4 (latest version available). See the 2nd post for information on what is in the extras menu.
To install:
- download these 2 files -----> uImage.CWM6 & touchpad_recovery_extras.zip
- boot into your current clockworkmod and mount /boot and /sdcard
- plug into your computer and run these commands
Code:
cd {location of folder where 2 files you just downloaded are}
adb push uImage.CWM6 /boot/uImage.CWM6
adb push touchpad_recovery_extras.zip /sdcard/touchpad_recovery_extras.zip
- go to install zip and choose the touchpad_recovery_extras.zip from your sdcard
- reboot and you will see an option in moboot for CWM6
​
Click to expand...
Click to collapse
sk8erwitskil said:
Whats in the extras menu?
- enable/disable one confirm (this makes it so you only have to scroll through one confirm selection when installing something instead of having to go through 10 of them to click yes)
- hide/show backup & restore progress (this makes it so the progress bar when you backup/restore doesnt show up and makes backups/restores a bit faster since it doesnt have to show you the progress and files its backing up)
- aroma file manager (file explorer - to configure properly: when opened the first time select "no" to use alternative touch. then press the back key or enter key to get past the dot part. that works best for me)
create custom zip (this will create a custom rom from the currently installed files you have on your phone. it takes your /system partition and /boot files and makes them into a zip file ready to be flashed. the end product will be in /sdcard/clockworkmod/zips/{DATE}. with date being a timestamp of the time it was created. be sure to run a fix_permissions after installing the zip too just in case. DO NOT DELETE THE FOLDER /sdcard/clockworkmod/zips/files
choose custom openrecoveryscript (read THIS)
- recovery info (shows the version of recovery and the build date)
Click to expand...
Click to collapse
Thanks for this! Everything works great and I'm looking forward to the touch controls.
Can't wait for the touch controls!
Recovery rules
This build of CWM 6 is impressive. I've been using TWRP since release for the TouchPad, but it's nice to know I've got a backup recovery now. Hopefully touchscreen controls won't be too much of a pain to get working. Thank you!

Can't flash KRT16S (from KRT16O)

Hi everybody
When the factory images came out, I flash my N4 with the stock factory images that we used to find here : https://developers.google.com/android/nexus/images#occamkrt16s because it is now the KRT16S build
After a few days, when the KRT16S build came out, I was proposed in my phone to update it. I downloaded it, tried to flash it but nothing worked, I'm still on KRT16O and the OTA doesn't appear anymore... Then I remembered that I flashed a mod found here : http://forum.xda-developers.com/showthread.php?t=2527525 (that's a great mod btw) so I guessed that I could reflash the undo file available on the thread, flash the ota file dl mannually (I attached it in this thread) which I did through TWRP. Then I was able to see the problem, it told me that, from what I remember, Agenda.apk was missing (I think it's diary in english, not sure) then I remembered that I manually deleted some apps I never use (diary is one of them...)
So, what's next, shall I reflash the gapps to finally update my phone
Thanks for your help :laugh:
Are you using latest TWR? I did it ok
Sent from my Nokia 3210
howard bamber said:
Are you using latest TWR? I did it ok
Sent from my Nokia 3210
Click to expand...
Click to collapse
I run the 2.6.3.3 version I guess it's the latest because I flashed it a few days ago
I installed the few missing apps that i uninstalled and Calendar didn't create any error. This time it EmailGoogle.apk... I transformed it as a system application and I went to /system/app to change its name from com.google.android.apps.email or something to EmailGoogle.apk, didn't work... But I'm sure I'm on the way to achieve it :victory:
Here's the whole mesage :
Code:
Updating partition details...
Installing '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Checking for MD5 file...
Skipping MD5 check : no MD5 dile found.
Verifying current system...
"/system/app/EmailGoogle.apk" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip
Error flashing zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Updating partition détails...
[CENTER][COLOR="Red"][SIZE="4"]Failed[/SIZE][/COLOR][/CENTER]
azertguigui said:
I run the 2.6.3.3 version I guess it's the latest because I flashed it a few days ago
I installed the few missing apps that i uninstalled and Calendar didn't create any error. This time it EmailGoogle.apk... I transformed it as a system application and I went to /system/app to change its name from com.google.android.apps.email or something to EmailGoogle.apk, didn't work... But I'm sure I'm on the way to achieve it :victory:
Here's the whole mesage :
Code:
Updating partition details...
Installing '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Checking for MD5 file...
Skipping MD5 check : no MD5 dile found.
Verifying current system...
"/system/app/EmailGoogle.apk" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip
Error flashing zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Updating partition détails...
[CENTER][COLOR="Red"][SIZE="4"]Failed[/SIZE][/COLOR][/CENTER]
Click to expand...
Click to collapse
You can not install an apk in recovery. Use ES File Explorer to install the apk. In addition, to avoid the error, while you are in recovery, select "Mount" and uncheck the box "System" when flashing a zip file.
taodan said:
You can not install an apk in recovery. Use ES File Explorer to install the apk. In addition, to avoid the error, while you are in recovery, select "Mount" and uncheck the box "System" when flashing a zip file.
Click to expand...
Click to collapse
I did not installed it with TWRP, I did it by simply openning the apk while my phone is on, it installed the Email app...
But thanks anyway for the mount function, I'll give a try
azertguigui said:
I did not installed it with TWRP, I did it by simply openning the apk while my phone is on, it installed the Email app...
But thanks anyway for the mount function, I'll give a try
Click to expand...
Click to collapse
Simpler way to update without OTA package:
Download the factory image, and before running the flash-all script, open it with a text editor and change "fastboot -w update" to "fastboot update"
MameTozhio said:
Simpler way to update without OTA package:
Download the factory image, and before running the flash-all script, open it with a text editor and change "fastboot -w update" to "fastboot update"
Click to expand...
Click to collapse
You mean with the sdk? I don't know how to use it, when I flash something, it's with the recovery or the nexus root toolkit..
-From my Nexus 4-
UP
azertguigui said:
UP
Click to expand...
Click to collapse
**
azertguigui said:
UP
Click to expand...
Click to collapse
azertguigui said:
**
Click to expand...
Click to collapse
Not sure what you're trying to say here..
azertguigui said:
You mean with the sdk? I don't know how to use it, when I flash something, it's with the recovery or the nexus root toolkit..
-From my Nexus 4-
Click to expand...
Click to collapse
Try avoiding toolkits as they can lead to problems and leave you stuck with no idea what to do. Yes he is referring to the sdk. Only the platform-tools folder in the sdk is required so if you don't wanna bother downloading the complete file, just download the platform-tools from here and extract it to an appropriate location. Extract and move the Factory Image that you downloaded to your platform-tools directory. If you don't want your data to be erased, edit the flash-all script with a text editor and remove -w and save. Plug in your phone. Make sure you have the drivers installed. In the platform tools directory, press shift+right click> open command prompt here. Type adb devices. You will see "device <Serial Number>. If you don't, your drivers are faulty. Then type adb reboot bootloader. Once your phone has rebooted into bootloader, make sure that it is being detected by typing fastboot devices. You should see an output similar to adb devices. Now simply run the flash-all script and let it do its work. Reboot after flashing is completed.
Hope this helps!
try search any youtube on how to flash factory images to your device. I guess u'll find lots.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Words of advice, learn how to use ADB instead of relying solely on toolkits. It's very simple actually.
Now there's a simple way to update which is sideload. Oh and btw to sideload, you still need ADB though (this is why learning ADB is VERY important to us, the N4 users). Here is a video tutorial on how to perform adb sideload. All the links are attached in his youtube video.
Ibrahim.Rahman said:
Not sure what you're trying to say here..
Click to expand...
Click to collapse
:laugh: I quoted my own UP post but it told me that my post should have at least 2 letters, so I taped the spacebar twice and it wrote this
Ibrahim.Rahman said:
Try avoiding toolkits as they can lead to problems and leave you stuck with no idea what to do. Yes he is referring to the sdk. Only the platform-tools folder in the sdk is required so if you don't wanna bother downloading the complete file, just download the platform-tools from here and extract it to an appropriate location. Extract and move the Factory Image that you downloaded to your platform-tools directory. If you don't want your data to be erased, edit the flash-all script with a text editor and remove -w and save. Plug in your phone. Make sure you have the drivers installed. In the platform tools directory, press shift+right click> open command prompt here. Type adb devices. You will see "device <Serial Number>. If you don't, your drivers are faulty. Then type adb reboot bootloader. Once your phone has rebooted into bootloader, make sure that it is being detected by typing fastboot devices. You should see an output similar to adb devices. Now simply run the flash-all script and let it do its work. Reboot after flashing is completed.
Hope this helps!
Click to expand...
Click to collapse
Thanks, I'll give a try
saifulh2304 said:
try search any youtube on how to flash factory images to your device. I guess u'll find lots.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
arffrhn said:
Words of advice, learn how to use ADB instead of relying solely on toolkits. It's very simple actually.
Now there's a simple way to update which is sideload. Oh and btw to sideload, you still need ADB though (this is why learning ADB is VERY important to us, the N4 users). Here is a video tutorial on how to perform adb sideload. All the links are attached in his youtube video.
Click to expand...
Click to collapse
thanks guys, I'm gonna find tutorials on the web like the one you pointed to me
azertguigui said:
:laugh: I quoted my own UP post but it told me that my post should have at least 2 letters, so I taped the spacebar twice and it wrote this
Click to expand...
Click to collapse
Haha right!
Sent from my Nexus 4 using xda app-developers app

[Guide] How to have write protection disabled on boot with stock rom

For this to work you will need to be rooted with twrp installed.
This is for people who are on the stock rom or a rom without init.d support.
1. Download the wp_mod.ko file from @flar2's thread http://forum.xda-developers.com/showthread.php?t=2701816
and copy it over to your SD card (either internal or external)
2. Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
13. profit
I don't have my hands on mine yet (ordered a Dev edition from Amazon), but I greatly appreciate your work here! R/W was a massive pain for me on my M7, and this seems much more simple and easy. Thanks again!
Hi graffixnyc,
Thanks for the explanation, but the link to the file is not working ....
link
flaxjef said:
Hi graffixnyc,
Thanks for the explanation, but the link to the file is not working ....
Click to expand...
Click to collapse
+1
CC
Should be fixed now.. I don't know why it cut off some of it
http://forum.xda-developers.com/showthread.php?t=2701816
Thanks for the turorial, but this isn't working for me
The file can't be executed (even after chmod) - and if i try to execute this file in an other directory, my terminal says that this file can't be found..
Any ideas?
So my device simply ignores Step 7 .... :crying:
graffixnyc said:
For this to work you will need to be rooted with twrp installed.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
Click to expand...
Click to collapse
I know I am being a grammar nazi, but I am fairly certain you mean "ensure". I tried to just leave it alone, but I can't not say something. It's a curse.
Fenny said:
I know I am being a grammar nazi, but I am fairly certain you mean "ensure". I tried to just leave it alone, but I can't not say something. It's a curse.
Click to expand...
Click to collapse
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
noimjosh said:
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
Click to expand...
Click to collapse
lol... yeah, would have been better to say: "but I'm compelled to say something"
Oh well, no biggie though.
Don't know how I missed this thread though, thanks graffixnyc.
noimjosh said:
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
Click to expand...
Click to collapse
Indeed, it is ironic.
thank you
412070391 said:
thank you
Click to expand...
Click to collapse
Does this work if the phone is still s-on? (unlocked/rooted but no s-off)
Sorry, but will this fix my little niggling issue with MX player? I keep my Stewart/Colbert files on the extSD card, but I can't delete them when done watching them using MX Player's delete command. I have to remember which files are watched and then use ES File Explorer to delete them. A silly second step in my opinion. Yes I am rooted, s-on, with TWRP.
I'm staying stock hoping a firewater solves my s-on issue, but yes I should probably do a custom ROM to solve this and a few other things.
Will this make SD card writeable to all apps?
Will this make external micro SD card writeable to all apps?
Sn8kbordin said:
Will this make external micro SD card writeable to all apps?
Click to expand...
Click to collapse
MAN, NO DOUBLE POSTS. but yea it should do it...if not there is another way
In Terminal Emulator it says "Failed Exec Format Error". Any ideas?
I followed the 1st post directions without errors for Sense 6.0, Andoid 4.4.3. When I tried to:
1. When I tried editing and saving system/customize/ACC/default.xml in ES File Explorer phone rebooted on save and default.xml went back to stock
2. When I copied default.xml to extSD card, edited it, and tried overwriting system/customize/ACC/default.xml with edited default.xml in TWRP recovery phone also rebooted
I want to do this mod http://forum.xda-developers.com/htc-one-m8/general/enable-built-music-channelroot-t2818128

(EASY ROOT) Z982 via QFIL or TWRP B20_Modified SYSRW 4/8/19

I have here, two packages.
The twrp one is meant for those who have already flashed twrp, the other is for first time root via EDL.
Both flash System RW, updated TWRP and magisk.
TWRP package will not wipe Data, You will loose no data
NOTE - You may have to mount the system RW.
NOTE - The above will be fixed via a future custom rom.
Without further ado, here are the instructions.
Initial Root Instructions
Prep: You must have a Pin screen lock set on your device to prevent data loss.
On your phone go to
Settings>Security>Screen Lock>PIN
and set a pin.
USB Debugging and OEM Unlocking have to be enabled to make this work.
On Your phone go to
Setting>About phone
Then tap on build number 10 time to unlock Developer Settings
Now go to
Settings>Developer Options
Then toggle usb debugging and oem unlocking.
1. Download this package B20 Via QFIL
2. Unzip the file to your desktop.
3. Right click on RunasAdmin_TestSignON.bat and run as administrator.
4. Let your machine reboot.
5. Run Run This.bat
6. Install everything it tells you to install.
NOTE Select WWAN-DHCP when asked
7. RTFM and flash (All the files your need for qfil are in the B20 Folder!!!!)
8. Profit
Then
9.Press and hold Vol+ and Power
10.Once the ZTE screen shows, let go of power while continuing to hold vol+
This will get you into twrp
11.Plug you phone into your computer and from your adb directory, run these commands.
12.adb shell
13.setenforce 0
14.exit
Now on your phone, in twrp
15.Swipe to allow midification
16.Tap Backup
17.check data
18.tap select storage
19.Select microsdcard
20.tap ok
21.Swipe to backup
22.Tap home
23.Tap wipe
24.Tap Format Data
25.Enter yes and tap the blue checkmark
26.Tap home
27.Tap Power off
28.Turn your phone on.
For those who have TWRP already on their device, follow these instructions.
1. Download this package. B20 via TWRP
2. Extract it to your desktop
3. Run "Flash full B25.bat"
4. Profit
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update 5/253/19
Updated boot.img z982_boot_magisk.img
Update Magisk root "Already obsolete"
Fixes ADB not authorized issues
Update twrp recovery.img z982_recovery_twrp.img
Fixes selinux enforcing related issues related to /data folder
Fixes backup related issues
Fixes zip install related issues
Do you think this will work with my hard bricked phone?
so if our system is still ro, all we have to do is mount rw every time? I was hoping that we would only need to mount it like one time, because im basically doing the same thing I was doing before.
https://drive.google.com/file/d/1YsOFbKcca2GTc6K77vD6-hh4qtk5O3mv/view?usp=sharing
test this. you might need to rename the zip file to bootanimtion.zip.
Chickenaa said:
https://drive.google.com/file/d/1YsOFbKcca2GTc6K77vD6-hh4qtk5O3mv/view?usp=sharing
test this. you might need to rename the zip file to bootanimtion.zip.
Click to expand...
Click to collapse
will do. are all the files already in place.
bootanimation worked, but sound still didnt
evtoofly said:
will do. are all the files already in place.
bootanimation worked, but sound still didnt
Click to expand...
Click to collapse
Upload the build.prop
Chickenaa said:
Do you think this will work with my hard bricked phone?
Click to expand...
Click to collapse
As long as you get the driver working, it should no problem.
xxMoon said:
As long as you get the driver working, it should no problem.
Click to expand...
Click to collapse
Im thinking about reinstalling windows. Do you think i should give it a try?
Chickenaa said:
Im thinking about reinstalling windows. Do you think i should give it a try?
Click to expand...
Click to collapse
I would.
Before you reinstall.. if ur able try on another PC.
xxMoon said:
1. Download this package. B20 via TWRP
2. Extract it to your desktop
3. Run "Flash full B25.bat"
4. Profit
Click to expand...
Click to collapse
Appreciate the update, same problem as before though RO /system and a mount -o rw,remount /system command results in the phone freezing and then restarting.
JasonSec said:
Appreciate the update, same problem as before though RO /system and a mount -o rw,remount /system command results in the phone freezing and then restarting.
Click to expand...
Click to collapse
thought I was the only one, I just stopped trying, if I need to go mount rw, i just use root explorer . Even that freezes sometimes though smh. Some people just got it better than we do
B25
Hello sir,
My phone is running B25. Will this cause issues? Do I need to downgrade?
AjtheLAF said:
Hello sir,
My phone is running B25. Will this cause issues? Do I need to downgrade?
Click to expand...
Click to collapse
No issues for me.
Emerl said:
No issues for me.
Click to expand...
Click to collapse
Did your system become rw?
evtoofly said:
Did your system become rw?
Click to expand...
Click to collapse
I use ES File Explorer. Open the app, wait for su to grant it access, then change the system to RW. I've noticed that the phone will freeze if I tried to switch to RW before the File Explorer was granted su access.
Emerl said:
I use ES File Explorer. Open the app, wait for su to grant it access, then change the system to RW. I've noticed that the phone will freeze if I tried to switch to RW before the File Explorer was granted su access.
Click to expand...
Click to collapse
I noticed that too. I also tried to see if root explorer would mount rw after I used es to mount rw, and it turns out that u still have to mount system separately in both file managers. Bummer because I was looking for a way to always have my system mounted as rw between both file managers.
evtoofly said:
I noticed that too. I also tried to see if root explorer would mount rw after I used es to mount rw, and it turns out that u still have to mount system separately in both file managers. Bummer because I was looking for a way to always have my system mounted as rw between both file managers.
Click to expand...
Click to collapse
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
Emerl said:
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
Click to expand...
Click to collapse
I personally use root explor to chmod files, I dont think es can do it, however es has its own perks as well, so I just keep both just in case
Emerl said:
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
Click to expand...
Click to collapse
Lol, actually you can put init.d scripts in /sbin/.magisk/img/.core/service.d/ and they will do it on boot.
Try my attachment.
I

Categories

Resources