[DEV][RECOVERY] CWM 6.0.4.7 for Moto G - Moto G Android Development

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is CWM?
ClockworkMod, abbreviated as CWM, is a very famous custom recovery for all the Android phones and also tablets.It is developed by Koushik Dutta (Koush), a well reknown name in the Android dev community. ClockworkMod recovery helps you to perform many advanced recovery, restoration, installation and a good maintenance operations on the Android device that are not possible with stock recovery, and it is one of the most easy ways used to gain root access, back up device data, install custom ROMs, kernels & mods, and more. However, for anyone new to Android customization and hacking, some of its options might be proved to be a highly confusing ones.
Click to expand...
Click to collapse
Everything should work.
Installation:
Code:
fastboot flash recovery recovery.img
Download:
CWM
CWM Touch

Thanks I will try it later!
Sent from my XT1033 using Tapatalk

Linked to FAQ

will try asap
edit: booted fine, backing up as we speak..............
Looks promising, i still prefer TWRP but now we need some new builds to flash, and i don´t care witch one works best
thanks

fastboot boot recovery.img does work, flashing it through fastboot does not do anything for me.
Edit: when booted with fastboot boot, flashing supersu was no issue whatsoever, my device is happily rooted now.

nupi said:
fastboot boot recovery.img does work, flashing it through fastboot does not do anything for me.
Edit: when booted with fastboot boot, flashing supersu was no issue whatsoever, my device is happily rooted now.
Click to expand...
Click to collapse
What happens when you flash it? Any messages on screen? What happens, when you select recovery in bootloader? Are you sure you are selecting with VolUp? Power is not the "enter" key!

a1Pha said:
What happens when you flash it? Any messages on screen? What happens, when you select recovery in bootloader? Are you sure you are selecting with VolUp? Power is not the "enter" key!
Click to expand...
Click to collapse
Yeah Vol. UP e select when on bootloader, learn it the "hard" way, lol

I guess I'm gonna stick with twrp, look at the dif in sizes
Sent from my Moto G

ferreinf said:
I guess I'm gonna stick with twrp, look at the dif in sizes
Click to expand...
Click to collapse
I'd be more worried about the difference in dates, what is going on with the CWM backup?

t-bon3 said:
I'd be more worried about the difference in dates, what is going on with the CWM backup?
Click to expand...
Click to collapse
didn´t noticed the date 2023 lol

t-bon3 said:
I'd be more worried about the difference in dates, what is going on with the CWM backup?
Click to expand...
Click to collapse
Code:
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
Thanks for the hint, has to be fixed. Shows creation date as January 1970. But shouldn't be an issue for functionality.

I can confirm that restoring from backup works like a charm.

ferreinf said:
Yeah Vol. UP e select when on bootloader, learn it the "hard" way, lol
Click to expand...
Click to collapse
That might be the issue - power has been the enter key on any other android device I have used . I will report back.
Lo and behold, boot to recovery from QuickReboot does work with CWM, so it was the power key thing (probably simply turned the damn thing off).

a1Pha said:
I can confirm that restoring from backup works like a charm.
Click to expand...
Click to collapse
Great job buddy ! Now lemme ask... rather beg you something, it's about CWM font size, please make it bigger, please!
I got this birth eyesight disease which usually isn't that much of a big deal but in this particular case the words are so small that i can barely read them! Please make it bigger or teach me how to do it myself!

Doublepranks said:
Great job buddy ! Now lemme ask... rather beg you something, it's about CWM font size, please make it bigger, please!
I got this birth eyesight disease which usually isn't that much of a big deal but in this particular case the words are so small that i can barely read them! Please make it bigger or teach me how to do it myself!
Click to expand...
Click to collapse
I will have a look at how CWM manages fonts and increase font size when I find it

Wipe cache partition don't work, the recovery frozen

Benowit said:
Wipe cache partition don't work, the recovery frozen
Click to expand...
Click to collapse
Works without any problem here. Which model do you have?

RETAIL-FR_4.3_14.10.0Q3.X-76-LGG-8_cid7_CFC_1FF

'Wipe cache partition' working fine on RETAIL-GB_4.3_14.10.0Q3.X-76-LGG-8_cid7_CFC_1FF.

This is strange, there are no partition layout differences between the different countries, as far as I know.

Related

[MOD] OpenGL 2.0

