Porting TWRP - Android Q&A, Help & Troubleshooting

I want to port TWRP for my device HTC Desire 620G, I'm a rom porter and I'm familiar with porting stuff but I can get TWRP to boot but can't get the touch to work. Do I need to integrate touch drivers for the touch to work? But I don't think it is possible for my device as my device is having no sources, no device tree actually nothing so, I'm only left with porting. Right now using PhilZ Touch Recovery with touch not working and I think it has something to do with kernel or ramdisk. If I fix the touch in TWRP I'll get the touch to work in other touch recoveries too. Thanks to everyone in advance.

Related

Porting a recovery

Is there a idiots guide to porting a recovery using windows machine?
Samsung Gravity Smart SGH-T589
We are in need of a recovery for this phone.
Any help would be appreciated.
Maybe you should contact Koush
Recovery
I think it depends on what type of recovery file it is im not sure though

[Q] CWM porting - boot but no LCD

LGE - P875h - Optimus F5 BR
I need some help with CWM.
I compiled cwm from CyanogenMod JB tree, setting my device tree with the basic info on partitions sizes-places. It is now booting, but I have no LCD on.
Please take a look at my logs from the CWM boot. My post about the porting.
Anyone could point me to what is wrong?
Thankx!
So, someone knows why the recovery boots but show no UI? blank screen, nada!
If I use this recovery to flash a custom rom (is that even possible with ADB commands only? will have to look around) it should work, right?

[Q] Custom Recovery Black Screen

Hi guys,
First up here are the details of the phone that I am currently using:
Zeaplus M7
MediaTek MT6752
Android 5.0
Root = YES
Unlocked = YES
Secure = NO
The Problem
I have compiled CWM using the CM-11.0 branch, and TWRP using the OmniRom and TWRP Minimal sources, but I always end up with the same problem, regardless of whether I flash CWM or TWRP.
After flashing either of the recovery.img files to the phone, I can attempt to boot into recovery and what happens is the phone restarts, sits at the splash logo (boot screen) and sits there for around 15-30seconds (using the stock recovery, it will already have booted by this point), and then it will just restart the phone and it will continue to boot to the system as normal.
This happens on both CWM and TWRP. What is causing both the recoveries to hang at the boot screen without actually entering the recovery? Is there a way I can get a logcat or log of what is happening during the recovery bootup so I can check if there are any error messages going on behind the scenes that I am missing out on?
If you need anymore information please let me know!
Thanks
Just committed the most recent files for a CWM (11.0) build. (Also contains some older files used for the TWRP build)
https://github.com/alien-13/android_device_zeaplus_m7
Hopefully that may help out a little bit more. Not 100% sure what could be causing the issue as the P6000 has a working TWRP, and I have based this device tree around the P6000 device tree (with specific changes made to suit the M7).
Not sure if this will help, I also have the z+m7 , have tried the ele p 7000 Rom on it and it works fine, twrp installs fine, but will not download from playstore , both are from needrom made by s7yler, when I go back to m7 Rom with the p7000 twrp package exactly the same happens as happens to your phone, have noticed in m7 Rom and Mijue t500 Rom which are the same, there is a file called Encrypt, which I have never seen in other roms.could this be a problem
There is now a twrp for the zeaplus m7 on the zeaplus forum

(TWRP Recovery) For Spreadtrum SC7731C Android 5.1 Lollipop

