flash flash flash - Touch Dual, MDA Touch Plus ROM Development

every time I want to do a flash, do I have to install sspl and flash with harspl?

No, just install HardSPL as instructed in the thread. Then that's it, you can flash away to your heart's content!

Related

Reverting to Stock from Custom ROM

Guys , some people are reporting that they are unable to revert to stock rom after flashing custom rom.
If you want to save your phone , then i highly recommend you to make a complete backup before flshing stock rom
go to cwm recovery and select backup/restore then backup (it will make your stock rom backup)
whenever you want to revert , go again to clockworkmod recovery and select restore under, backup/restore option
now last and most important thing to run stock rom ---> flash stock kernel using fastboot method
first grab stock kernel to do that , download your phones stock firmware from here = http://forum.xda-developers.com/showthread.php?p=10885406#post10885406
using 7zip extract kernel.sin file from .ftf firmware file
connect your phone in fastboot mode and run this command
fastboot flash boot kernel.sin
I'm doing it again and again without any problem.. just be sure to flash stock kernel before flashing stock rom.
thanks, i will try this method too
first flash stock kernel , then using flashtool flash firmware , am i right ?
Stock kernel (kernel.sin) is included in the package (of official stock firmware). So everytime you flash an official stock firmware, kernel.sin is also flashed. No need to flash kernel.sin before flashing stock firmware. Correct me if im wrong.
I also think same , i tried that method by noooooob and it worked too
hello, can someone give me a link to a tutorial on how to install CWM Recovery on our x-ray? do i have to unlock bootloader first before installing CWM? thanks
lets try the Cynaogen
kizsleg said:
hello, can someone give me a link to a tutorial on how to install CWM Recovery on our x-ray? do i have to unlock bootloader first before installing CWM? thanks
Click to expand...
Click to collapse
yes you have to unlock boot-loaders first
i recommend to unlock by this method = http://androidflip.com/unlock-xperia-phones-bootloader-without-losing-drm-data-track-id-working/
if you want to install clockwork mod recovery then follow this = http://forum.xda-developers.com/showthread.php?t=1384200
Install CWM without unlocking bootloader
You don't need to unlock the boot loader to install CWM.
Follow instructions here to root First
http://forum.xda-developers.com/showthread.php?t=1320350
Install CWM using this tool
http://forum.xda-developers.com/showthread.php?t=1346190
This is how I did it on my Ray
I always considered flashing with Wotanserver to be the best way to go back to stock. It basically takes care of everything. Sure, you'll have to root again afterwards, but that's not exactly very hard.
wotan server is also a good choice
How can i revert back to stock rom from custom rom if i havent made any backups of stock rom??
elf.rb said:
How can i revert back to stock rom from custom rom if i havent made any backups of stock rom??
Click to expand...
Click to collapse
download firmware which you have before installing custom rom, then flash it using flashtool.

[Q] General questions before going from stock to custom

So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
competent devs who maintain roms for this phone would include a recovery in their package
slimrom does this and i don't have to worry about losing trwp recovery
alia5 said:
So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
Click to expand...
Click to collapse
The downgrading is no longer necessary, use the easyroot tool. Or use the dualrecovery installer for locked bootloaders then flash superuser zip from recovery. Once you have it rooted then back up TA and unlock bootloader. You should be able to flash boot.img from flashtool, if you wanted to download a rom and pull it from zip. I mention that because most roms only have one recovery, so if you flash the img from the rom you want to install first with flashtool you could make a backup that could be restored with new recovery. One other thing that I learned the hard way is a backup made before unlocking bootloader will relock it if restored.
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
alia5 said:
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
Click to expand...
Click to collapse
Here is a brand spanking new guide to check out that is up to date.
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098
I will try to put forth an example to try and demonstrate what I trying to convey in regards to flashing boot.img.
Example.... You are on a rom that contains CWM and you are going to flash a rom that contains TWRP and you wish to have a backup of first rom that could be restored you would flash the img. with TWRP then make backup. Another option would be to just go ahead and use CWM to make backup but you would need to flash that img. in order to be able to restore. I think most roms can be flashed from either recovery at the moment, the concern is your backup being compatible with whichever one is in your current rom.
So, in the boot.img is Kernel+Recovery, alright, and i only need to worry about flashing boot.img für backup reasons.
Pretty much answers what i was wondering, thanks guys

Rooting officially unlocked Redmi note 3 kenzo