Because some people wanted an edify, Heroc version of the OpenGL 2.0 mod.
Credit: harut56
Original thread: Here
Download: http://dev-host.org/m5V
I don't fully understand this, but it seems as if it will give a performance boost to our heros, is this right? I am running Jaybob's TeamHeroC-7.2.X. So can I just flash this from your CWM recovery?
Robbie_G said:
I don't fully understand this, but it seems as if it will give a performance boost to our heros, is this right? I am running Jaybob's TeamHeroC-7.2.X. So can I just flash this from your CWM recovery?
Click to expand...
Click to collapse
Supposedly, but wait till I upload the new version.
Edit: Download away.
dastin1015 said:
Supposedly, but wait till I upload the new version.
Edit: Download away.
Click to expand...
Click to collapse
What's the flash order for wanting to flash from the beginning with firerats? I tried the classic: flash recovery, wipe data cache and system, reboot recovery, flash rom, flash gapps, flash kernel, flash opengl 2.0 mod, flash boot, and reboot, but all I got was a bootloop back to recovery. I'm using the latest 5.5.0.4 recovery, is there anything else I should be aware of or a different order I should try?
goliath714 said:
What's the flash order for wanting to flash from the beginning with firerats? I tried the classic: flash recovery, wipe data cache and system, reboot recovery, flash rom, flash gapps, flash kernel, flash opengl 2.0 mod, flash boot, and reboot, but all I got was a bootloop back to recovery. I'm using the latest 5.5.0.4 recovery, is there anything else I should be aware of or a different order I should try?
Click to expand...
Click to collapse
I'm getting loop back to recovery as well. I'm going to edit it soon and try again. I' kinda tired, but I'll try.
Alright, good to know it's not just me, lol. Don't push yourself, we all love the work you're doing for us man.
goliath714 said:
Alright, good to know it's not just me, lol. Don't push yourself, we all love the work you're doing for us man.
Click to expand...
Click to collapse
Fixed it. OP updated
If you're running cm7 or a cm7-based gingerbread rom, opengl2.0 is already a part of the rom. No need to flash this.
Not in our CM7 roms.... dont be putting out false info... not cool. We had the opengles.version trick which tricked apps into thinking we had 2.0 when in fact we didn't.
Really? that's interesting because on the gsm side's forum, they did say that hero cm7 roms already had opengl2.0 built in. sorry if it's wrong information, but i do not take credit for it at all. hehe.
I had no idea about the opengles trick. apologies.
Look in my ICS thread. Pier11 tells more about it.
Sent from my PG86100 using xda premium
So I thought I installed this, but in my /system/build.prop, I have this line:
ro.opengles.version = 65537
Shouldn't it be 131072?
Here's what I did:
* booted into recovery (your old 5.0.2.4 I think)
* backed up
* flashed your new recovery (5.5.something)
* rebooted recovery
* flashed firerats
* formatted /system, /cache, and /data
* rebooted recovery
* restored backup
* flashed this opengl 2.0
* flashed firerats
* rebooted system
Did I do something wrong?
Robbie_G said:
So I thought I installed this, but in my /system/build.prop, I have this line:
ro.opengles.version = 65537
Shouldn't it be 131072?
Here's what I did:
* booted into recovery (your old 5.0.2.4 I think)
* backed up
* flashed your new recovery (5.5.something)
* rebooted recovery
* flashed firerats
* formatted /system, /cache, and /data
* rebooted recovery
* restored backup
* flashed this opengl 2.0
* flashed firerats
* rebooted system
Did I do something wrong?
Click to expand...
Click to collapse
if you look at the zip, it puts local.prop in /data which supersedes your build.prop
Thanks. I have just enough knowledge to be dangerous.
DL link in the OP is dead... can anyone provide a mirror?
D3FAULT said:
DL link in the OP is dead... can anyone provide a mirror?
Click to expand...
Click to collapse
It is not dead.
私のEVO 3Dから送信される。
dastin1015 said:
It is not dead.
私のEVO 3Dから送信される。
Click to expand...
Click to collapse
Invalid token or your download link has expired.
Please click here and try your download again.
Click to expand...
Click to collapse
That's what it says when I click "download".
D3FAULT said:
That's what it says when I click "download".
Click to expand...
Click to collapse
I just tested and it downloaded for me.
私のEVO 3Dから送信される。
dastin1015 said:
I just tested and it downloaded for me.
私のEVO 3Dから送信される。
Click to expand...
Click to collapse
lol, guess I'm **** out of luck then.
D3FAULT said:
lol, guess I'm **** out of luck then.
Click to expand...
Click to collapse
Added as attachment for those who can't download.

CWM vs TWRP ??