Hi. I just want to ask about TWRP recovery that is Compatible with my Phone :
Starmabile PLAY Click
Android 5.1 Lollipop
Spreadtrum SC7731
4.5"
Quadcore
Anyone with a Phone with same specs as mine that is using A TWRP ?
Please help. I wanna try yours.
Cant find on google with the same specs with my phone with twrp working.
I have tried those TWRP on google but none of them works. All of them take me Only to the Bootlogo. Only thing i know as of now is i have to port twrp to my stock recovery or to my phone.
Anyone please help.
maucerezo said:
Hi. I just want to ask about TWRP recovery that is Compatible with my Phone :
Starmabile PLAY Click
Android 5.1 Lollipop
Spreadtrum SC7731
4.5"
Quadcore
Anyone with a Phone with same specs as mine that is using A TWRP ?
Please help. I wanna try yours.
Cant find on google with the same specs with my phone with twrp working.
I have tried those TWRP on google but none of them works. All of them take me Only to the Bootlogo. Only thing i know as of now is i have to port twrp to my stock recovery or to my phone.
Anyone please help.
Click to expand...
Click to collapse
Hi Bro,
i have sc7731c (karbonn titanium 3D Plex ) device too. and i have tried many available img but none of them worked this would be because these devices are new and there no suitable recovery available simply because people have not made any till now..
There is many programs that allows u to create a new custom recovery if there is no recovery is available for your device try to goggle it.
On windows, philz magic touch recovery tool, android kitchen recovery image unpacker and so on.
Can i make you custom recovery using your stock image if you're too lazy
as i said above i have been trying to flash online available recoveries and accidentally flashed my stock u could help me out this
can u provide me you stock recovery image file ?
@Maucurezo
Hey dude! Im a pinoy. Im running with my STARMOBILE PLAY CLICK. As same as yours. Im running on the same Spreadtrum SC7731C and I flashed a Custom Recovery but it would only bring me to bootload. I kept finding solutions to get my Stock recovery but failed. We have the same Problem. I need the Custom recovery too. Help us admins
You can try and do it yourself. Porting TWRP and CWM to a new device. You'll need the stock rom for your device or simply make an image "dump" of the system files (boot.img, etc) via adb. Goodluck.
TWRP for sc7731c hope it helps
hi all a have a sc7731c phone on android 6.0 and i was able to install twrp on my device
it all started when i found a stock rom on the web (Google your device for stock - rom or - firmware)
once i had the rom i started searching for a way to extract the stock recovery from the rom
and i found this tool SPD_Upgrade_Tool_R4.0.0001 using this tool i extracted my stock
recovery from the ROM ( recovery.img ) , first stage complete i had a stock recovery
taken from a rom for my phone - brand and model must be right on the stock
firmware/rom or you risk damaging you phone (DO NOT CHEAT PLZ)
ps:wen you unpack the firmware/rom you should get a .pac file
ps:finding my stock rom took me several days of search.
now for STAGE 2 i had a stock recovery a needed to change it
for twrp another few days of search i came across a site
called hovatek here i found a tool to port (change) the
stock recovery to boot the twrp recovery the tool name is
[Hovatek] Spreadtrum (SPD) Auto TWRP Recovery Porter V1.0 by Team Hovatek (x86)
i run my stock recovery with this tool the tool creates a modified recovery on the
output folder( a few kb bigger ) stage 2 done.
STAGE 3
1- a fully working ADB, for this your best option is android-studio
2-turn on USB debuging and OEM unlock in DEV options
3-name the new recovery file recovery.img
4-your device has to be in USB MTP mode
5-if ADB is properly installed and Windows has the correct android device
driver you should be able to use these commands using android-studio's ADB
command-adb devices
-if the device is detected a serial number apears
command-adb reboot bootloader
-the device reboots to a black screen with small white letters saying FASTBOOT mode
command-fastboot devices
-the device displays the serial number again
command-fastboot flash recovery recovery.img
- if all went well it will say successful
command-fastboot reboot
-dont remenber if it booted straight to twrp or if i had to use power + volume up
-by the way on my phone to get in the default recover its 1 second hold power
and then with the power pressed for 1 sec add volume up 3 sec and let go of both
any way it worked i hope it helps ppl with these sc7731c phones
i have twrp 3.0.0 fully working
tips: youtube vídeos on how to use SPD_Upgrade_Tool_R4.0.0001
the hovatek site has a great tutorial on how to use the recovery porter tool
the last part the ADB commands was a ***** as Windows did not install my device
correctly and this is crucial -install phone driver manualy/Google device/Google android device. good luck
ps: all merit goes to the developers of these tool, a great ty to them :highfive:
ps: at the start i did NOT have root, the success flashing the ported twrp recovery
was followed bi the installation of the magisk15.3.zip and voila twrp+root
any one help me i port twrp using adb but after i flash my twrp upside down on sc7731ceb it works fine but the twrp upside down any help me
pauljack2 said:
any one help me i port twrp using adb but after i flash my twrp upside down on sc7731ceb it works fine but the twrp upside down any help me
Click to expand...
Click to collapse
humm,.. as far as i now adb does not port recovery image´s you mean you found an image for sc7731?? phone and there are at least 4 or 5 variations of the sc7731 board and you
flashed it on your phone, by shear luck you did not soft-brick or brick your phone and it actualy Works, :cyclops:
you need to search Google/xda/hovatek site for your brand and model´s stock recovery or even better your custom recovery
or as an alternative your stock ROM/FIRMWARE and then extract the stock recovery from ROM/FIRM port it and flash it
im prety shure someone out there has a phone like your´s and you can , when you find it download the stock recovery - the custom recovery - or the ROM/FIRMWARE file
the hovatek site has a great auto port tool all you need is your stock recovery follow the vídeo simple steps and flash it now that you have root just use
twrp oficial app to flash it ,se my tutorial above it will be easy once you have the stock recovery or rom/firmware
i have a 50 buck cheap phone wierd brand,it took me several days to find the stock rom/firmware once i did all worked just fine no strange stuff
hovetek site also has a lot of rom´s/firmware files for many brands and model´s , again search Google/xda/hovatek for your model + stock recovery or recovery.img, custom recovery.
good luck
i have stock recovery so i copy the recovery from my stock and i use carlivimg so i can unpack my recovery.img but i have really problem on upside down but i work fine i flash supersu on it now i have rooted my phone. my phone by the way is ding ding defi go SC7731ceb i use TWRP 3.0.2.0 it works fine but if you update the latest twrp you have problem on failed mount and .etc
ANY can help that upside down ??? thats my problem now on my recovery
but you can port recovery using fastboot
i commend
c:/adb>adb devices
adb>adb reboot bootleader
adb>fastboot flash recovery recovery.img
thats i port my recovery on sc7731ceb
using pc
pauljack2 said:
i have stock recovery so i copy the recovery from my stock and i use carlivimg so i can unpack my recovery.img but i have really problem on upside down but i work fine i flash supersu on it now i have rooted my phone. my phone by the way is ding ding defi go SC7731ceb i use TWRP 3.0.2.0 it works fine but if you update the latest twrp you have problem on failed mount and .etc
ANY can help that upside down ??? thats my problem now on my recovery
but you can port recovery using fastboot
i commend
c:/adb>adb devices
adb>adb reboot bootleader
adb>fastboot flash recovery recovery.img
thats i port my recovery on sc7731ceb
using pc
Click to expand...
Click to collapse
Go here https://forum.hovatek.com/thread-21669.html try and port again with this tool it worked fine for me.

