[DISCONTINUED][recovery][fota] z3&z3 dual twrp 3.0.0-0

rodrigoger

Senior Member
Feb 23, 2010
312
63
48
Goiânia
Hello people. I need some help and I believe you're the right guys.
After a long long wait, we have, now, nightly versions from CM12.1 to Z3dual - two sim cards working!!!
I installed fota TWRP-z3 in my Z3 dual. Everything works perfect, but CM12.1 update-script is always setted up for Z3dual... and TWRP recognize my device as Z3. So, CMupdater doesn't work... everytime I have to change update-script, include "Z3" device in it and install everything again (gapps, mods, etc).
I need help because I want that TWRP recognize my device as Z3dual, like CM update-script, so I won't need to change nothing at CM nightlies.
Is it possible? Can you help me, please, @LeonidasTurk and guys?
Thanks!
 

LeonidasTurk

Senior Member
Nov 10, 2013
148
73
0
Konya
Hello people. I need some help and I believe you're the right guys.
After a long long wait, we have, now, nightly versions from CM12.1 to Z3dual - two sim cards working!!!
I installed fota TWRP-z3 in my Z3 dual. Everything works perfect, but CM12.1 update-script is always setted up for Z3dual... and TWRP recognize my device as Z3. So, CMupdater doesn't work... everytime I have to change update-script, include "Z3" device in it and install everything again (gapps, mods, etc).
I need help because I want that TWRP recognize my device as Z3dual, like CM update-script, so I won't need to change nothing at CM nightlies.
Is it possible? Can you help me, please, @LeonidasTurk and guys?
Thanks!
Hello. If i weren't busy, i would give a recovery for you. But you can do it yourself.http://boot-recovery-repacker.software.informer.com/ download this program. Unpack my recocery. İnstall notepad++ and find "default.prop" file. You will see a lot of lines. Press ctrl+f and type "z3". Change this word in all lines to your device's codename (i dont Know your device's codename) and save it. Repack it. It will work.
 
  • Like
Reactions: rodrigoger

rodrigoger

Senior Member
Feb 23, 2010
312
63
48
Goiânia
Hello. If i weren't busy, i would give a recovery for you. But you can do it yourself.http://boot-recovery-repacker.software.informer.com/ download this program. Unpack my recocery. İnstall notepad++ and find "default.prop" file. You will see a lot of lines. Press ctrl+f and type "z3". Change this word in all lines to your device's codename (i dont Know your device's codename) and save it. Repack it. It will work.
Thank you very much!
I'll do that and report to you after.
[emoji2]

Enviado de meu D6633 Dual-LCP usando Tapatalk
 

rodrigoger

Senior Member
Feb 23, 2010
312
63
48
Goiânia
Hello. If i weren't busy, i would give a recovery for you. But you can do it yourself.http://boot-recovery-repacker.software.informer.com/ download this program. Unpack my recocery. İnstall notepad++ and find "default.prop" file. You will see a lot of lines. Press ctrl+f and type "z3". Change this word in all lines to your device's codename (i dont Know your device's codename) and save it. Repack it. It will work.
It worked like a charm!
Thank you!
 

husky69

Senior Member
Oct 8, 2011
971
208
43
Hm. Tried to install v5 over the v4 on my FOTA partition, (downloaded file, placed it in root of sdcard, 'adb shell' from my computer, copy-pasted the command), but all rebooting took me to TWRP 2.8.7.0 again. :(

Any hints what might have gone wrong?

Here's my shell content:
Code:
[email protected]:~$ adb push Downloads/z3fotatwrpv5.img /sdcard/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3438 KB/s (11583488 bytes in 3.289s)
[email protected]:~$ adb shell
[email protected]:/ # dd if=/sdcard/z3fotatwrpv5.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
22624+0 records in
22624+0 records out
11583488 bytes transferred in 1.590 secs (7285212 bytes/sec)
[email protected]:/ # sync
[email protected]:/ # adb reboot
[email protected]:~$ adb reboot recovery
[email protected]:~$ file Downloads/z3fotatwrpv5.img 
Downloads/z3fotatwrpv5.img: Android bootimg, kernel (0x8000), ramdisk (0x1000000), page size: 2048, cmdline (androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 eh)
[email protected]:~$ md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
Please note that adbd is running in root mode already - no need to 'su'
 

LeonidasTurk

Senior Member
Nov 10, 2013
148
73
0
Konya
Hm. Tried to install v5 over the v4 on my FOTA partition, (downloaded file, placed it in root of sdcard, 'adb shell' from my computer, copy-pasted the command), but all rebooting took me to TWRP 2.8.7.0 again. :(

Any hints what might have gone wrong?

Here's my shell content:
Code:
[email protected]:~$ adb push Downloads/z3fotatwrpv5.img /sdcard/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3438 KB/s (11583488 bytes in 3.289s)
[email protected]:~$ adb shell
[email protected]:/ # dd if=/sdcard/z3fotatwrpv5.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
22624+0 records in
22624+0 records out
11583488 bytes transferred in 1.590 secs (7285212 bytes/sec)
[email protected]:/ # sync
[email protected]:/ # adb reboot
[email protected]:~$ adb reboot recovery
[email protected]:~$ file Downloads/z3fotatwrpv5.img 
Downloads/z3fotatwrpv5.img: Android bootimg, kernel (0x8000), ramdisk (0x1000000), page size: 2048, cmdline (androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 eh)
[email protected]:~$ md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
Please note that adbd is running in root mode already - no need to 'su'
Try from terminal of ur device.
 

paulle

Senior Member
Nov 1, 2010
1,295
275
0
Hm. Tried to install v5 over the v4 on my FOTA partition, (downloaded file, placed it in root of sdcard, 'adb shell' from my computer, copy-pasted the command), but all rebooting took me to TWRP 2.8.7.0 again. :(

Any hints what might have gone wrong?

Here's my shell content:
Code:
[email protected]:~$ adb push Downloads/z3fotatwrpv5.img /sdcard/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3438 KB/s (11583488 bytes in 3.289s)
[email protected]:~$ adb shell
[email protected]:/ # dd if=/sdcard/z3fotatwrpv5.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
22624+0 records in
22624+0 records out
11583488 bytes transferred in 1.590 secs (7285212 bytes/sec)
[email protected]:/ # sync
[email protected]:/ # adb reboot
[email protected]:~$ adb reboot recovery
[email protected]:~$ file Downloads/z3fotatwrpv5.img 
Downloads/z3fotatwrpv5.img: Android bootimg, kernel (0x8000), ramdisk (0x1000000), page size: 2048, cmdline (androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 eh)
[email protected]:~$ md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
Please note that adbd is running in root mode already - no need to 'su'[/QUOTE

you can try it with fastboot too.
 

husky69

Senior Member
Oct 8, 2011
971
208
43
Tried again from terminal of the phone (as root of course), tried again via fastboot - still I get TWRP 2.8.7.0 when entering recovery :(

Any hints?

P.S.:
Can anyone confirm my file is correct?
Code:
md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
 
Last edited:

LeonidasTurk

Senior Member
Nov 10, 2013
148
73
0
Konya
Tried again from terminal of the phone (as root of course), tried again via fastboot - still I get TWRP 2.8.7.0 when entering recovery :(

Any hints?

P.S.:
Can anyone confirm my file is correct?
Code:
md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
Interesting. But unfortunately i don't know what to do. I'm sorry.
 

CHaPoCA

Senior Member
Apr 17, 2013
187
97
58
Belo Horizonte - MG
Tried again from terminal of the phone (as root of course), tried again via fastboot - still I get TWRP 2.8.7.0 when entering recovery :(

Any hints?

P.S.:
Can anyone confirm my file is correct?
Code:
md5sum Downloads/z3fotatwrpv5.img 
d5157347037a71b23fff3c4e2d0e2685  Downloads/z3fotatwrpv5.img
Did you tried to flash using flashtool as fastboot mode? I did this way and it works.
 

nailyk

Senior Member
Oct 3, 2015
1,503
2,955
0
Any hints?[/CODE]
Hi,

Maybe an idea: It seems you are booting a recovery in your boot partition:
- Which rom are you using? Can you reflash your boot partition from your rom?
- Did you upgrade your bootloader?
- Which key combination do you use to get into recovery mode?

@LeonidasTurk is there a way to check if the booted twrp is yours?
 

LeonidasTurk

Senior Member
Nov 10, 2013
148
73
0
Konya
Hi,

Maybe an idea: It seems you are booting a recovery in your boot partition:
- Which rom are you using? Can you reflash your boot partition from your rom?
- Did you upgrade your bootloader?
- Which key combination do you use to get into recovery mode?

@LeonidasTurk is there a way to check if the booted twrp is yours?
I modified my splashscreen. My twrp text is green. He can check this basically.
 
  • Like
Reactions: paulle
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone