I can't install CWM or TWRP on Note II - Galaxy Note II Q&A, Help & Troubleshooting

Hello!
First of all: Excuse me for my english.
I have a "second-hand" Galaxy Note II. I think that the old user try to root it, because I have superuser installed... but I can't grant su permissions.
Well. I try to install CWM or TWRP with heimdall in Download mode: heimdall flash --RECOVERY recovery.img (CWM or TWRP), it seems works fine, and phone restarts. But when I try to access on it I get the (default) Android System Recovery.
I read that it's because I have to delete /system/recovery-from-boot.p to CWM or TWRP can be executed successfully, but I can delete it because I'm not root, and I can't be root because i can't install CWM or TWRP...
- It's possible to be root without CWM or TWRP? (I tryed without exit: towelroot or framaroot)
- It's possible to delete /system/recovery-from-boot.p without be root user? (I tryed adb shell, ES File Explorer, ...)
- It's possible to access CWM or TWRP without delete this file? (I tryed with CWManager, it detects CWM and TWRP flashed, but can't reboot on it, and can't install a new CWM version).
I'm become to be crazy, I suppose that's more easy that I think...
Thank you very much!

Firt... installing custom recovery is very important to flash the right one for your specific model.
What exact model do you have of your phone? Can you download Phone info and give the info there: http://forum.xda-developers.com/showthread.php?t=2609045 or https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo&hl=en
What Phone Model: ....and Device Type:
When you install TWRP or CWM, it has to be specific for your phone model and device type.

cyberboob said:
Firt... installing custom recovery is very important to flash the right one for your specific model.
What exact model do you have of your phone? Can you download Phone info and give the info there: http://forum.xda-developers.com/showthread.php?t=2609045 or https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo&hl=en
What Phone Model: ....and Device Type:
When you install TWRP or CWM, it has to be specific for your phone model and device type.
Click to expand...
Click to collapse
Thank you very much for your Reply. I'm installing the recovery for my specific model: GT-N7100, and it was installed succesfully, but when reboot, appears the default Android Bootloader.
Thank you very much!
PS: I'm Android developer and I installed other roms a lot of times in another devices, but I don't have a lot of experience rooting devices (and it's the first Samsung that I try to root), and I think that the first phone owner do something wrong...

I finally solve it installing the stock ROM from sammobile and flashing it with heimdall:
sudo heimdall flash --CACHE cache.img \
--BOOT boot.img \
--SYSTEM system.img \
--RECOVERY recovery.img \
--RADIO modem.bin \
--HIDDEN hidden.img \
--BOOTLOADER sboot.bin \
--TZSW tz.img
Thank you very much!

lol we actually learn a lot more from our mistakes. In the end, you got everything working fine again, so that's all that matters.
Enjoy!

cyberboob said:
lol we actually learn a lot more from our mistakes. In the end, you got everything working fine again, so that's all that matters.
Enjoy!
Click to expand...
Click to collapse
Yes!! But yesterday I was about to be crazy...
Thank you!!

Related

[Q] [Help]What are the steps to install this ROM? Liquid Smooth

Hello I am new to the ROMs. I need help installing this ROMporque truth I never have and do not want to lock my phone .. thanks in advance
Link: http://forum.xda-developers.com/showthread.php?t=2119318
i have added installation instuctions to second post ...
Installation Instructions
(If coming from GB be sure to flash Stock Firmware with Odin, use PDA slot)
1. Install Custom Recovery - TWRP - CWMR
2. Install ROM though Recovery or GooManager
3. Install My Latest Gapps though Recovery or GooManager
4. If Newer Kernel is available install it though Recovery or GooManager​
Click to expand...
Click to collapse
Thanks
Sent from my SAMSUNG-SGH-I927R using xda app-developers app
thegreatergood, I just installed Rootbox, VanillaRootbox(just configs Rootbox?), LiteROM, Liquid, and then CM 10.1 4.2.1 JB 1/2?/2013.
I looked at BartPE since I can grub2 iso files(bios flash via free dos), to use odin3, but I think all it really takes is:
Code:
heimdall flash --no-reboot --stdout-errors --14 recovery.img
...where recovery.img is that file from your recommended CWM zip. (ClockWorkRecovery)
adb and heimdall both use libusb but adb, even with udev file, does not find i927. heimdall-frontend (gui) does not use pit Identifiers(numbers), so fails to write.
heimdall CWM, we're in, CWM the rom and gapps from /external_sd/.
I tried TWRP and even with MD5 checks off, it failed 9 out of 10.
I tried terminal unzip in TWRP and I think unzip, cp, tar, are going to work on things like /efs.
I did cp /efs first of all, from TWRP, but never had to bring anything back because my **ATT IMEI STAYED PUT** through factory wipes, install of many rom's including AOKP, UCAL flash modem.bin and hidden.img and cache.img and data.img at same time as rooted UCAL boot.img and then in recovery, cp /external_sd/system / (!!!). (Your doc said that if coming from gb, and I didn't know WHERE I was coming from, so...)
Could be just as simple as heimdall flash CWM, recovery flash cm and gapps zips. No windows(odin) in any case. Not even adb, which had worked to root my htc phone but doesn't recognize i927. Currently on ubuntu quantal 64-bit on laptop. Straighttalk activating now on i927, should be working tomorrow.
---------- Post added at 10:59 PM ---------- Previous post was at 10:44 PM ----------
Translation of my last post:
Linux only to transfer CWM, no windows. ATT IMEI survived seemingly every possible thrash.
Code:
heimdall flash --no-reboot --stdout-errors --14 recovery.img
...where recovery.img is that file from your recommended CWM zip. (ClockWorkMan Recovery)
heimdall CWM, then we're in, CWM the CM 10.1 rom(others tested-- Liquid, LiteRom, Rootbox, UCAL rooted, rooted ATT, TWRP recovery), and thegreatergood's goomanager dev gapps unzipped in CWM recovery, from /external_sd/.
"If coming from...", don't know where I am so yes, "be sure to flash Stock firmware", -thegreatergood.
I didn't know where I was, or was coming from, so I flashed(heimdall) just the following from thegreatergood's "Stock Firmware" link(above):
111604076 /external_sd/sam_i927/UCALJ3_i927/hidden.img
12583168 /external_sd/sam_i927/UCALJ3_i927/modem.bin
...I think there are half a dozen alt modem.bin's with LiteROM. Didn't try flashing any separately.
----------------------------------------------------------------------------------------------------
3543040 /external_sd/sam_i927/AOKP/boot.img
233515401 /external_sd/sam_i927/AOKP/system.zip
3543040 /external_sd/sam_i927/CM/boot.img
249946522 /external_sd/sam_i927/CM/system.zip
3543040 /external_sd/sam_i927/Liquid/boot.img
153760559 /external_sd/sam_i927/Liquid/system.zip
3543040 /external_sd/sam_i927/RootBox/boot.img
243102706 /external_sd/sam_i927/RootBox/system.zip
4826 /external_sd/sam_i927/VanillaRootBox/system.zip
3547136 /external_sd/LiteKernel/boot.img
4730880 /external_sd/sam_i927/LiteROM/tmp/LiteKernel_boot.img
4636672/external_sd/sam_i927/LiteROM/tmp/Stock_boot.img
267685451 /external_sd/sam_i927/LiteROM/system.zip
5009408 /external_sd/sam_i927/CWM/recovery.img
4954112 /external_sd/sam_i927/TWRP/recovery.img
8388608 /external_sd/sam_i927/CarrierIQFree/boot.img (rooted spyware-free, safe for /ems, IMEI?)
432703076 /external_sd/sam_i927/CarrierIQFree/factoryfs.img
4689920 /external_sd/sam_i927/UCALJ3/boot.img (rooted!...may not be spyware-free)
476114473 /external_sd/sam_i927/UCALJ3/system (in CWM/TWRP recovery, cp /system /)
12583168 /external_sd/sam_i927/UCALJ3/modem.bin
5023744 /external_sd/sam_i927/UCALJ3_i927/recovery.img (...may not be spyware-free)
4638976 /external_sd/sam_i927/UCALJ3_i927/boot.img
523072100 /external_sd/sam_i927/UCALJ3_i927/factoryfs.img
9625772 /external_sd/sam_i927/UCALJ3_i927/cache.img
111604076 /external_sd/sam_i927/UCALJ3_i927/hidden.img
12583168 /external_sd/sam_i927/UCALJ3_i927/modem.bin
Found a thread from December that suggested factory reset, wiping cache, and dvanik (sp?) and then proceeding with installing roms. Works like a charm now!

Spreadtrum SC6820/SC8810 Full Backup

Hello there,
Today I will teach you how to make a full backup of your Spreadtrum phone !
This tutorial may also work on several other phones.
CWM can make a nearly full backup of your Spreadtrum, but it's not enough unfortunately.
Android is compartmented in 4 main partitions. You have theses partition:
* boot - It contains the Linux kernel
* System - It contains Android
* Recovery - It contains the recovery system, CWM if you installed it.
* DATA - It contain your personal datas, and should not be published online if you share your backup online.
But Android is one thing, your phone also have a lot of bios, firmwares, and bootloaders. Theses are not saved by traditional backup utilities such as CWM.
Theses partitions includes:
* UBoot - Very important, this thing is the low level bootloader. It starts Linux !
* Modem Firmware - used to dial with your GSM provider
* DSP Firmware - Make video playback smoother using DSP resources.
* NV - It's some kind of encryption key with some low levels parameters. Very important !
* Lots of misc stuffs - Like the boot logo, the kernel panics logs (record the boot-up errors to help the debugging process), etc ...
* Lots of important misc stuffs - For example what start-up the device even before handing the phone to Uboot.
This thread will cover a new way to backup your device, working "only" on rooted Spreadtrum devices.
With this you can recreate your original firmware file, and then rescue your phone even on the worst case you can find. (And help those with the same phone as you but have made a big flashing mistake)
So first, you will need to root your device. It may be simple or difficult, it all depends of the device you have. The instructions on how to root your device are here: http://forum.xda-developers.com/showthread.php?t=2165554
When you are rooted, you will have to install the Spreadtrum drivers if it's not already the case and log into your device with ADB.
You can download the drivers here:
http://www.mediafire.com/download.php?c5nf3rlhxmxhu4x
http://www.mediafire.com/download.php?2tyg0k2xp3ejgyg
You can download ADB and learn how it work here: http://dottech.org/21534/how-to-ins...ows-computer-for-use-with-your-android-phone/
Then you will have to tell adb what phone to use. By that I mean adding the PCI ID to a text file to tell adb that this peripheral is compatible.
The Spreadtrum PCI ID is 0x1782
add this line to "Your user directory/.android/adb_usb.ini"
Code:
0x1782
So when you are ready to go, you have to download this file: http://www.mediafire.com/download.php?y6wmegkc22gkr97
Then with adb, push it on your device with this command:
Code:
adb push backuptools.tar /data/local/tmp
Now we will extract the tools with this command:
Code:
adb shell su -c "tar -xvpf /data/local/tmp/backuptools.tar"
And now, let's start the backup process:
Code:
adb shell su -c "./mkbackup.sh"
and here we go, just wait a while and every partitions on your phone will be saved in the backup directory on the sd card !
You will never have to backup this way again as those partitions are read only, if you don't do crazy things they will never change. But if you want to make another backup I suggest you go with CWM (read this page if you don't have it: http://forum.xda-developers.com/showthread.php?t=2165554).
Please do another backup with CWM even if everything as gone right with this method. Just to double check !
PS: if CWM does not work for you, you just have to send me your boot.img file from your backup and I will make one compatible with your phone.
To restore your backups you will also need to have CWM, you also can use ResearchDownload if you manage to entirely brick your phone or if any attempts to make a CWM recovery fails. I will have to do a tutorial about that too.
Thanks a lot :good:
this is my boot.img after a full backup :www .mediafire.com/?gmnm65rn65b28c3
i need a CWM image for my GT-I9300 clone.
all the best.
monster-exodia said:
Thanks a lot :good:
this is my boot.img after a full backup :www .mediafire.com/?gmnm65rn65b28c3
i need a CWM image for my GT-I9300 clone.
all the best.
Click to expand...
Click to collapse
Hi,
Can I have the exact name of your device ? (it must be in the battery compartment)
Did you tried all the CWM already in the rooting tutorial ? (I added one this morning)
If none of them work, I made this recovery with the boot.img you provided: http://www.mediafire.com/download.php?aj2nman38j5cfip
Please don't forget to tell me what CWM work for you so I can add the name of your phone on the tutorial.
@ElectronikHear
phone model (in battery) : N9300
phone model : (system info) GT-I9300
Build number : MT6515M_C909_HT_V14
cpu hardware : SP6820A
..........
I never tried ... firslty how to to flash CMW recovery ?
thanks in advance.
deleted
monster-exodia said:
how to to flash CMW recovery ?
Click to expand...
Click to collapse
Well it's explained in the rooting tutorial.
If your phone have Fastboot you can flash using it. If you don't you can use the Spreadtrum flash utility called ResearchDownload.
Everything is here:
http://forum.xda-developers.com/showthread.php?t=2165554
As your phone is already rooted it will be a lot more simple to flash using "dd" or some android flashing utilities. Actually it doesn't work that way on theses phones, sorry ... So just do as the rooting tutorial explains.
Hi, I'm succesfully rooted my phone with the "rooted system partition image" method, but none of the CWM images work, so I would be grateful if you can send me the recovery image.
Device Info:
Phone model (in battery) : S6500-TV
Phone model : (system info) S560
Android Version: 4.0.3
Baseband Version: DM_BASE_12A_W12.32|sc8810_modem|08-9-2012 16:47:10
Kernel Version: 2.6.35.7 [email protected] #3
Software Version: T162_JYY_G2_P2_1_W1220P12_DNY_V0.8.1_20121015
Hardware Version: 1.1.0
boot.img : www .dropbox.com/s/ka43sd45em9lu9k/mtd9.boot.img
Thanks in advance.
monster-exodia said:
I never tried ... firslty how to to flash CMW recovery ?
thanks in advance.
Click to expand...
Click to collapse
Don't even try!
Backup first.
janzlev said:
Hi, I'm succesfully rooted my phone with the "rooted system partition image" method, but none of the CWM images work, so I would be grateful if you can send me the recovery image.
Device Info:
Phone model (in battery) : S6500-TV
Phone model : (system info) S560
Android Version: 4.0.3
Baseband Version: DM_BASE_12A_W12.32|sc8810_modem|08-9-2012 16:47:10
Kernel Version: 2.6.35.7 [email protected] #3
Software Version: T162_JYY_G2_P2_1_W1220P12_DNY_V0.8.1_20121015
Hardware Version: 1.1.0
boot.img : www .dropbox.com/s/ka43sd45em9lu9k/mtd9.boot.img
Thanks in advance.
Click to expand...
Click to collapse
Hi there,
Here is your new recovery: http://www.mediafire.com/download.php?iahnncpjhm44etn
Please tell me if it works so I can add it to the rooting tutorial ^^
Thank you very much !
Not working, after flashing the recovery, the phone enters into a boot loop.
Anyway thank you.
janzlev said:
Not working, after flashing the recovery, the phone enters into a boot loop.
Anyway thank you.
Click to expand...
Click to collapse
A boot loop ?
You mean the recovery is looping ? and if you try to boot as normal everything working ok ?
I don't know what has gone wrong ... Where did you find your boot.img ? Did you extract it from the rom as the tutorial said or extracted from a .pac file ?
Have you flashed it with fastboot or with ResearchDownload ?
ElectronikHeart said:
A boot loop ?
You mean the recovery is looping ? and if you try to boot as normal everything working ok ?
I don't know what has gone wrong ... Where did you find your boot.img ? Did you extract it from the rom as the tutorial said or extracted from a .pac file ?
Have you flashed it with fastboot or with ResearchDownload ?
Click to expand...
Click to collapse
Recovery does not start, normal boot enters into a boot loop, the boot.img is extracted from the rom as in the tutorial.
Flashed with ResearchDownload.
janzlev said:
Recovery does not start, normal boot enters into a boot loop, the boot.img is extracted from the rom as in the tutorial.
Flashed with ResearchDownload.
Click to expand...
Click to collapse
That's weird, really weird. Because the recovery partition is not involved in the normal boot procedure. So flashing a new recovery should not harm in any way the normal boot procedure.
I really don't know what have brought your phone in such state I'm afraid.
Maybe you should try to flash the recovery again. and see if everything is the same.
As the recovery is not involved in the normal boot process, it surely will not change anything, but as you have tried the over ones (CWM I mean), and that have not screwed your booting process, you may try to flash one of the non working ones again (but known for sure to not harm the boot process) to see if it work again.
Have you used the same FDL set as when you flashed the system partition and the over CWM ?
It's a good thing you have the full backup on your hand. Because you may surely be able to recover from that. I just have to make a tutorial about flashing the backup with ResearchDownload and explaining what file goes where from the backup.
ElectronikHeart said:
That's weird, really weird. Because the recovery partition is not involved in the normal boot procedure. So flashing a new recovery should not harm in any way the normal boot procedure.
I really don't know what have brought your phone in such state I'm afraid.
Maybe you should try to flash the recovery again. and see if everything is the same.
As the recovery is not involved in the normal boot process, it surely will not change anything, but as you have tried the over ones (CWM I mean), and that have not screwed your booting process, you may try to flash one of the non working ones again (but known for sure to not harm the boot process) to see if it work again.
Have you used the same FDL set as when you flashed the system partition and the over CWM ?
It's a good thing you have the full backup on your hand. Because you may surely be able to recover from that. I just have to make a tutorial about flashing the backup with ResearchDownload and explaining what file goes where from the backup.
Click to expand...
Click to collapse
Thanks would be really helpful, and yes I used the same FDL.
janzlev said:
Thanks would be really helpful, and yes I used the same FDL.
Click to expand...
Click to collapse
I made another CWM recovery for your phone, please try it: http://www.mediafire.com/download.php?lg7m6v49efzpnjk
Apparently was an error of ResearchDownload (It seems was flashing recovery.img into boot.), so I tried with another copy of ResearchDownload and FDL files and now works like a charm.
Thank you very much!
janzlev said:
Apparently was an error of ResearchDownload (It seems was flashing recovery.img into boot.), so I tried with another copy of ResearchDownload and FDL files and now works like a charm.
Thank you very much!
Click to expand...
Click to collapse
Can you tell me what version of ResearchDownload have this bug. It's a pretty scary one. I have to be sure I don't have it on my computer ...
By the way what CWM image is working ? The first or the second one ? (the two should work but I want to be sure before adding it to the main tutorial)
Thank you very much ! That's one more phone to the list of easily rootable Spreadtrums thanks to you !
Edit: And what FDLs you use precisely so I can rename the folder to reflect the use of this set for this phone (Is this the ones on the .pac firmware you've uploaded on the over topic ?)
RESEARCHDOWNLOAD R2.9.6010, with the R2.9.7002 everything's fine. Respect to the CWM images, after the error I tried with the second one, so maybe the first one also works, the FDLs that I used was extracted from the .pac dropbox.com/s/69yl8hn9361qpy5/FDLs-S6500-TV.tar
That's it, if I can help more, let me know.
janzlev said:
RESEARCHDOWNLOAD R2.9.6010, with the R2.9.7002 everything's fine. Respect to the CWM images, after the error I tried with the second one, so maybe the first one also works, the FDLs that I used was extracted from the .pac dropbox.com/s/69yl8hn9361qpy5/FDLs-S6500-TV.tar
That's it, if I can help more, let me know.
Click to expand...
Click to collapse
I think I have every informations I need ^^
I have added the recovery for S6500-TV to the main tutorial and will add in a short while the fdls to the FDL pack file.
Thanks again !
Backup
attached is my boot.img
to follow: entire backup

[ROOTING] D5322 Lollipop 5.0.2 (19.3.A.0.470) [UBL]

Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Are you able to boot into recovery after flashing lollipop?
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
Click to expand...
Click to collapse
Hai.. Can you upload your extracted boot.img n give us link....
Thanks
zpr06 said:
Hai.. Can you upload your extracted boot.img n give us link....
Thanks
Click to expand...
Click to collapse
here is only the boot.img https://mega.co.nz/#!2RFBFZoR!rVrdvLSnkdfe6VS3JLUDFRLmFRtHp7hmYs2jL7hT-PY
and
https://drive.google.com/file/d/0By76vyoKsLsUQ1poSTBINWRNbWc/view?usp=sharing
What if I blink 4.4.2 kernel, use the dualrecovery by nut, do the flashes and replace only the 5.0.2 kernel rom.470, can be silly that idea, will be running? I saw that the kernel of this lollipop. 470 is 3.4.0+ as in 4.4.3,Will be running? I'm thinking of trying,Sorry for the bad English,I am using translator..
Andrey Piekas said:
here is only the boot.img https://mega.co.nz/#!2RFBFZoR!rVrdvLSnkdfe6VS3JLUDFRLmFRtHp7hmYs2jL7hT-PY
and
https://drive.google.com/file/d/0By76vyoKsLsUQ1poSTBINWRNbWc/view?usp=sharing
Click to expand...
Click to collapse
Thank you Sir! :good:
I rooted my phone following this method. Titanium Backup worked fine, but Root Explorer can't change from R/O to R/W. I think it's not rooted 100%.
rooted with this method
but can anyone give me recovery zip so i can install it.and im not able to install busybox tried so many times please help.thanks for the post...
I had the same problem, including another rom I used method like the adb, root installs, but it is not complete ... off topic, I found this rom sucks, hangs straight
thacvu said:
I rooted my phone following this method. Titanium Backup worked fine, but Root Explorer can't change from R/O to R/W. I think it's not rooted 100%.
Click to expand...
Click to collapse
vishvanjay said:
but can anyone give me recovery zip so i can install it.and im not able to install busybox tried so many times please help.thanks for the post...
Click to expand...
Click to collapse
jacitdm said:
I had the same problem, including another rom I used method like the adb, root installs, but it is not complete ... off topic, I found this rom sucks, hangs straight
Click to expand...
Click to collapse
Thread updated, I got same problem.
If you want to edit contents of /system, install boot.img from cm-12-20150226, you still can boot to homescreen and getting full root access. But some drivers not work, so you cant change brightness, using camera, etc.
When u have finish, just flash stock kernel then every thing well work.
I'm downloading this 12 cm and I do hope it works, so do root to uninstall apps that do not use and other little things, Ro / rw is so precise WHAT ... thanks for as friend... ........ .Edit.......Then I flash this kernel, flash recovery and everything, I turn on the device, delete the apps I need to delete WHAT must install and reflash standard kernel ?? That's it?Then, after flash standard kernel I lose the option to change permissions or continue? Think back as it was right? thank you
triwira said:
Thread updated, I got same problem.
If you want to edit contents of /system, install boot.img from cm-12-20150226, you still can boot to homescreen and getting full root access. But some drivers not work, so you cant change brightness, using camera, etc.
When u have finish, just flash stock kernel then every thing well work.
Click to expand...
Click to collapse
Unsuccessfully, my d5322 not care with this kernel ...
Finally I get full root. My steps are:
1. Backup data, prepare following files:
a. Flashtool from http://www.flashtool.net/downloads.php
b. "PRFCreator v0.8.zip" from http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
c. Dual recovery "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip" from http://nut.xperia-files.com/
d. "BETA-SuperSU-v2.49.zip" from https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
e. CM11 boot image file "boot.img" from http://forum.xda-developers.com/showpost.php?p=60356750&postcount=4
f. OS 4.4.3 pre-rooted "T2 Ultra D5322.zip" from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677
g. OS 5.0 ftf file "D5322_19.3.A.470_Customized IN PIEKAS.ftf" from http://forum.xda-developers.com/t2-ultra/development/5-0-2-ftf-19-3-470-d5322-t3091608
2. Use PRFCreator make flashable.zip file from OS5.0 ftf file + BETA-SuperSU-v2.49.zip + T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip like step 3 of this thread http://forum.xda-developers.com/t2-ultra/general/noobroot-lollipop-d5322-lb-ub-t3095090
3. Copy flashable.zip, T2 Ultra D5322.zip, T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip into phone
4. Flash CM11 boot.img in fastboot mode. Command: fastboot flash boot boot.img. While finish, reboot phone to recovery
5. FULL WIPE, Flash "T2 Ultra D5322.zip" and "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip". Reboot phone normally, have rooted OS4.4.3. Can setup something and check root
6. Reboot to recovery again, flash OS5 flashable.zip file. NO WIPE
7. That's all. No issue. R/W works fine
thacvu said:
Finally I get full root. My steps are:
1. Backup data, prepare following files:
a. Flashtool from http://www.flashtool.net/downloads.php
b. "PRFCreator v0.8.zip" from http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
c. Dual recovery "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip" from http://nut.xperia-files.com/
d. "BETA-SuperSU-v2.49.zip" from https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
e. CM11 boot image file "boot.img" from http://forum.xda-developers.com/showpost.php?p=60356750&postcount=4
f. OS 4.4.3 pre-rooted "T2 Ultra D5322.zip" from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677
g. OS 5.0 ftf file "D5322_19.3.A.470_Customized IN PIEKAS.ftf" from http://forum.xda-developers.com/t2-ultra/development/5-0-2-ftf-19-3-470-d5322-t3091608
2. Use PRFCreator make flashable.zip file from OS5.0 ftf file + BETA-SuperSU-v2.49.zip + T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip like step 3 of this thread http://forum.xda-developers.com/t2-ultra/general/noobroot-lollipop-d5322-lb-ub-t3095090
3. Copy flashable.zip, T2 Ultra D5322.zip, T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip into phone
4. Flash CM11 boot.img in fastboot mode. Command: fastboot flash boot boot.img. While finish, reboot phone to recovery
5. FULL WIPE, Flash "T2 Ultra D5322.zip" and "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip". Reboot phone normally, have rooted OS4.4.3. Can setup something and check root
6. Reboot to recovery again, flash OS5 flashable.zip file. NO WIPE
7. That's all. No issue. R/W works fine
Click to expand...
Click to collapse
is all your root app's working fine till now?
no bootloop & other issues?
not root dear.
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Click to expand...
Click to collapse
not working brother
help me to rrot my d5322
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Click to expand...
Click to collapse
is this method work on 19.3.A.0.472

Cyanogen 12 (Lollipop) to Cyanogen 11 (Kitkat)

IT IS POSSSSIIIIIBBBBLLLLLE!​
I am rewriting this tutorial from RDS www.yuplaygod.com member's post
This is only meant for users who had rooted their device, in lollipop, have cwm or twrp recovery installed. IF not rooted find guides for it. (Hint: Google it)
I suggest to not use fastboot for flashing roms... It may brick you device (I meant hard brick)
So here is what we are going to do!
STEPS (VERY SIMPLE)
1) Download Back_to_cm11-signed by Abhiram.zip https://drive.google.com/file/d/0B4etFrzyEA01UklKR3N5T2JYeGc/view?usp=sharing
2)Download recovery-yu.img https://drive.google.com/file/d/0B4etFrzyEA01d2VGRXNuY2I1MGs/view?usp=sharing
3)Copy Back_to_cm11-signed by Abhiram.zip to SDCARD
4)Open recovery and flash it
5)Open fastboot mode.
6)Connect to your computer and flash recovery-yu.img
7)Open recovery by pressing "vol+"+"vol-"+"pwr"
8)Flash stock rom zip. Go to this guide to get it http://forum.xda-developers.com/yureka/orig-development/rom-t3042384
9) Rock with it!.
********FOR THOSE WHO ARE NOT GOOD WITH FASTBOOT**********
So yureka is something different. So you have to specify the device id for the fastboot to find it.
Install adb-setup.1****.exe https://drive.google.com/file/d/0B4etFrzyEA01SE9NTVNRWTl4Y0E/view?usp=sharing
Open CMD
Type fastboot -i 0x1ebf devices
If any device is detected you r good to go
Close CMD
Open the place where you have downloaded recovery-yu.img
By pressing shift, right click the folder (in which you have downloaded recovery-yu.img) click open command window here
and type fastboot -i 0x1ebf boot recovery-yu.img
That's it
Have you tried that and didn't face any hardbricks?
Yes
I risked my own device to prove that. Go ahead 10000% sure that this will work. Because my device did not brick at all
Please hit tanks if you got it working! It is working..
Abhiram Shibu said:
I risked my own device to prove that. Go ahead 10000% sure that this will work. Because my device did not brick at all
Please hit tanks if you got it working! It is working..
Click to expand...
Click to collapse
tank you
The OP suggest not to use fastboot mode as it may hard brick device & the steps tht follow are based on fastboot option... I'm confused, Is it safe to use fastboot mode thn?
ujilraj their is nothing to be confused. You can use fastboot mode. But if you flash system.img and data.img via fastboot, which has different partition styles, then you will end up with hard bricked phone... That's why!
Flashing recovery is very safe! GO for it!
I have tested it
For further clarification i'm asking this, pardon me...
First i boot into CM12 recovery & flash Back_to_cm11-signed by Abhiram.zip
Then,
Enter fastboot mode & install recovery-yu.img tht belongs to CM11.
Then,
I boot into CM11 recovery & flash any CM11 rom... Rite???
A bit confuse
Abhiram Shibu said:
I suggest to not use fastboot for flashing roms... It may brick you device (I meant hard brick)
That's it
Click to expand...
Click to collapse
I am a bit confuse here. Could you explain to me what is the different between:
Code:
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/sbl1.mbn", "/dev/block/bootdevice/by-name/sbl1");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/aboot");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
AND
Code:
fastboot -i 0x1ebf flash tz tz.mbn
fastboot -i 0x1ebf flash hyp hyp.mbn
fastboot -i 0x1ebf flash sbl1 sbl1.mbn
fastboot -i 0x1ebf flash rpm rpm.mbn
fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn
fastboot -i 0x1ebf flash modem NON-HLOS.bin
ujilraj said:
For further clarification i'm asking this, pardon me...
First i boot into CM12 recovery & flash Back_to_cm11-signed by Abhiram.zip
Then,
Enter fastboot mode & install recovery-yu.img tht belongs to CM11.
Then,
I boot into CM11 recovery & flash any CM11 rom... Rite???
Click to expand...
Click to collapse
Ujilraj That is absolutely correct ! You got it man.:good:
tirta.agung said:
I am a bit confuse here. Could you explain to me what is the different between:
Code:
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/sbl1.mbn", "/dev/block/bootdevice/by-name/sbl1");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/aboot");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
AND
Code:
fastboot -i 0x1ebf flash tz tz.mbn
fastboot -i 0x1ebf flash hyp hyp.mbn
fastboot -i 0x1ebf flash sbl1 sbl1.mbn
fastboot -i 0x1ebf flash rpm rpm.mbn
fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn
fastboot -i 0x1ebf flash modem NON-HLOS.bin
Click to expand...
Click to collapse
That is good question, I appreciate that.​
So.... I got to say is that. When you use "fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn " This will format the desired partition and put files there. If the partition table is modified then more likely it would not flash but erase the whole partion. That will lead to a hard bricked phone. The procedure you told will work.
But zip just copies these files to that location..... Sounds great, i think.
IN my opinion ONLY FASTBOOT CAN CAUSE HARD BRICK which is the greatest issue faced by yureka users.
If you managed to flash a 32bit rom in recovery without flashing the zip I have given you, the chances are you end up into a boot loop or Soft Brick. But do the same with fastboot you will end up with Hard bricked phone!
Zip method is always safe. I mean the safest!
Flashing recovery via fast boot don't cause anu Hard Bricks. I tried in my phone, i ended up with Soft Brick.... I repaired it by using unsafe method flashed ROM via fast boot. Luckily there was no partition mismatch. I could have flashed recovery and flashed my zip file!
So my advise please don't use fastboot. It is too dangerous for your phone ( As most of them can't even contact the customer care ) I don't want you to end up like this....
Note: Most of them flash system.img and data.img first .... don't do that... If you r so sure flash the files you mentioned first. As they contain boot loader(Priorety), Modem, Partiton Style, Touch Drivers.......
Good Luck! :good:
I hope this information helped you
Please hit thanks if I helped you in any manner!
Abhiram Shibu said:
That is good question, I appreciate that.​
So.... I got to say is that. When you use "fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn " This will format the desired partition and put files there. If the partition table is modified then more likely it would not flash but erase the whole partion. That will lead to a hard bricked phone. The procedure you told will work.
But zip just copies these files to that location..... Sounds great, i think.
IN my opinion ONLY FASTBOOT CAN CAUSE HARD BRICK which is the greatest issue faced by yureka users.
If you managed to flash a 32bit rom in recovery without flashing the zip I have given you, the chances are you end up into a boot loop or Soft Brick. But do the same with fastboot you will end up with Hard bricked phone!
Zip method is always safe. I mean the safest!
Flashing recovery via fast boot don't cause anu Hard Bricks. I tried in my phone, i ended up with Soft Brick.... I repaired it by using unsafe method flashed ROM via fast boot. Luckily there was no partition mismatch. I could have flashed recovery and flashed my zip file!
So my advise please don't use fastboot. It is too dangerous for your phone ( As most of them can't even contact the customer care ) I don't want you to end up like this....
Note: Most of them flash system.img and data.img first .... don't do that... If you r so sure flash the files you mentioned first. As they contain boot loader(Priorety), Modem, Partiton Style, Touch Drivers.......
Good Luck! :good:
I hope this information helped you
Please hit thanks if I helped you in any manner!
Click to expand...
Click to collapse
Rather than flashing your zip via recovery, can I not use fastboot to flash the following in the order mentioned:
modem, sbl1, aboot, rpm, tz, hyp, recovery. The files that would be used are a part of cm11 fastboot package. After flashing all of these, boot to recovery and then flash the cm11 zip. I'll be essentially doing the same like you did. But I'll be using fastboot to flash firmware specific stuff. I strongly believe that these would not cause the infamous brick.
Thanks,
Sanjay
Abhiram Shibu said:
That is good question, I appreciate that.​
So.... I got to say is that. When you use "fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn " This will format the desired partition and put files there. If the partition table is modified then more likely it would not flash but erase the whole partion. That will lead to a hard bricked phone. The procedure you told will work.
But zip just copies these files to that location..... Sounds great, i think.
IN my opinion ONLY FASTBOOT CAN CAUSE HARD BRICK which is the greatest issue faced by yureka users.
If you managed to flash a 32bit rom in recovery without flashing the zip I have given you, the chances are you end up into a boot loop or Soft Brick. But do the same with fastboot you will end up with Hard bricked phone!
Zip method is always safe. I mean the safest!
Flashing recovery via fast boot don't cause anu Hard Bricks. I tried in my phone, i ended up with Soft Brick.... I repaired it by using unsafe method flashed ROM via fast boot. Luckily there was no partition mismatch. I could have flashed recovery and flashed my zip file!
So my advise please don't use fastboot. It is too dangerous for your phone ( As most of them can't even contact the customer care ) I don't want you to end up like this....
Note: Most of them flash system.img and data.img first .... don't do that... If you r so sure flash the files you mentioned first. As they contain boot loader(Priorety), Modem, Partiton Style, Touch Drivers.......
Good Luck! :good:
I hope this information helped you
Please hit thanks if I helped you in any manner!
Click to expand...
Click to collapse
2 questions :-
1. ) As you said that do not use the fastboot method to flash kitkat rom. My question is, Can i use fastboot method to flash the lollipop 64bit zip file (that is basically the same OTA update file), using same method which was used to flash kitkat (by extracting the zip file contents to a common folder containing flash-all.bat, if u remmeber?). Basically i want to know a method to re-flash lollipop 64 bit , if any1 knows?
2.) Once i suceed to get kitkat rom back , from the lollipop 64 bit. Can i use FASTBOOT method in FUTURE flashes to flash kitkat based custom roms or should i permanently DISCONTINUE flashing through fastboot, even after getting kitkat rom back by your method?
thanks in advance .... :good:
---------- Post added at 12:51 AM ---------- Previous post was at 12:41 AM ----------
Also i want to know. is there something like 32bit and 64 bit recovery. I hv heard that flashing incoatiable recovery can also lead to hard brick.
which recovery to flash when.??
could be great if any1 has positive information and can guide....
coolboyforeva said:
2 questions :-
1. ) As you said that do not use the fastboot method to flash kitkat rom. My question is, Can i use fastboot method to flash the lollipop 64bit zip file (that is basically the same OTA update file), using same method which was used to flash kitkat (by extracting the zip file contents to a common folder containing flash-all.bat, if u remmeber?). Basically i want to know a method to re-flash lollipop 64 bit , if any1 knows?
2.) Once i suceed to get kitkat rom back , from the lollipop 64 bit. Can i use FASTBOOT method in FUTURE flashes to flash kitkat based custom roms or should i permanently DISCONTINUE flashing through fastboot, even after getting kitkat rom back by your method?
thanks in advance .... :good:
---------- Post added at 12:51 AM ---------- Previous post was at 12:41 AM ----------
Also i want to know. is there something like 32bit and 64 bit recovery. I hv heard that flashing incoatiable recovery can also lead to hard brick.
which recovery to flash when.??
could be great if any1 has positive information and can guide....
Click to expand...
Click to collapse
There is nothing to be confused. there are 32 bit and 64 bit recoveries. Flashing wrong recovery will only softbrick your phone. I did it ones accidentally
32bit recovery https://drive.google.com/open?id=0B4etFrzyEA01d2VGRXNuY2I1MGs&authuser=0
64bit recovery https://drive.google.com/open?id=0B4etFrzyEA01NnZBWHcxWlVHTW8&authuser=0
If you want to flash lollipop then download lollipop flash-able zip file click here for zip file
There are some good working fastboot upgrade packages. So if you have one of them ( Tried it yourself to upgrade and worked earlier) Then use that package it will work!. Flashing with zip file with recovery reduces risk!:good:
Abhiram Shibu said:
There is nothing to be confused. there are 32 bit and 64 bit recoveries. Flashing wrong recovery will only softbrick your phone. I did it ones accidentally
32bit recovery https://drive.google.com/open?id=0B4etFrzyEA01d2VGRXNuY2I1MGs&authuser=0
64bit recovery https://drive.google.com/open?id=0B4etFrzyEA01NnZBWHcxWlVHTW8&authuser=0
If you want to flash lollipop then download lollipop flash-able zip file click here for zip file
There are some good working fastboot upgrade packages. So if you have one of them ( Tried it yourself to upgrade and worked earlier) Then use that package it will work!. Flashing with zip file with recovery reduces risk!:good:
Click to expand...
Click to collapse
ok . m not gonna use fastboot. But how will i flash signed lollipop zip file on custom recovery and unlocked bootloader. it wont boot. I would need an unsigned lollipop 64 bit zip file or rather a locked bootloader + stock 64 bit recovery . Any link for stock 64 bit recovery ? is above link for stock or custom recovery?
coolboyforeva said:
ok . m not gonna use fastboot. But how will i flash signed lollipop zip file on custom recovery and unlocked bootloader. it wont boot. I would need an unsigned lollipop 64 bit zip file or rather a locked bootloader + stock 64 bit recovery . Any link for stock 64 bit recovery ? is above link for stock or custom recovery?
Click to expand...
Click to collapse
Yes it will boot.
Link above is for custom CWM recovery.
Warning ******** Boring Story Ahead*********
So i purchased my yureka from Amazon. When i got it, I unlocked boot loader, installed cwm recovery right away. When the lollipop upgrade showed up I tried to download it via system upgrade. It downloaded but wont flash because of a custom recovery. So... I downloaded a signed zip file from xda attachment which i gave you. I cleared cache and tried installing the zip file.... It actually works.
Why it worked?
Stock rom looks for signed zips and it should be signed my their developer. But custom recoveries installs any zip file which is flashable regardless they are signed or unsigned. The only thing it looks for is the scripts and device compactability.
So try flashing the lollipop signed zip file. It will surely work...
So... What will the zip file do?
It will wipe system, modem, recovery etc exept data. Resize them and copy files in.
So ... What will you end up with.
Obviously,
A locked bootloader ( Which when unlocked wipes data)
A stock old cyanogen recovery.
Non rooted CM12.....
So this means that if you want to be a power user you have to start form beginning. So... consider taking a nandroid backup before you upgrade.....
STEPS TO BACKUP DATA ON CYANOGEN 11
So... Abhiram I cant find my backup on sdcard
answer to this question is very simple. You know that your sdcard and app memory are same. So they created a new folder 0 and mounted as your sdcard.
So... How do you get that out....
There are 2 methords
Common step boot into recovery and connect your mobile to your computer. Make sure that ADB drivers are installed
Methord 1
Type
"adb shell
cp -r /sdcard/clockworkmod/ /sdcard/0/android/
adb reboot"
So after the phone rebooted. Open file manage ( anyone ) Browse into android folder in your sdcard, you will find your backup there. If you cant find your whole backup , the chances are you r running out of memory.
Methord 2
type
"adb pull /sdcard/clockworkmod/ %UserProfile%/documents/backup_from_nandroid/ "
Your backup can be found in c:/users/<your user name here>/documents/backup_from_nandroid/
So that is it....
So when you unlock boot loader you can copy this backup into your phone by....
1) Copy backup to adb folder
2) Type adb push <Directory name> /sdcard/clockworkmod/
Then do a advanced restore. Select data and restore
done!
Abhiram Shibu said:
Yes it will boot.
Link above is for custom CWM recovery.
Warning ******** Boring Story Ahead*********
So i purchased my yureka from Amazon. When i got it, I unlocked boot loader, installed cwm recovery right away. When the lollipop upgrade showed up I tried to download it via system upgrade. It downloaded but wont flash because of a custom recovery. So... I downloaded a signed zip file from xda attachment which i gave you. I cleared cache and tried installing the zip file.... It actually works.
Why it worked?
Stock rom looks for signed zips and it should be signed my their developer. But custom recoveries installs any zip file which is flashable regardless they are signed or unsigned. The only thing it looks for is the scripts and device compactability.
So try flashing the lollipop signed zip file. It will surely work...
So... What will the zip file do?
It will wipe system, modem, recovery etc exept data. Resize them and copy files in.
So ... What will you end up with.
Obviously,
A locked bootloader ( Which when unlocked wipes data)
A stock old cyanogen recovery.
Non rooted CM12.....
So this means that if you want to be a power user you have to start form beginning. So... consider taking a nandroid backup before you upgrade.....
STEPS TO BACKUP DATA ON CYANOGEN 11
So... Abhiram I cant find my backup on sdcard
answer to this question is very simple. You know that your sdcard and app memory are same. So they created a new folder 0 and mounted as your sdcard.
So... How do you get that out....
There are 2 methords
Common step boot into recovery and connect your mobile to your computer. Make sure that ADB drivers are installed
Methord 1
Type
"adb shell
cp -r /sdcard/cyanogenmod/ /sdcard/0/android/
adb reboot"
So after the phone rebooted. Open file manage ( anyone ) Browse into android folder in your sdcard, you will find your backup there. If you cant find your whole backup , the chances are you r running out of memory.
Methord 2
type
"adb pull /sdcard/clockworkmod/ %UserProfile%/documents/backup_from_nandroid/ "
Your backup can be found in c:/users/<your user name here>/documents/backup_from_nandroid/
So that is it....
So when you unlock boot loader you can copy this backup into your phone by....
1) Copy backup to adb folder
2) Type adb push <Directory name> /sdcard/clockworkmod/
Then do a advanced restore. Select data and restore
done!
Click to expand...
Click to collapse
Ok.. I want to revert back to kitkat. i wont be using fastboot to flash rom(only to flash recovery image). Is there anything else which i should avoid and keep in mind in order to prevent hard brick?? please suggest
coolboyforeva said:
Ok.. I want to revert back to kitkat. i wont be using fastboot to flash rom(only to flash recovery image). Is there anything else which i should avoid and keep in mind in order to prevent hard brick?? please suggest
Click to expand...
Click to collapse
Tips to avoid hardbrick.
Don't flash ROM via fastboot
Don't Format partition using fast boot
You can flash boot and recovery via fastboot.
You can do anything in recovery.
Advice backup ROM before you install kernel, or any zip files. That will help you if you soft brick your phone.
Hit thanks if I help you in anyway till now.
On reading the OP's comments another doubt occurred, Do i need to unlock bootloader all the time when switching between KK & LP? (Will the internal SD memory gets wiped all the time... Do i need to backup every data on the internal SD memory onto PC before switching from KK to LP & vice-versa?)
Yes, but in case of upgrading and unlocking boot loader
Nice Question
When you downgrade from CM12 to CM11 your data will be safe. Unlocking boot loader will not do anything with your data:angel:
But When you are upgrading from CM11 to CM12 your data will be also safe, but the problem occurs when you try to unlock boot loader It will wipe all of your data.:crying:
When we unlock boot loader in kitkat CM11 by using command fastboot -i 0x1ebf oem unlock
It doesn't ask for any confirmations.
But in case of CM12 when you unlock boot loader by using the same command, before wiping data, it asks for confirmation. ie It tells to push vol+ to confirm or push vol - to stop.
If you see like this. Fastboot is going to erase your sdcard.
Its a good practice to backup your data when you r playing with your phones firmware, It will help you get back your memorable moments, favorite music etc.
If you have an otg cable. Keep a pendrive for backup
So concluding in unlocking CM11 no data loss unlocking in CM12 there is data loss.
Good luck:good:​
One more doubt, suppose i'm on KK & want to upgrade to some custom CM12.x rom, do i need to go through the process of installing stock cm12 all the time, or do u suggest any other simple way to directly do the same?