Question Nubia Red Magic 7 Nethunter Kernel

I am looking for a Nethunter Kernel for Readmagic 7 devices. I already have a rooted device and nethunter running but I could not put my wifi adapters to run even installing the drives using magisk. I am going to try flashing the kernel. Anyone here already made it for redmagic 7?
Thank you
sevenb_cezar said:
I am looking for a Nethunter Kernel for Readmagic 7 devices. I already have a rooted device and nethunter running but I could not put my wifi adapters to run even installing the drives using magisk. I am going to try flashing the kernel. Anyone here already made it for redmagic 7?
Thank you
Click to expand...
Click to collapse
Not sure if you made any headway on this? i'm working on the same thing and trying to compile a TWRP for NX679J.
Working on compiling a SkyHawk (SHRP) custom recovery for NX679J , also getting device tree slowly but surely...
polarbear666 said:
Working on compiling a SkyHawk (SHRP) custom recovery for NX679J , also getting device tree slowly but surely...
Click to expand...
Click to collapse
I'm close with the NX679J, is tricky but I have to start by changing the partition table... however, by pure accident I may have found a way to unlock bootloader on the meta quest 2 and it doesn't have the circus of A/B partitions that the NX679J has. building SHRP in terminal has been riddled with errors.BUT because of it's light weight design I'm compiling a pitch black recovery zip (PBRP). The only difficult thing is is that if the flashing app doesn't work inside Android I will have to go into fastboot and flash each partition over manually...Unlike TWRP- PBRP can seems more compatible with Android 12-12.1.... unlike TWRP that is very limited on 12 -12.1. PBRP (along with a specialized partition tool) can establish systemROOT on botH devices in theory..

Categories

Resources