in every forum ,about rooting rn3 pro i got only that i have to flash cracked boot.img or ubp zip after flashing supersu.zip.are they outdated.cant we do direct flash supersu zip directly using alka/cofface recovery or i have to use diseable verify option in recovery advanced menu.very messy please help me
Camlin3 said:
in every forum ,about rooting rn3 pro i got only that i have to flash cracked boot.img or ubp zip after flashing supersu.zip.are they outdated.cant we do direct flash supersu zip directly using alka/cofface recovery or i have to use diseable verify option in recovery advanced menu.very messy please help me
Click to expand...
Click to collapse
Simple steps:
1. Go in fastboot mode.
2. Flash official twrp.
3. Boot in recovery.
4. Flash supersu zip.
5. Reboot your phone.
And yeah, allow modification to system partition when asked in recovery. The only downside of the official recovery is that it will be replaced by the stock recovery on boot. No prob, you can flash it again. No need to flash custom cooked boot image or something.
To keep recovery forever:
In system partition, there will be a file next to build.prop, named something like recovery-boot-bak or something, delete it and then flash twrp and this time it will stay.
Archit9169 said:
Simple steps:
1. Go in fastboot mode.
2. Flash official twrp.
3. Boot in recovery.
4. Flash supersu zip.
5. Reboot your phone.
And yeah, allow modification to system partition when asked in recovery. The only downside of the official recovery is that it will be replaced by the stock recovery on boot. No prob, you can flash it again. No need to flash custom cooked boot image or something.
To keep recovery forever:
In system partition, there will be a file next to build.prop, named something like recovery-boot-bak or something, delete it and then flash twrp and this time it will stay.
Click to expand...
Click to collapse
After flashing for ex. Resurrection Remix (or any other custom rom) the device asks whether it should leave an old recovery or not. Flashing official miui zip doesn't touch the recovery at all.
So it's not necessary to delete any files (regarding my experience).
Sent from Note 3, Xiaomi Redmi Note 3.

Sony Z2 Help

Im new into rooting so i succesfully unlocked my bootloader and installed the twrp recovery via flash now i have the problem that my phone always boots into the recovery mode no matter what, i have a sonyz2 D6503 andriod 6.0.1 i follow a tutorial on youtube . now i have read a few threads that it is wrong to install twrp with fastboot flash boot C/:whaterver.img i should have done it with fastboot flash recovery C/:whatever.img . Im kinda stuck now and i have no idea what to do moreover im kinda scared to do something, because it can cause more damage that i already have.
im kinda sorry for my horrible english i hope you can understanf this trouble
If you want to proceed back to stock ROM, flash stock FTF using flashtool (download link and instructions can be found inside my signature), with KERNEL and SYSTEM checked, other leave other options intact.
If you want to flash another non-stock ROM, flash an advanced kernel via fastboot toolbox inside the flashtool I mentioned above, then you can flash the ROM using the TWRP inscribed with the advanced kernel.
If you want to proceed to stock ROM but rooted and with other MODs installed, there are two ways to do so:
Easier method:
Flash an advanced kernel then use the pre-installed TWRP to flash the SuperSU.zip or whatever MOD zips.
Complex method:
Restore stock kernel using flashtool mentioned above, then flash the TWRP (recovery) image (you can get one HERE) using a cmd on PC or Laptop with ADB and flastboot drivers installed, typein:
Code:
fastboot flash recovery <recovery>.IMG
then you can boot into the TWRP to flash whatever MODs you want.
--------------------
As always, do more research before entering into tweaking things, noobness can be fatal!

Install TWRP from the Download Mode

I get my phone bricked two times yet, so I know very well how get into the download mode, my question is from my bricked phone with the aboot.img wrong can I install the TWRP from the download mode to install a Custom ROM from There?
Thanks with your help
--
"keep trying, if you don't succeed at least you know how to not fail again from that path"
You can't flash a custom recovery / ROM from download mode.
Follow the below guide, boot into the ROM, root it, flash TWRP and then flash the custom ROM.
http://forum.xda-developers.com/g2-mini/general/guide-unbrick-bricked-wrong-aboot-img-t3128896
Vagelis1608 said:
You can't flash a custom recovery / ROM from download mode.
Follow the below guide, boot into the ROM, root it, flash TWRP and then flash the custom ROM.
http://forum.xda-developers.com/g2-mini/general/guide-unbrick-bricked-wrong-aboot-img-t3128896
Click to expand...
Click to collapse
I want to install rr nougat on 1gb system partition, but it wont even if it only takes up 728 without gapps. Is there a way to disable the free space on /system check in the zip? Im asking you because i need an answer fast and youre the most active dev.

Categories

Resources