rooting ( after unlocking bootloader)

So after you unlocked the boot loader ( see my previous post)
you can start rooting with magisk manager / patching the boot.img from the original firmware
I used this thread in order to get root ; i modified the contents so it would fit the moto phone a bit better:, but thnx goes to Ibolito over at the pixel 3 forums
1 ) Download the latest Android factory image for your device ("see this guide on where to find it.
2 ) Extract the "boot.img" file from the downloaded image and copy it to your phone.
Warning! Make absolutely sure the firmware is exactly the same as the installed one. If not, you might loose touch.
Be aware that LMSA will download the latest firmware, even if it is not yet installed. That might break your touchscreen
Click to expand...
Click to collapse
3 ) Download latest Magisk Manager application on your phone and install it :
Link
4 )Press on the Install Magisk button (the one on the top, not the Magisk Manager), then Install > Select and Patch a File and now select the Boot.img file you extracted earlier. When the process is done, just put the patched boot.img file on your computer in the same folder as your ADB and FASTBOOT tools, the file's name is magisk_patched.img
edit: i received a comment that the name might be something like Magisk_patched_somerandomletters_.img since the latest magisk update
5 ) Enable adb debugging on your phone and connect it to your computer via USB.
Open a command prompt on your computer and migrate to the folder where the ADB and Fastboot tools are located.
(for exemple, for me it's : cd C:\adb).
7 ) Reboot your phone to fastboot by typing adb reboot bootloader
8 ) Flash the Boot.img you just patched with magisk by typing fastboot flash boot magisk_patched.img
extra: You could test a single boot with that image by typing "fastboot boot magisk_patched.img"
if it boots fine you should have root for this single boot / magisk would show as installed.
9 ) When it's done, reboot by typing fastboot reboot
10 ) Open your Magisk Manager app and check if everything is good, and it should be
extra info:
I did worry a bit because the original boot.img is 64 megs , while the patched version is only 12
but i went with it, and it was fine.
good luck to you all
Edit: rewritten entire post so it would look more like a guide, and extra warning because a lot of people seem to loose touch if they don't have the exact same firmware downloaded as on their phone.
Thanks for posting this. I unlocked my bootloader and would like to root like you did.
Do you install magisk first on your phone, then get the magisk_patched file from your phone? Or is the magisk_patched file obtained somewhere else?
testtubebaby said:
Thanks for posting this. I unlocked my bootloader and would like to root like you did.
Do you install magisk first on your phone, then get the magisk_patched file from your phone? Or is the magisk_patched file obtained somewhere else?
Click to expand...
Click to collapse
You need to install the magisk manager
In magisk manager you can click on "install (magisk)"--> "by patching a file"
then you select the file to be patched ( extracted from the original rom )
after that you can copy the patched file from your phone back to the pc and install it via fastboot.
After that magisk is installed
i hope you succeed
pjottrr said:
You need to install the magisk manager
In magisk manager you can click on "install (magisk)"--> "by patching a file"
then you select the file to be patched ( extracted from the original rom )
after that you can copy the patched file from your phone back to the pc and install it via fastboot.
After that magisk is installed
i hope you succeed
Click to expand...
Click to collapse
The firmware I see is the EU firmware. I don't see the GB firmware in the link you posted (it's RETGB). Any idea where I can find the correct firmware?
Sorry, no idea, i found the provided link via google,
testtubebaby said:
The firmware I see is the EU firmware. I don't see the GB firmware in the link you posted (it's RETGB). Any idea where I can find the correct firmware?
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmware/moto/sofiar/official/
zuggi_m said:
https://mirrors.lolinet.com/firmware/moto/sofiar/official/
Click to expand...
Click to collapse
@zuggi_m , how does posting the same url help?
i don't see a retgb here ....
Maybe someone with more dev experience can tell if you need the exact same firmware or if the version numbers are the same it is ok to use that file ?
No fastbootd?
One Hyper needs fastbootd in order to flash boot and root
mingkee said:
No fastbootd?
One Hyper needs fastbootd in order to flash boot and root
Click to expand...
Click to collapse
i don't really understand the question i guess,
a magisk patched boot is flashed via fastboot. after that you have magisk installed and root access.
pjottrr said:
i don't really understand the question i guess,
a magisk patched boot is flashed via fastboot. after that you have magisk installed and root access.
Click to expand...
Click to collapse
Yours should be G8 Power (9)
Native Android 10 uses fastbootd to flash boot, dtbo, and recovery
mingkee said:
Yours should be G8 Power (9)
Native Android 10 uses fastbootd to flash boot, dtbo, and recovery
Click to expand...
Click to collapse
maybe i'm missing your point here, my description is just so people who have to figure it out can just use my steps to get root, it is indeed based on fastboot flashing . so i'm not sure what you are trying to say, or am i misinterpreting something?
https://forum.xda-developers.com/motorola-one-hyper/development/rom-omnirom-t4044405
I did root on One Hyper (shipped with Android 10) using fastbootd method
Used old method soft brick my One Hyper
That's why I'd like to know
pjottrr said:
so after you unlocked the boot loader ( see my previous post)
you can start rooting with magisk manager / patching the boot.img from the original firmware
I used this thread in order to get root
you need to download the firmware for our device,
That can be found here;
https://mirrors.lolinet.com/firmware/moto/sofiar/official/RETEU/
after that, extract, patch, fastboot install patched version, done.
I did have some issues with the current magisk manager ( from highonandroid, i did find another source, installed version 7.5.1 of the magisk manager from this source
and that one was able to patch the boot.img
I did worry a bit because the original boot.img is 64 megs , while the patched version is only 12
but i went with it, and it was fine.
good luck to you all
Click to expand...
Click to collapse
There's a head up
US version: Sofia
The rest: Sofiar
I will buy US G Power in May and let's the fun begin
Check out One Hyper general to install Dolby Atmos and it can be toggle on/off.
Has anyone tried copying something to the root of the phone or making build.prop edits? I have the Stylus and have achieved root using the same method, however there is something not quite right with the permissions. I cannot make changes to any root files.
CCivale said:
Has anyone tried copying something to the root of the phone or making build.prop edits? I have the Stylus and have achieved root using the same method, however there is something not quite right with the permissions. I cannot make changes to any root files.
Click to expand...
Click to collapse
So you should know G Stylus ROM is Sofiap.
Be aware the way Android 10 flashing is different.
Download and install the latest ADB in order to access fastbootd (fastboot reboot fastboot) and flash boot, recovery, dtbo, vbmeta, and super
Hmmmm, I will have to read more about fastbootd in your other thread.
I did use the boot.img for the sofiap.
Hello,
I followed all the instructions in the first post and was able unlock the bootloader, install magisk, and use it to make the magisk_patched.img file from a boot.img file.
The only variation, was that I got my boot.img file from mirrors.lolinet.com/firmware/moto/sofia/official/RETUS/XT2041-4_SOFIA_RETUS_10_QPM30.80-13-2_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip since my phone is a US retail model.
After flashing, the phone boots up properly but the touchscreen does not work.
The side buttons do work and I was able to reboot into recovery. In recovery, the build on the phone is indicated as QPM30.80-51. The build in the above indicated file is QPM30.80-13-2. Could this be the source of the problem?
I have tried flashing the original boot.img (from the file above) back and the touchscreen still does not work. I have also tried “wipe data/factory reset” in recovery.
hazd said:
Hello,
I followed all the instructions in the first post and was able unlock the bootloader, install magisk, and use it to make the magisk_patched.img file from a boot.img file.
The only variation, was that I got my boot.img file from mirrors.lolinet.com/firmware/moto/sofia/official/RETUS/XT2041-4_SOFIA_RETUS_10_QPM30.80-13-2_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip since my phone is a US retail model.
After flashing, the phone boots up properly but the touchscreen does not work.
The side buttons do work and I was able to reboot into recovery. In recovery, the build on the phone is indicated as QPM30.80-51. The build in the above indicated file is QPM30.80-13-2. Could this be the source of the problem?
I have tried flashing the original boot.img (from the file above) back and the touchscreen still does not work. I have also tried “wipe data/factory reset” in recovery.
Click to expand...
Click to collapse
maybe try with the "correct" firmware? ( not sure if the minor diference changes anything, but you could try....
i found it here:
https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
pjottrr said:
maybe try with the "correct" firmware? ( not sure if the minor diference changes anything, but you could try....
i found it here:
rsdsecure-cloud.motorola.com/download/SOFIA_RETAIL_QPM30.80-51_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Click to expand...
Click to collapse
Thanks for finding this link.
Unfortunately i am not able to download this for some reason. I get an access denied error message.
edit:
I was able to find the most recent firmware here:
github.com/AndroidDumps/motorola_sofia_dump/tree/sofia_retail-user-10-QPM30.80-51-bd0b4-release-keys
I downloaded just the boot.img file and flashed it. That fixed the touchscreen issue. I then used magisk to batch the boot.img and I now have root.
Just to be clear, this worked on a US retail moto g power purchased unlocked from best buy. The phone model number is XT2041-4.
Hope this helps.
hazd said:
Thanks for finding this link.
Unfortunately i am not able to download this for some reason. I get an access denied error message.
edit:
I was able to find the most recent firmware here:
github.com/AndroidDumps/motorola_sofia_dump/tree/sofia_retail-user-10-QPM30.80-51-bd0b4-release-keys
I downloaded just the boot.img file and flashed it. That fixed the touchscreen issue. I then used magisk to batch the boot.img and I now have root.
Just to be clear, this worked on a US retail moto g power purchased unlocked from best buy. The phone model number is XT2041-4.
Hope this helps.
Click to expand...
Click to collapse
I downloaded the kernel and waiting for the unit.
I can flash full ROM with fastboot and fastbootd, but just flashing kernel would be much faster.
Moreover, check One Hyper general to get Dolby Atmos because you can turn on and off anytime you want.

Categories

Resources