I'm very new to android and have been using Clockworkmod Recovery basically since day 3 or 4 since I got my HTC One XL...
I'm just wondering how many of you are using TWRP instead of Clockworkmod Recovery.. and if so, do you recommend me flashing that instead of CWM?
I have no real complaints with CWM and dont mind using the volume keys to navigate. But besides that, are there any real advantages besides the touch interface?? also, can someone post a link where i can find TWRP ?
thanks guys!! I LOVE the community on here!! it's great!!!
also, when people refer to "Touch Recovery" are y'all referring to TWRP ?
trichrome1 said:
I'm very new to android and have been using Clockworkmod Recovery basically since day 3 or 4 since I got my HTC One XL...
I'm just wondering how many of you are using TWRP instead of Clockworkmod Recovery.. and if so, do you recommend me flashing that instead of CWM?
I have no real complaints with CWM and dont mind using the volume keys to navigate. But besides that, are there any real advantages besides the touch interface?? also, can someone post a link where i can find TWRP ?
thanks guys!! I LOVE the community on here!! it's great!!!
also, when people refer to "Touch Recovery" are y'all referring to TWRP ?
Click to expand...
Click to collapse
I personally use twrp I like its setup look and feel and it is a little speedier than cwm when making backups, flashing etc in my opinion. I used cwm on every phone I had except this one x. After twrp was introduced I switched and love it.
Sent from my HTC One X using xda premium
i believe CWM is also touch screen, just no buttons, so you gotta be careful not push a wrong link - but they have conf screen as well.... haven't tried TWRP - would also like to know if it has any advantages... thanks!
will try
eraste said:
I personally use twrp I like its setup look and feel and it is a little speedier than cwm when making backups, flashing etc in my opinion. I used cwm on every phone I had except this one x. After twrp was introduced I switched and love it.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thanks for the reply,
I'm going to flash twrp and try it out.. see what I think. I'm just enjoying playing with my phone
twrp ?
Can someone point me into the right direction to TWRP..
I can't seem to find a download link anywhere..
and correct command is ..
fastboot flash recovery twrp_file_name.whateverextentionis
?
trichrome1 said:
Can someone point me into the right direction to TWRP..
I can't seem to find a download link anywhere..
and correct command is ..
fastboot flash recovery twrp_file_name.whateverextentionis
?
Click to expand...
Click to collapse
here ya go http://forum.xda-developers.com/showthread.php?t=1677447
All needed info is there or the links provided there to the official page of TWRP
attempting first backup
just backed up my current rom... twrp seems a little more thorough with more options and there's even a progress bar when backing up.
eraste said:
here ya go http://forum.xda-developers.com/showthread.php?t=1677447
All needed info is there or the links provided there to the official page of TWRP
Click to expand...
Click to collapse
Would i able to flash CWM one click again....? did u ever try to go back to CWM....?
ted77usa said:
Would i able to flash CWM one click again....? did u ever try to go back to CWM....?
Click to expand...
Click to collapse
No never went back. Not sure what the process would be to get back to CWM. Dont see why the one click wouldnt work but dont take my word for it dont want to give any wrong information.
eraste said:
No never went back. Not sure what the process would be to get back to CWM. Dont see why the one click wouldnt work but dont take my word for it dont want to give any wrong information.
Click to expand...
Click to collapse
I'm just curious....but so far i have no problem with CWM....if ain't broke don't fix it right.....
trichrome1 said:
just backed up my current rom... twrp seems a little more thorough with more options and there's even a progress bar when backing up.
Click to expand...
Click to collapse
Just FYI... u can't restore ur CWM back up file with TWRP.... it's totally different
process
ted77usa said:
Would i able to flash CWM one click again....? did u ever try to go back to CWM....?
Click to expand...
Click to collapse
to go back to CWM, all you would need to do is place the CWM.img in the fast boot folder, and
go to the dir where u have fastboot files (mine is c:\fastboot ) but i am also running a virtual machine on a mac.. process should be the same since i'm still using windows..
anyways in command prompt.. navigate to c:\fastboot
and then,
fastboot flash recovery CWM.img
(or whatever your clockworkmod recovery image is named)
I haven't tried this, but it's how i originally flashed cwm and it's how i just flashed twrp.... so far it's sweet, a lot more options as well.. don't see myself going back anytime soon. (sorry cwm devs, still love cwm)
trichrome1 said:
to go back to CWM, all you would need to do is place the CWM.img in the root of your sdcard on the phone, and
go to the dir where u have fastboot files (mine is c:\fastboot ) but i am also running a virtual machine on a mac.. process should be the same since i'm still using windows..
anyways in command prompt.. navigate to c:\fastboot
and then,
fastboot flash recovery CWM.img
(or whatever your clockworkmod recovery image is named)
I haven't tried this, but it's how i originally flashed cwm and it's how i just flashed twrp.... so far it's sweet, a lot more options as well.. don't see myself going back anytime soon. (sorry cwm devs, still love cwm)
Click to expand...
Click to collapse
+1. Yea it's easy to flash back and forth between recoveries. Just do it the same way you flash the first one.
cwm twrp incompatibility
ted77usa said:
I'm just curious....but so far i have no problem with CWM....if ain't broke don't fix it right.....
Just FYI... u can't restore ur CWM back up file with TWRP.... it's totally different
Click to expand...
Click to collapse
right, wish I'd known that before. I ended up in bootloops when using twrp to ry and restore a cwm nandroid. luckily, i was able to reflash a beans rom and get it running again, but in the process, I believe I have messed up something. the kernel, bootloader, maybe how the file system is set up. dont mix them up. choose one and stick with it.
Well, I'm pretty sure that one, twrp is simpler, more pretty, more useful, faster, easier.
Also Pretty sure cwm in some cases ruins your phone forever.
Go a head and use cwm though.
TWRP has and official release for the One XL although last time I checked CWM only has a port. I highly suggest using TWRP. It should work better
Sent from my HTC One X using xda premium
Another advantage of TWRP is that the sdcard can be mounted while in recovery mode. I don't think that's supported in CWM.
That may be the case for the htc, the thing is, I am on a verizon samsung galaxy s 3.
I wonder if that makes a difference!?
I was reading elsewhere in these forums that the non kexec kernels ( meaning that the bootloader is actually unlocked) don't work as well on twrp
Sent from my SCH-I535 using xda app-developers app
fritzboyle said:
That may be the case for the htc, the thing is, I am on a verizon samsung galaxy s 3.
I wonder if that makes a difference!?
I was reading elsewhere in these forums that the non kexec kernels ( meaning that the bootloader is actually unlocked) don't work as well on twrp
Click to expand...
Click to collapse
Every device is different, this discussion is about the One X(L). If you want more info on CWM vs. TWRP on the Galaxy S3, head over to the forum for your device. Don't follow the GS3, but would assume that its officially supported by CWM (which makes a huge difference). That is not even the case for the One X. Its not yet officially supported, and the CWM we have is just a port. Although an official version is in testing.
redpoint73 said:
Every device is different, this discussion is about the One X(L). If you want more info on CWM vs. TWRP on the Galaxy S3, head over to the forum for your device. Don't follow the GS3, but would assume that its officially supported by CWM (which makes a huge difference). That is not even the case for the One X. Its not yet officially supported, and the CWM we have is just a port. Although an official version is in testing.
Click to expand...
Click to collapse
I needed help how do.you erase battery history with twrp
Sent from my HTC One XL using xda app-developers app
htcbrazilian said:
I needed help how do.you erase battery history with twrp
Click to expand...
Click to collapse
On the main/home TWRP screen, go Wipe>battery stats.
But battery stats get wiped every time you charge the phone, anyway. There is not benefit to wiping it manually: http://www.xda-developers.com/android/google-engineer-debunks-myth-wiping-battery-stats-does-not-improve-battery-life/

