Now that we have twrp for snapdragon we need someone who can get f.i.s.h to work or a kexec kernal to work for custom roms. If you can get f.i.s.h to work we can boot a custom boot.img system.img from slot 1. Or if we get z kexec kernal we could load custom boot.img and system.img from slot1 also.
DroidisLINUX said:
Now that we have twrp for snapdragon we need someone who can get f.i.s.h to work or a kexec kernal to work for custom roms. If you can get f.i.s.h to work we can boot a custom boot.img system.img from slot 1. Or if we get z kexec kernal we could load custom boot.img and system.img from slot1 also.
Click to expand...
Click to collapse
This would require a bootloader unlock, which is what all this stuff has been blocked on since root first appeared.
F.i.s.h works exactly like safestrap does. At this point it if wouldn't buy us anything new. Unless someone releases a bootloader unlock safestrap twrp and custom system roms that can run on the stock kernel is the best we are gonna get
F.i.s.h says it works like safestrap, but it also says you can load custom boot.img if you get it to work have you read the thread, he says if you get it to work booting from an sdcard or rom slot you could load boot.img/system.img so it should allow custom kernel . If we got it to work it would be able to boot.img and system.img without unlocked bootloader
See his post.
https://forum.xda-developers.com/an...locked-fish-hack-to-boot-want-device-t3578373
Related
My ARC is rooted, but my bootloader is locked (i dont want unlock).
How i install CMW to install others aplications/image by flash on SD card direct?
Please, i searched the official guide and did not find, if someone can show me where is the topic, I appreciate it.
There's no CWM recovery for locked bootloaders.
I asked for it when my bl was locked and the recovery devs said there won't be one for locked bootloaders as it's much more complicated than for unlocked ones.
Sent from my iPad 2 using Tapatalk
Currently, the only way to install CWM/xRecovery in a Xperia 2011 is using a custom kernel, which requires the bootloader to be unlocked. That's because the recovery needs to be included in the rootfs, which is part of the kernel. I tried to hijack the chargemon as it has been done with oher phone(like my old U20a), but couldn't get it to work. Also, there's an advantage of having it in the kernel: With hijacked chargemon, if you delete some critical files the recovery will never start. When recovery is included in the kernel, it will start even with the system partition empty.
Successfully installed twrp, now I am just curious: must any rom we flash be loki'd to work? not really an issue but wanna know my limits... we arent gonna be ablec o just flash canadian roms then, right? (until they are loki'd)
t2abousa said:
Successfully installed twrp, now I am just curious: must any rom we flash be loki'd to work? not really an issue but wanna know my limits... we arent gonna be ablec o just flash canadian roms then, right? (until they are loki'd)
Click to expand...
Click to collapse
This is going to become a huge problem if people don't start reading about what it is they are doing to their phones...
http://forum.xda-developers.com/showthread.php?t=2292157
"I've installed a Loki-patched recovery. Can I just install regular custom ROMs now?
Any ROMs that include a replacement boot.img must be modified to include a Loki-patched boot.lok file instead. Otherwise, your phone will fail to boot until you restore a Samsung-signed boot.img or a custom boot.lok image via your custom recovery, or flash a stock image via Odin.
"
scott14719 said:
This is going to become a huge problem if people don't start reading about what it is they are doing to their phones...
http://forum.xda-developers.com/showthread.php?t=2292157
"I've installed a Loki-patched recovery. Can I just install regular custom ROMs now?
Any ROMs that include a replacement boot.img must be modified to include a Loki-patched boot.lok file instead. Otherwise, your phone will fail to boot until you restore a Samsung-signed boot.img or a custom boot.lok image via your custom recovery, or flash a stock image via Odin.
"
Click to expand...
Click to collapse
As always a good answer from the king.
I've made fota twrp recovery for z3c
install through fastboot
fastboot flash recovery fotaZ3C_2.8.5.img
https://dl.dropboxusercontent.com/u/17658154/fotaZ3C_2.8.5.img
Can this be installed on rooted stock ROM/kernel?
hamsup1o said:
Can this be installed on rooted stock ROM/kernel?
Click to expand...
Click to collapse
if you have androplus kernel - yes, press power button, clean stock kernel - never tested
but ub is mandatory
ok thanks anyway...was hoping not to have to unlock bootloader.
funiewski said:
I've made fota twrp recovery for z3c
Click to expand...
Click to collapse
Great.
Were you able to compile it yourself?
If yes, could you point to source code.
I was unable to compile it before and would love to try again.
m0d said:
Great.
Were you able to compile it yourself?
If yes, could you point to source code.
I was unable to compile it before and would love to try again.
Click to expand...
Click to collapse
No compiling, here is description how to do it http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719
This one reverts my recovery to stock CM. Fota 2.8.4.0 worked though, glad I didn't delete it.
Zwulf said:
This one reverts my recovery to stock CM. Fota 2.8.4.0 worked though, glad I didn't delete it.
Click to expand...
Click to collapse
recovery is working wp on stock with androplus kernel, haven't tested with cm bcs for me cm isn't good enough for now
Zwulf said:
This one reverts my recovery to stock CM. Fota 2.8.4.0 worked though, glad I didn't delete it.
Click to expand...
Click to collapse
funiewski said:
recovery is working wp on stock with androplus kernel, haven't tested with cm bcs for me cm isn't good enough for now
Click to expand...
Click to collapse
I have the same issue. It flashes CM recovery not TWRP.
Androplus kernel has TWRP already, it is integrated, there is no need to flash TWRP over it.
The one below ( have not tested the latest, but the old one worked) flashes TWRP correctly,
kyasu said:
I have made twrp 2.8.5.0 recovery for flashing on fota partition.
This is just packing the zImage of CM12 and the ramdisk of Fota TWRP 2.8.5.0 recovery for amami <http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719>,
plus default.prop modification: 'ro.product.device' is defined as 'z3c' ('ro.build.product' is defined as 'aries').
You can directly flush CM12.
Installation:
fastboot flash recovery fota-twrp2.8.5.0-z3c.img
Download:
https://www.androidfilehost.com/?fid=95916177934529111
Previous Version:
http://forum.xda-developers.com/showpost.php?p=58530843&postcount=217
Click to expand...
Click to collapse
m0d said:
I have the same issue. It flashes CM recovery not TWRP.
Androplus kernel has TWRP already, it is integrated, there is no need to flash TWRP over it.
The one below ( have not tested the latest, but the old one worked) flashes TWRP correctly,
Click to expand...
Click to collapse
It's correct that androplus has TWRP but it's not on fota partition, androversion is 2.8.4. You can rich andros twrp by pressing vol +, fota by pressing power button. Advantage of fota is that recovery persist different kernels. For now there is no other kernel but hopefully there will be in the future
and it does not flash cm recovery, it is there in boot.img from beginning
Does it work with cm12.1?
Does this unlock the bootloader?
Does installing this unlock the bootloader?
I see that the install is taking place through fastboot mode. Does this result in the bootloader becoming unlocked?
Is there a way to install the recovery without unlocking the bootloader?
Thanks.
qaqarox said:
Does installing this unlock the bootloader?
I see that the install is taking place through fastboot mode. Does this result in the bootloader becoming unlocked?
Is there a way to install the recovery without unlocking the bootloader?
Thanks.
Click to expand...
Click to collapse
No cause it only can be installed on a partition that is free after bootloader unlock
fastboot flash recovery fota-twrp2.8.5.0-z3c.img
operation successful, but cant get to recovery either way (power button + clicking on bottom/upper part of volume button
Edit: Resolved. After flashing fota-twrp, i "batted" lockeddualrecovery, then flashed Cyanogen Recovery. For some reason fota-twrp recovery is still present. Accessable via power button + clicking on volume up.
Guys, I need a recovery I can use to make nandroid backup of my current ROM, format /system and flash any CM12.1 version without having to hack into the updater-script and remove the first line to make it flash. Also, it would be perfect if it was persistent no matter which ROM I flash.
Can this one do that? Can anyone advice please? This recovery thing on Sony devices is still a very confusing topic to me, especially coming from Samsung phones, on which you do have a default recovery and flashing a custom one won't be deleted when flashing a custom ROM.
Looking forward to your replies.
IceTi said:
Does it work with cm12.1?
Click to expand...
Click to collapse
+1 here
im on cm 12.1 nightly. and wanna make a nandroid. but have only cyanogen recovery ....
can i flash this recovery "over" my existing ?
will the nightly updater still work then ?!
+1 Here as well. For reasons I don't understand, there's no backup option in the CM 12.1 recovery. The AndroPlus kernel isn't a solution as the developer says it does NOT work with CM. Despite trying a few different recovery options, I can't seem to get anything but CM recovery which is part of CM's boot.img. The CM recovery/bootloader/kernel gets flashed with:
fastboot flash boot boot.img
While this, and most other recoveries I can find, get flashed with:
fastboot flash recovery xxxx.img
I realize the Z3C doesn't have a conventional recovery partition. And, from what I understand, it essentially has two locations for a recovery utility with one designed for OTA use. I've tried three different methods:
Flashing recoveries with: fastboot flash recovery xxxx.img but I still get only the CM recovery (as others have reported in this thread).
Installing a ZIP recovery from within the CM recovery, but I still get only the CM recovery
Installing the TWRP app, letting it download TWRP for the Z3C, and the install fails.
What many of us seem to need is a boot.img file with TWRP that works with CM. Based on my experience that's the only way to replace the CM recovery.
Has anyone found a solution?
dev_guy said:
+1 Here as well. For reasons I don't understand, there's no backup option in the CM 12.1 recovery. The AndroPlus kernel isn't a solution as the developer says it does NOT work with CM. Despite trying a few different recovery options, I can't seem to get anything but CM recovery which is part of CM's boot.img. The CM recovery/bootloader/kernel gets flashed with:
fastboot flash boot boot.img
While this, and most other recoveries I can find, get flashed with:
fastboot flash recovery xxxx.img
I realize the Z3C doesn't have a conventional recovery partition. And, from what I understand, it essentially has two locations for a recovery utility with one designed for OTA use. I've tried three different methods:
Flashing recoveries with: fastboot flash recovery xxxx.img but I still get only the CM recovery (as others have reported in this thread).
Installing a ZIP recovery from within the CM recovery, but I still get only the CM recovery
Installing the TWRP app, letting it download TWRP for the Z3C, and the install fails.
What many of us seem to need is a boot.img file with TWRP that works with CM. Based on my experience that's the only way to replace the CM recovery.
Has anyone found a solution?
Click to expand...
Click to collapse
Yes i do. I asked and got link to dual recovery page where u upload your boot.img and then it lets u download it with philz.touch injected
Sent from my D5803 using XDA Free mobile app
polykoma said:
Yes i do. I asked and got link to dual recovery page where u upload your boot.img and then it lets u download it with philz.touch injected
Sent from my D5803 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks. I found a TWRP that actually works with CM12.1 when you flash it from fastboot here.
It's a common enough request you would think someone would have made it available for CM?
Guys i unlocked the bootloader of NPN 25.137-92 indian retin variant with nov 1 patch. I unlocked the bootloader and rooted the phone with SU, only problem is that cam stops working. Then i installed Elemental X kernel 2.02 as a workround to get the cam working which went ok . But i want to go back to the stock kernel, i dont want to flash whole rom . Is there is a way i get info or download link for the stock kernel. Is it possible that i can just flash the kernel. Will my camera app stops again if i do that?
Please reply
Stifmeister11 said:
Guys i unlocked the bootloader of NPN 25.137-92 indian retin variant with nov 1 patch. I unlocked the bootloader and rooted the phone with SU, only problem is that cam stops working. Then i installed Elemental X kernel 2.02 as a workround to get the cam working which went ok . But i want to go back to the stock kernel, i dont want to flash whole rom . Is there is a way i get info or download link for the stock kernel. Is it possible that i can just flash the kernel. Will my camera app stops again if i do that?
Please reply
Click to expand...
Click to collapse
Flash boot.img from your stock ROM using fastboot, just like you flash stock but this time only flash the file boot.img
Thanks for the prompt reply
Before trying the Fastboot method, do a backup of everything in case of a bootloop , after flashing the stock kernel, do a backup with Flashify
Broloff said:
Before trying the Fastboot method, do a backup of everything in case of a bootloop , after flashing the stock kernel, do a backup with Flashify
Click to expand...
Click to collapse
Or by temp-booting TWRP from fastboot
Bro another noob question can i flash the stock rom with twrp rather than going with fastboot method. I dont own a PC and new to this rooting and flashing stuff. Is there a way?
Stifmeister11 said:
Bro another noob question can i flash the stock rom with twrp rather than going with fastboot method. I dont own a PC and new to this rooting and flashing stuff. Is there a way?
Click to expand...
Click to collapse
The fastboot ROM can't be flashed with TWRP, we have a separate TWRP flashable stock ROM builds that are used specifically with TWRP and other custom recoveries (if available).
So to make it clear, you can't flash the fastboot ROM via TWRP, you need to download stock ROM from the below thread.
https://forum.xda-developers.com/g5-plus/development/rom-twrp-flashable-stock-builds-t3675616
Keep in mind to flash only the firmware that matches your device or the last update version you were on and never downgrade to a lower version than your device had when you stepped into the world of custom ROMs, root and etc otherwise you'll end up bricking your device.
Oh wow you just solved my problem i was really worried but this will do it... Yes i go through the instructions and flash the correct one... Thanks again
Hi all! I am sorry if this has been asked before but I couldn't find a definitive answer in here.
I bought OnePlus 8 Pro from the official website in April and I feel it's time to flash a custom kernel. I've been modding my phones since 2011 using Xperia Neo back then.
1. If I unlock my bootloader will I still be able to receive official updates?
2. How exactly do you flash a custom kernel? At the moment I have no intentions on rooting the phone.
3. Is the procedure for flashing a custom ROM the same as the kernel?
4. Does unlocking my bootloader delete everything from the phone?
A lot has changed since Android 8 and 9 so I feel like a complete noob.
Thank you for the help in advance!
1. Yes as long as your boot partition is stock/aka not rooted or using custom kernel, you can take regular otas.
2. If rooted you can use ex kernel manager... If not you'd boot to bootloader and use fastboot commands to modify the boot image.. Note after this you wouldn't be able to take otas until you flash back stock boot img.
3. Yes very similar, you'd flash different partitions in bootloader using fastboot commands.
4. Yes, same as relocking.
You should be able to install OTA regardless of what kernel you're using.
I recommend Franco Kernel Manager for flashing kernels.
There should be instructions on how to install ROMs with fastboot. You use fastboot and fastbootd (new fastboot for system) depending on what partition you flash.
Lossyx said:
You should be able to install OTA regardless of what kernel you're using.
I recommend Franco Kernel Manager for flashing kernels.
There should be instructions on how to install ROMs with fastboot. You use fastboot and fastbootd (new fastboot for system) depending on what partition you flash.
Click to expand...
Click to collapse
I reckon I need to root to use Franco kernel manager and I shoul be able to flash any kernel just using fastboot?
Regarding the OTA, I read that you need to be on stock kernel to be able to install it so I guess I will wait for the December update and then go through the whole process of bootloader unlock etc.
kokope28 said:
I reckon I need to root to use Franco kernel manager and I shoul be able to flash any kernel just using fastboot?
Regarding the OTA, I read that you need to be on stock kernel to be able to install it so I guess I will wait for the December update and then go through the whole process of bootloader unlock etc.
Click to expand...
Click to collapse
Yes you need root in order to flash a kernel zip using kernel manager. Flashing a kernel through fastboot requires just the boot image, which i don't think any kernel provides standalone.
And no, you don't need to be have stock kernel to flash an OTA. I have no idea why someone would write that.
Lossyx said:
Yes you need root in order to flash a kernel zip using kernel manager. Flashing a kernel through fastboot requires just the boot image, which i don't think any kernel provides standalone.
And no, you don't need to be have stock kernel to flash an OTA. I have no idea why someone would write that.
Click to expand...
Click to collapse
I haven't tried a lot of kernels but in my experience coming from other phones like pixels.... When boot.img gets modified it will fail ota updates...I tried it with this phone with a rooted boot.img and it failed so I assumed a kernel modified boot.img would be the same. Much apologies if I'm incorrect... But that's my reasoning for writing my post.
Updating isn't an issue.
My guide for doing just that amongst other things.
(ROOT) Android 11 / Latest stock and patched img's / payload dumper / magisk_patched guides
Hi all, Have seen a lot of requests for patched boot images on these threads so thought i'd share a guide on how to get it yourself as well as all the files required, plus the patched boot.img if you just want to go ahead and boot/flash it...
forum.xda-developers.com
Personal I use ex kernel manager. Hasn't failed me yet.
Auth apps have worked for me, as does gpay so you should be ok.
Titanium / swift might do it but the OS won't be the same so the apps could notice that.
Just set them back up, the more you do it the easier it is.
Probably best to deactivate first so it's easier to enrol on your new OS