Hi, anyone here who can build a custom recovery (maybeTWRP)

Search This thread

scotty2000

Senior Member
Feb 28, 2008
174
62
Hi all, did anyone build a recovery? I would do it but I haven't got a computer that runs Linux and I am not firm with it at all.

Edit: I couldn`t use any method that I found to create a custom recovery, is there anyone with more success?
Also I could not use SP-Flash tool to make a backup, did anyone succeed and how?
Thanks

Sent from my HTC One A9 using XDA-Developers mobile app
 
Last edited:

Captain_Throwback

Recognized Developer
I am interested in testing some builds of twrp on my a9s, are your offer still available? :)
Greetings.
Well, a month has passed, and I've forgotten everything I knew about this device, but I'll give it a shot when I have a chance. Stay tuned.

EDIT: It seems a month ago I built a test recovery for this device, but was waiting for a response before posting it. So @patrixs94 I'm attaching it here. Give it a try and let me know if it boots, and if so, I'll need a recovery log from it.
 

Attachments

  • recovery.img
    14 MB · Views: 586
Last edited:
  • Like
Reactions: ZeroPointMax

patrixs94

Member
Jan 4, 2011
10
1
Ok, I will test it. Have one question - is it safe? :) In case of bootloop occurs, do you have any idea how to exit it? Can't find any RUU in web - that was the way I ever exit it, and by this way I was restoring official software. Is there any another way?

Well, a month has passed, and I've forgotten everything I knew about this device, but I'll give it a shot when I have a chance. Stay tuned.

EDIT: It seems a month ago I built a test recovery for this device, but was waiting for a response before posting it. So @patrixs94 I'm attaching it here. Give it a try and let me know if it boots, and if so, I'll need a recovery log from it.


---------- Post added at 01:19 PM ---------- Previous post was at 12:56 PM ----------

Ok, I founded one, but it does not fit to my mid/ cid . And I dont have s-off :/
Ok, I will test it. Have one question - is it safe? :) In case of bootloop occurs, do you have any idea how to exit it? Can't find any RUU in web - that was the way I ever exit it, and by this way I was restoring official software. Is there any another way?
 

Captain_Throwback

Recognized Developer
Ok, I will test it. Have one question - is it safe? :) In case of bootloop occurs, do you have any idea how to exit it? Can't find any RUU in web - that was the way I ever exit it, and by this way I was restoring official software. Is there any another way?



---------- Post added at 01:19 PM ---------- Previous post was at 12:56 PM ----------

Ok, I founded one, but it does not fit to my mid/ cid . And I dont have s-off :/
Flashing recovery shouldn't bootloop your device. Recovery is an entirely separate partition. You can try using "fastboot boot recovery.img" to see if that works, as that won't change anything on the device, but not all devices support it.

Honestly though, if you're not comfortable enough to test this, then there's no reason for me to work on this. Like I said, I know next to nothing about this device, so I need someone that can help me debug and provide logs, etc. Otherwise this exercise is futile.
 

vejda

Member
Dec 14, 2010
9
0
Tested

Hi,

thank you, it´s great you are working on TWRP for this phone! I have tried to use it. After download it says booting on notebook and Start downloading on phone:

C:\fastboot\ fastboot boot recovery.img
downloading `boot.img`......
OKAY (1.453s)
booting...

After hard restart the phone works again.

Does it helps you?

T.

Flashing recovery shouldn't bootloop your device. Recovery is an entirely separate partition. You can try using "fastboot boot recovery.img" to see if that works, as that won't change anything on the device, but not all devices support it.

Honestly though, if you're not comfortable enough to test this, then there's no reason for me to work on this. Like I said, I know next to nothing about this device, so I need someone that can help me debug and provide logs, etc. Otherwise this exercise is futile.
 

Captain_Throwback

Recognized Developer
Hi,

thank you, it´s great you are working on TWRP for this phone! I have tried to use it. After download it says booting on notebook and Start downloading on phone:

C:\fastboot\ fastboot boot recovery.img
downloading `boot.img`......
OKAY (1.453s)
booting...

After hard restart the phone works again.

Does it helps you?

T.
All that tells me is that your device doesn't support fastboot boot. So you'll need to flash it to test whether it works or not.
Code:
fastboot flash recovery recovery.img
 
  • Like
Reactions: vejda

vejda

Member
Dec 14, 2010
9
0
Thx. Flashed, after booting to recovery mode there is start screen, but I am not able to swipe to unlock it. Where can I find the log? Is it something like db.fatal.dbg?

All that tells me is that your device doesn't support fastboot boot. So you'll need to flash it to test whether it works or not.
Code:
fastboot flash recovery recovery.img
 

Captain_Throwback

Recognized Developer
Thx. Flashed, after booting to recovery mode there is start screen, but I am not able to swipe to unlock it. Where can I find the log? Is it something like db.fatal.dbg?
/tmp/recovery.log

Is adb working? If so, you can adb pull the above file. Then I can at least see how much is working (besides touch being broken).
 

vejda

Member
Dec 14, 2010
9
0
Yes, ADB works, but the file doesn´t exist (with the way /tmp/recovery.log). Only general bugreport, attached.

/tmp/recovery.log

Is adb working? If so, you can adb pull the above file. Then I can at least see how much is working (besides touch being broken).
 

Attachments

  • bugreport-2017-08-20-17-24-08.zip
    1.5 MB · Views: 24
Last edited:

vejda

Member
Dec 14, 2010
9
0

Attachments

  • TWRP3.jpg
    TWRP3.jpg
    28.4 KB · Views: 143

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    @bigrammy i tried to format data and i get this error "Warning: data type is , but ext4 was requested for formatting. Couldn't parse partition size '0x'." command used "fastboot.exe format:ext4 data"
    @sabpprook i flash recovery my screen was dark for a moment but it start to work !!! i try to backup data :D Thanks

    Can you describe how you do that ?

    All I've done is patch the stock kernel to let touch work in recovery mode and build TWRP recovery.

    Thanks @Captain_Throwback for the guide to do patch on stock kernel.
    2
    Hi all, did anyone build a recovery? I would do it but I haven't got a computer that runs Linux and I am not firm with it at all.

    Edit: I couldn`t use any method that I found to create a custom recovery, is there anyone with more success?
    Also I could not use SP-Flash tool to make a backup, did anyone succeed and how?
    Thanks

    Sent from my HTC One A9 using XDA-Developers mobile app
    2
    interesting, didn't know.
    Any links on how to use Magisk?

    also, I'm not sure how to get access to my stock boot.img or how to back it up, I thought root is required to do that ...

    any kind of a guide or tutorial would be appreciated, thanks!
    I'd look in the Magisk forum for instructions on how to patch a boot image with Magisk Manager. I don't have this device, so you're on your own with finding an RUU for your software version, which you can use the RUU Decrypt Tool to extract the boot.img from. Then you can fastboot flash it after patching it with Magisk, and you should be rooted. That's the best I can do for you.
    1
    I am interested in testing some builds of twrp on my a9s, are your offer still available? :)
    Greetings.
    Well, a month has passed, and I've forgotten everything I knew about this device, but I'll give it a shot when I have a chance. Stay tuned.

    EDIT: It seems a month ago I built a test recovery for this device, but was waiting for a response before posting it. So @patrixs94 I'm attaching it here. Give it a try and let me know if it boots, and if so, I'll need a recovery log from it.
    1
    Hi,

    thank you, it´s great you are working on TWRP for this phone! I have tried to use it. After download it says booting on notebook and Start downloading on phone:

    C:\fastboot\ fastboot boot recovery.img
    downloading `boot.img`......
    OKAY (1.453s)
    booting...

    After hard restart the phone works again.

    Does it helps you?

    T.
    All that tells me is that your device doesn't support fastboot boot. So you'll need to flash it to test whether it works or not.
    Code:
    fastboot flash recovery recovery.img