[RECOVERY][THEA] TWRP 3.2.3-0 Touch Recovery [OFFICIAL]

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
DOWNLOAD : https://dl.twrp.me/thea/
BUGS:
If you have found a bug, please consider posting it to our github issues log and then I'll report to Dess_Troy. If you have a significant problem that cannot be answered in this thread, your best bet is to PM Dees_Troy directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!
SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
XDA:DevDB Information
[RECOVERY][THEA] TWRP 3.2.3-0 Touch Recovery [OFFICIAL], ROM for the Moto G 2014 LTE
Contributors
luca020400, LuK1337
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2016-02-07
Last Updated 2018-08-07
Reserved
Reserved
Source code : motog2014devteam
Source code : CyanogenMod
ok and how can we install it?
javierutxo said:
ok and how can we install it?
Click to expand...
Click to collapse
fastboot flash recovery file.img
LuK1337 said:
fastboot flash recovery file.img
Click to expand...
Click to collapse
aja, and what about unlock bootloader and rooting? the same process than moto g 2014?
javierutxo said:
aja, and what about unlock bootloader and rooting? the same process than moto g 2014?
Click to expand...
Click to collapse
Yes
javierutxo said:
ok and how can we install it?
Click to expand...
Click to collapse
Take the steps from here http://forum.xda-developers.com/moto-g-2015/general/rooting-moto-g-2015-lte-xt1078-t3086069
Just change the twrp.mg for the one in this post.
Good Luck!
Thank you!! Its worked for me on XT1072
Hello, It worked just fine on my XT1078
Thanks!
Is it possible to make this an "official" release ?
551790 said:
Is it possible to make this an "official" release ?
Click to expand...
Click to collapse
Yes , but I'm not going to do that
luca020400 said:
Yes , but I'm not going to do that
Click to expand...
Click to collapse
Hi Luca! Can you explain shortly how you built this image? Any manual that you can point me to?
I'm asking because I'd like to build it also for peregrine...
New build up
Download
idk whats happening. i unlocked my phone and installed this recovery and when i try to enter in recovery mode it shows and android with the exclamation sign and never continues to the actual recovery. it just stays there forever and then reboots by itself. can anyone tell me what is wrong?
Maledroid said:
idk whats happening. i unlocked my phone and installed this recovery and when i try to enter in recovery mode it shows and android with the exclamation sign and never continues to the actual recovery. it just stays there forever and then reboots by itself. can anyone tell me what is wrong?
Click to expand...
Click to collapse
You haven't flashed twrp
Reboot to bootloader
By pc
fastboot flash recovery twrp-thea.img
( with admin/sudo )
Then reboot to recovery
luca020400 said:
New build up
Download
Click to expand...
Click to collapse
Hi Luca, thank you very much for your hard work on this device.
About this new release of TWRP, I'd like to know, if possible, what are the main differences with the previuos one.
cgb.spender said:
Hi Luca, thank you very much for your hard work on this device.
About this new release of TWRP, I'd like to know, if possible, what are the main differences with the previuos one.
Click to expand...
Click to collapse
TWRP fixes
The TWRP version still 2.8.6 but it's 2.8.7
My encrypted TWRP nandroid backups fail with the following error message:
E:createTarFork() process ended with ERROR=255
Click to expand...
Click to collapse
This only happens when I use encryption, and it always happens right near the end of backing up the Data partition (the System partition backup completes successfully).
N.B. The percentage of files and MB processed do not increase in-step, like with an unencrypted backup. The MB percentage increases to 90%+ far quicker than the percentage of files processed. When the percentages come in-line with each other near the end of the Data partition backup, it fails, and the above error message is given.
I was using a Titan build of TWRP to create nandroid backups on my Thea device previously, and had no issues with encrypted backups.
This is an issue, as there are sensitive security details stored in the backup, which must be encrypted with a strong password.
Internal Storage failure?
sunka1 said:
My encrypted TWRP nandroid backups fail with the following error message:
....
Click to expand...
Click to collapse
This happens to me all the time all of a sudden. I did not change anything at all, except for flashing a new CM version.
I also get a strange stat error, something with google.photo cache.
Yesterday, I have then flashed the new 2.8.6(7). from a few posts above and that gave my phone the rest. It might be because I flashed through TWRP itself into the recovery partition, but now additional to the backup error above when I want to erase dalvik cache, the recovery just hangs. I also can't restore a backup atm.
Now I have reflashed the real 2.8.6.0 recovery and it still hangs when I want to wipe dalvik... wtf is going on here?
And oh yea, my phone does not boot anymore either, it just loops at the flash screen...
UPDATE:
After I found some info on this thread about similar issues, I factory reset my phone with stock recovery (TWRP was not reliable anymore, even the 2.8.6.0 version that was running perfectly before) and then reflashed the latest CM on a wiped internal storage. Now I am up and running again with minimal loss of data due to my TB backups that are scheduled and save to the SD.
But this leaves a very weird feeling back, basically my phone was rendered useless out of nowhere (I was running the previous CM for 2 weeks already), making TWRP backups impossible and forcing me to wipe the internal storage with all media on it without giving me the chance to back it up (MTP in TWPR was also very flaky and died several times half in copy operations). Something is going very wrong with this phone, never ever had that on any of my 5 previous htc devices and the fact that the OnePlusOne users are among the main ones that reported similar issues, I have a feeling it is linked to cheap storage quality. Motorola is a Chinese company now after all... :-/

Stupid question: Can using a custom rom randomly brick my device?

Is it possible my phone to hard brick or soft brick itself while i use it with a custom rom? I got this phone 3 weeks ago and if i break it, no smartphone for me for years (very tight budget).
geniiii said:
Is it possible my phone to hard brick or soft brick itself while i use it with a custom rom? I got this phone 3 weeks ago and if i break it, no smartphone for me for years (very tight budget).
Click to expand...
Click to collapse
Most cases a custom recovery for your phone will not do any harm
But before flashing read posts carefully because I soft bricked my phone because of a buggy twrp build
sjandroiddeveloper said:
Most cases a custom recovery for your phone will not do any harm
But before flashing read posts carefully because I soft bricked my phone because of a buggy twrp build
Click to expand...
Click to collapse
I meant a custom rom, i want to use FlexOS but i am kinda worried that it could brick my device while i use it. Is that possible?
I am already using a custom recovery, supersu and xposed alpha 3.
geniiii said:
I meant a custom rom, i want to use FlexOS but i am kinda worried that it could brick my device while i use it. Is that possible?
I am already using a custom recovery, supersu and xposed alpha 3.
Click to expand...
Click to collapse
No it will not brick
But you must first have enough info of what you are doing
sjandroiddeveloper said:
No it will not brick
But you must first have enough info of what you are doing
Click to expand...
Click to collapse
Thanks!
Sorry to hijack, but it's kind of related. Are there consequences to flashing the incorrect regional stock ROM?
Blkdrgn415 said:
Sorry to hijack, but it's kind of related. Are there consequences to flashing the incorrect regional stock ROM?
Click to expand...
Click to collapse
No just keep in mind the model like xt1033 or xt1032
sjandroiddeveloper said:
No just keep in mind the model like xt1033 or xt1032
Click to expand...
Click to collapse
Just to be clear, mines is a XT1039 with a CID of 7. My build number is also ""KXB21.14-L1.56" which is exactly matches with Germany where as every other one with CID7 ends with "-1", can I also use the other regions or do I need to use Germany. What are also the differences between the regions?
Blkdrgn415 said:
Just to be clear, mines is a XT1039 with a CID of 7. My build number is also ""KXB21.14-L1.56" which is exactly matches with Germany where as every other one with CID7 ends with "-1", can I also use the other regions or do I need to use Germany. What are also the differences between the regions?
Click to expand...
Click to collapse
The basic thing is you can flash different region firmwares for the same specific device like xt0139 in you case as I was able to flash both Asian and Brazilian firmware in my xt1033
The difference in the firmwares in region specific apps and different radios
sjandroiddeveloper said:
The basic thing is you can flash different region firmwares for the same specific device like xt0139 in you case as I was able to flash both Asian and Brazilian firmware in my xt1033
The difference in the firmwares in region specific apps and different radios
Click to expand...
Click to collapse
Thanks for the help, one last thing though. What if I made a recovery via CWM to my internal SD, but moved it to my external SD, would the recovery still work, and are there any risks of flashing a recovery that is incomplete as whenever I use Recovery Manager to backup to my external SD, it always hangs at "Generating md5 sum" and I'm forced to manually restart.
Blkdrgn415 said:
Thanks for the help, one last thing though. What if I made a recovery via CWM to my internal SD, but moved it to my external SD, would the recovery still work, and are there any risks of flashing a recovery that is incomplete as whenever I use Recovery Manager to backup to my external SD, it always hangs at "Generating md5 sum" and I'm forced to manually restart.
Click to expand...
Click to collapse
By recovery do you mean backup
And press thanks instead of saying
sjandroiddeveloper said:
By recovery do you mean backup
And press thanks instead of saying
Click to expand...
Click to collapse
I think so. Whatever CWM calls it's backups.
Blkdrgn415 said:
I think so. Whatever CWM calls it's backups.
Click to expand...
Click to collapse
Recovery means the software that can perform tasks like flashing wiping or backing up
And its always called backups and not recovery be it cwm or twrp
Blkdrgn415 said:
Thanks for the help, one last thing though. What if I made a recovery via CWM to my internal SD, but moved it to my external SD, would the recovery still work, and are there any risks of flashing a recovery that is incomplete as whenever I use Recovery Manager to backup to my external SD, it always hangs at "Generating md5 sum" and I'm forced to manually restart.
Click to expand...
Click to collapse
Yes you can made backup in internal memory and move it to external memory or even to other storage devices or to your computer. If you want to restore the backup again, put the backup in concerned folder in your mobile and restore it from recovery :good:
sjandroiddeveloper said:
Recovery means the software that can perform tasks like flashing wiping or backing up
And its always called backups and not recovery be it cwm or twrp
Click to expand...
Click to collapse
Mr Y said:
Yes you can made backup in internal memory and move it to external memory or even to other storage devices or to your computer. If you want to restore the backup again, put the backup in concerned folder in your mobile and restore it from recovery :good:
Click to expand...
Click to collapse
So is there any threat to restoring a backup that may be corrupted or incomplete since I manually restarted when it hung up at "Generating md5 sum..."?
Also, will using these files completely restore my phone back to when I first got it? For example, if a crucial system file was corrupted, would using these files fix it, or if my phone has been soft bricked, would it fix it?
http://forum.xda-developers.com/moto-g/4g-development/xt1039-moto-g-4g-stock-firmware-kxb21-t2805619
+thanks
Blkdrgn415 said:
So is there any threat to restoring a backup that may be corrupted or incomplete since I manually restarted when it hung up at "Generating md5 sum..."?
Also, will using these files completely restore my phone back to when I first got it? For example, if a crucial system file was corrupted, would using these files fix it, or if my phone has been soft bricked, would it fix it?
http://forum.xda-developers.com/moto-g/4g-development/xt1039-moto-g-4g-stock-firmware-kxb21-t2805619
+thanks
Click to expand...
Click to collapse
1. If the backup you made previously was corrupted or incomplete, then the recovery wont start the process of restoring.
2. Yes. It will fix the soft-bricks and the phone will be restored to its "Out of box" state except your bootloader will still be in unlocked state since there is no syntax to lock your bootloader in the given link.
Mr Y said:
1. If the backup you made previously was corrupted or incomplete, then the recovery wont start the process of restoring.
2. Yes. It will fix the soft-bricks and the phone will be restored to its "Out of box" state except your bootloader will still be in unlocked state since there is no syntax to lock your bootloader in the given link.
Click to expand...
Click to collapse
Thank you so much, I've been contemplating whether to use my recovery and the stock firmware for weeks.
+thanks
Blkdrgn415 said:
Thank you so much, I've been contemplating whether to use my recovery and the stock firmware for weeks.
+thanks
Click to expand...
Click to collapse
I'll advise you to keep stock firmware as safety measurements (if something goes wrong) and explore other ROMs and tweaks.:good:
Mr Y said:
I'll advise you to keep stock firmware as safety measurements (if something goes wrong) and explore other ROMs and tweaks.:good:
Click to expand...
Click to collapse
Will do, I'm new to phones in general, do you have any recommendations on popular ROMs for my Moto G 4G/LTE XT1039 KitKat 4.4.4?
Official CM 11 are stable in my opinion. Resurrection Remix ROMs also doig great job. BTW im CM fanboy. So better test yourself to choose wisely.

[RECOVERY][3.2.3-0][shark]Unofficial TWRP recovery for BlackShark (Testing)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- Decrypt is not working for now
- Backup still have some problems use it carefully
Install guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Run "fastboot boot recoveryimgfilename.img" in command line (if you want to have it permanently you should flash the installer)
5. If you will flash the installer and you are stock you need also to flash magisk or your phone will not boot again
6. Enjoy it
How to flash a custom Rom:
Boot twrp
Flash rom
Flash twrp installer
Boot twrp
Wipe data & art cache
Flash magisk
Reboot
Tips:
If you alread have a twrp flashed you can only flash the new installer zip to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.2.3-0 Unofficial by mauronofrio
TWRP 3.2.3-0 Unofficial Installer by mauronofrio
Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_blackshark_shark
Donations:
Credits:
Thanks to @kanded for the testing
Created 2019-01-23
finally. thanks for the hardworking. i will check if it works or not.
Thank you for your hard work.
Seem this rec was for international version, as it showed SKR-H0 when I connected to the phone to PC.
As for CN ver in which I made the try, it reverses the screen.
To me, the decryption has gone after wiping /data and booting again using fastboot.
Backup was smooth. MTP mount was also great.
Now I'm trying flashing magisk. Will update ASAP
---------- Post added at 08:10 AM ---------- Previous post was at 07:42 AM ----------
Updating
CN version works great with back up and magisk using the TWRP from the OP, just remember to boot into stock recovery to wipe after magisk flashing as I could not reboot successfully from TWRP.
As for installing this rec permanently, I have not tried.
Once more time, thank you.
This is great news! I really love the progress we have made as a community!
Thank you for your hard work, I'll be testing it today
EDIT: tested, here are the problems found so far testing it on a chinese SKR-A0:
- the image on the display is upside down but the touch is right, so navigating the menus requires some effort
loriz said:
This is great news! I really love the progress we have made as a community!
Thank you for your hard work, I'll be testing it today
EDIT: tested, here are the problems found so far testing it on a chinese SKR-A0:
- the image on the display is upside down but the touch is right, so navigating the menus requires some effort
Click to expand...
Click to collapse
If needed i can fix upside down display, but why one version is upside down and the other one not?
mauronofrio said:
If needed i can fix upside down display, but why one version is upside down and the other one not?
Click to expand...
Click to collapse
I got no idea on this actually it works, just the cosmetic issue. I think spending on next release with other issue is better than concentrating on this small one.
Appreciated your work and hope to see the update
ndt192 said:
I got no idea on this actually it works, just the cosmetic issue. I think spending on next release with other issue is better than concentrating on this small one.
Appreciated your work and hope to see the update
Click to expand...
Click to collapse
Test this twrp, if the screen is good and touchscreen works:
https://www.androidfilehost.com/?fid=11410963190603906667
mauronofrio said:
Test this twrp, if the screen is good and touchscreen works:
Click to expand...
Click to collapse
Nothing changed.
The screen is turned upside down as in the first version
Hello guys. I installed TWRP, well, when I tried to put Magisk, something went wrong, and now I can not log in to the system, the boot sign in the system constantly hangs. I can not delete Magisk using magisk uninstaller, it gives an error that I need to mount the system. With TWRP, I can not do this. The section is, well, you can not mount. I need your help, please skip the Boot section from the global version, it may still be possible to start the system.
3gpaBcTByuTe said:
Hello guys. I installed TWRP, well, when I tried to put Magisk, something went wrong, and now I can not log in to the system, the boot sign in the system constantly hangs. I can not delete Magisk using magisk uninstaller, it gives an error that I need to mount the system. With TWRP, I can not do this. The section is, well, you can not mount. I need your help, please skip the Boot section from the global version, it may still be possible to start the system.
Click to expand...
Click to collapse
I think you should:
- wipe data
- install Magisk
- boot into original recovery
- wipe data again from there
- reboot
And you should be able to boot!
loriz said:
I think you should:
- wipe data
- install Magisk
- boot into original recovery
- wipe data again from there
- reboot
And you should be able to boot!
Click to expand...
Click to collapse
Thanks for the answer, well the fact that I do not have the original boot.img (I made a backup system when I already rewrote the original boot(
If you have the opportunity, throw off please original boot.img from global version. I will be very grateful and grateful!
3gpaBcTByuTe said:
Thanks for the answer, well the fact that I do not have the original boot.img (I made a backup system when I already rewrote the original boot(
If you have the opportunity, throw off please original boot.img from global version. I will be very grateful and grateful!
Click to expand...
Click to collapse
If needed i can explain on how to extract the stock boot.img, i have not the black shark so i can't do it by me
mauronofrio said:
If needed i can explain on how to extract the stock boot.img, i have not the black shark so i can't do it by me
Click to expand...
Click to collapse
Write a way to do this. I would be very grateful, there may be people who will want to help me, and I’ll draw out the original boot.img. Maybe I'm not the first, and not the last who will face this situation, and already it will be for all the same as I have an airbag.
3gpaBcTByuTe said:
Hello guys. I installed TWRP, well, when I tried to put Magisk, something went wrong, and now I can not log in to the system, the boot sign in the system constantly hangs. I can not delete Magisk using magisk uninstaller, it gives an error that I need to mount the system. With TWRP, I can not do this. The section is, well, you can not mount. I need your help, please skip the Boot section from the global version, it may still be possible to start the system.
Click to expand...
Click to collapse
i sent you mssg
They threw me the original boot.img from the December update, well, this did not save the system. Permanent reboot of the phone goes on the letter "S". What could be the reason?
http://transfiles.ru/qqpem
thanks for your work . how can i decript???
i´ll wait for the next update thanks!!!!
mauronofrio said:
If needed i can explain on how to extract the stock boot.img, i have not the black shark so i can't do it by me
Click to expand...
Click to collapse
Can you please explain how to extract the stock boot.img? Nice work btw!
After flash magisk I hung up the logo, what should I do now
kanded said:
i sent you mssg
Click to expand...
Click to collapse
Thank you very much Brother !!! You really helped me a lot !!! There would be more people like you in our world, and in this community !!!
3gpaBcTByuTe said:
Thank you very much Brother !!! You really helped me a lot !!! There would be more people like you in our world, and in this community !!!
Click to expand...
Click to collapse
To extract the stock boot, you should boot the twrp and from the pc using adb run these commands (remember if you have already rooted or if you flashed the twrp installer, you have no more the stock boot on your deivce:
Code:
adb shell dd if=/dev/block/bootdevice/by-name/boot of=/boot.img
adb pull /boot.img <pcpath>
For example in my case to copy it on desktop:
Code:
adb shell dd if=/dev/block/bootdevice/by-name/boot of=/boot.img
adb pull /boot.img D:\Desktop

Categories

Resources