Related
* Your warranty is now void.
I am not responsible if this causes your device to be bricked, for the planets to align, monkeys take over the earth, nuclear war, missed sexual favors or whatever nonsense ensues due to your device not working. Please do some research if you have any concerns before flashing.
By using this recovery you agree to these terms!
Click to expand...
Click to collapse
Clockworkmod Advanced 5
http://d-h.st/BNT
Bugs
-cwm runs in background while charging(Fixed)
-tell me?
Install
(requires unlocked bootloader)
Code:
fastboot flash recovery recovery.img
To enter CWM(or stock recovery) turn off and then hold vol up+power
https://github.com/KainXS/android_device_huawei_y301a2/tree/cwm
Credits
ShabbyPenguin - Phandroid
KINGbabasula
CNexus
Would you be able to port CWM to a Huawei G526-L22?
Specs are similar to this Vitria(Y301-A2).
Tried this .img but can't mount /cache/recovery etc
extendcommand threw up failed to mount /dev/block/platform/msm_sdcc.1/by-name/cache
(no such file or directory)Yet that path/directory is present in file explorer.Any assistance would be much appreciated.
The device has been discounted to AU$99 so a lot of geeks have grabbed them and are looking for mods
As is the norm for android heads ;|}Regards from Down Under
Gomax
gomax said:
Would you be able to port CWM to a Huawei G526-L22?
Specs are similar to this Vitria(Y301-A2).
Tried this .img but can't mount /cache/recovery etc
extendcommand threw up failed to mount /dev/block/platform/msm_sdcc.1/by-name/cache
(no such file or directory)Yet that path/directory is present in file explorer.Any assistance would be much appreciated.
The device has been discounted to AU$99 so a lot of geeks have grabbed them and are looking for mods
As is the norm for android heads ;|}Regards from Down Under
Gomax
Click to expand...
Click to collapse
do you have the original recovery backed up
and can you run these commands while its booted in android with adb
cat /proc/partitions (info on partition sizes)
run ls too
and did you just take the image and flash it without modifying it.
Was sent the image by a developer, who has sent a revised version which works.
Thanks for your interest.
good to hear:good:
but did you really flash the recovery without modifying anything and it booted on the 526
KainXSS said:
good to hear:good:
but did you really flash the recovery without modifying anything and it booted on the 526
Click to expand...
Click to collapse
Both versions booted OK.
The first didn't mount external card.
gomax said:
Both versions booted OK.
The first didn't mount external card.
Click to expand...
Click to collapse
wow if it booted unmodified at all, these devices must be extremely similar minus the screen, hopefully kernel source pops up for one of them, guess the recovery fstabs were different though
edit
the link is gone?
I requested the source code for the vitria a month ago and huawei just released it
http://consumer.huawei.com/en/support/downloads/detail/index.htm?id=17935
I had time to play around with it and build it, did not boot though, wanted to clean it up some but yesterday I broke my hand so there might not be updates for a while.
how did you get the unlock password for this device? im on their website but it doesn't list this device....
mattlowry said:
how did you get the unlock password for this device? im on their website but it doesn't list this device....
Click to expand...
Click to collapse
sorry it took so long to answer but I got the unlock password from huawei by emailing them, I haven't worked on this device solidly in a while.
you might be able to also flash recovery with adb also, if you wanna try it let me know because I unlocked my bootloader before using adb but when I try it works.
remembered to upload cwm advanced 5
also have cwm 6.0.4.7 and advanced 6 but I need to fix a nasty bug with it.
forgot to add if someone were to upload the recovery.img's and a partition layout for the g526 or G740 I can more than likely try to get cwm and cwm advanced running on them.
had to change the vitria recovery to mount by name instead of block number, changed font also.
added source
KainXSS said:
sorry it took so long to answer but I got the unlock password from huawei by emailing them, I haven't worked on this device solidly in a while.
you might be able to also flash recovery with adb also, if you wanna try it let me know because I unlocked my bootloader before using adb but when I try it works.
Click to expand...
Click to collapse
Yes, it takes a few email exchanges with [email protected], but I got my unlock password in couple of days from them.
Great job, OP, works like a charm.
Finally got my unlock from Huawei after a week, and just in time! I lost my old HTC G2 (its somewhere in the kitchen, i swear!) and needed a replacement phone fast.
Enter the Vitria. installed CWM and did a full backup, then installed titanium backup and started ripping out bloatware and live wallpapers and other crap.
I have to say, i REALLY hope development of Cyanogen continues for this device, its hard enough leaving CM7 to go to jelly bean. If there's anything i can assist with with a backed up/bootloader unlocked device, let me know. Or buy you enough beer to last a weekend so you can get this compiled
Flashify
I did something different, I flashed with flashify but I realize now I shouldn't have, it reboots but has a signature error before rebooting, I sure hope there will be cynogen mod or something because this phone has a data connection problem, once data goes off it won't come back on until restart and sometimes all bars without data goes off too and then have reboot too, good phone but needs work, glad to see someone out there doing something, thanks.
OK, I think I know how to fix, but I don't have the correct IMG to fix since I have already corrupted it by flashing with flashify.
Does anybody have the recovery.img and the boot.img from a working stock for this phone?
by having a good recovery.img, I can flash with flashify and get it back to working correctly, this is what I did to fix a similar problem from flashing CWM to my LG G2 and worked.
Update, downloaded stock ROM and the recovery and boot img where there so I flashed recovery.img with flashify and everything good.
Just wondering, anybody has a recovery of their Vitria that already has CWM working properly on it, I wonder if that recovery.img contains proper CWM to be flashed to another Vitria?
this is not for the h882l, it might work on that one but I don't know.
if you try to flash without having the bootloader unlocked, it won't work, you will get a crc signature failure error every boot even if you use adb or a flashing app, after unlocking you can use adb, not sure about flashify(never tried it).
CRC Signiture Error
KainXSS said:
this is not for the h882l, it might work on that one but I don't know.
if you try to flash without having the bootloader unlocked, it won't work, you will get a crc signature failure error every boot even if you use adb or a flashing app, after unlocking you can use adb, not sure about flashify(never tried it).
Click to expand...
Click to collapse
Yes CRC Signiture Error, but the bootloader is unlocked, I use T-Mobile with phone, but only problems I see with this phone is connecting to Data all the time, I end up having to turn data off then back on then it is usually fine sometimes it has problems still, I did pay a service to get the bootloader unlocked with a code so it is unlocked.
Would like to see a nice ROM built for this phone, I haven't the slightest clue to do so, Cyanogen mod would be fine.
Did try to install CWM but could not do so, is this the touch or regular version of CWM you have listed?
Keep up the good work, thanks.
Arctic Prodigy said:
Yes CRC Signiture Error, but the bootloader is unlocked, I use T-Mobile with phone, but only problems I see with this phone is connecting to Data all the time, I end up having to turn data off then back on then it is usually fine sometimes it has problems still, I did pay a service to get the bootloader unlocked with a code so it is unlocked.
Would like to see a nice ROM built for this phone, I haven't the slightest clue to do so, Cyanogen mod would be fine.
Did try to install CWM but could not do so, is this the touch or regular version of CWM you have listed?
Keep up the good work, thanks.
Click to expand...
Click to collapse
I also use tmobile on mine and I have data problems too but haven't tried to fix it yet, don't have the time but your bootloader is unlocked right, your not confusing sim unlock with bootloader unlock right, also your using fastboot to install right.
I am not working on cyanogenmod for the vitria though, it needs a device tree and the kernel needs to be updated for it too, on mine I just run with a custom rom based on stock and a custom kernel for overclocking and stuff, thats enough for me.
Maybe sim unlocked, but thought was bootloader unlocked, I paid to get phone unlocked, they sent a code and I am able to use t-mobile sim card on MetroPCS phone, as for bootloader, it is rooted and says unlocked if that is what you mean, I have SuperSu installed, I used Framaroot as suggested.
Yes I can get into fastboot mode.
Hmm, to verify if bootloader is truly unlocked, how would I go about getting to that to verify for certainty?
So I think I am screwed here but was wondering if anyone has run into similar issue. I was running SlimKat and had the data encrypted and I used BootUnlocker to relock the bootloader after I flashed TWRP a few months back. Been working fine for a couple weeks then yesterday I pull my phone out my pocket and it looks like it factory reset prompting to input all my info. So I reboot the phone thinking could be fluke and it doesnt prompt me for decyption password and again boots to setup screen. If you do login you cannot access the internal storage and there is no data connection. So I rebooted into TWRP and it prompts for decryption password only its not working. If I put in wrong password it comes back immediately that it failed. If I try correct password it tries for 30 - 45 seconds then comes back with failed. So tried downloading factory image and flash with fasboot but was complaining about bootloader locked. So I issued fastboot oem unlock and choose yes the screen switches to unlocked but doesnt wipe anything try to flash again and I get FAILED flash write failure. When I reboot to the bootloader it shows as locked again. I think my flash took a crap. Anyone have any ideas?
I bought my N5 used....and guess what, it was encrypted. And i didn't know it.
Well after a series of unfortunate events, LOL, I found this.....it worked for me when I thought my brand new (new to me) N5 was bricked.
http://forum.xda-developers.com/showthread.php?t=2513937
Sent from my cell phone telephone....
since its been possible to encrypt with android, it has cause everyone issues, eventually. with as many people that ive known that have encrypted, every single one of them has had issues, eventually. eventually because it usually doesnt happen right away, but somewhere down the line. i constantly tell people not to encrypt, that they will have an issue later.
sounds like you will be flashing the factory img at some point.
kj2112 said:
I bought my N5 used....and guess what, it was encrypted. And i didn't know it.
Well after a series of unfortunate events, LOL, I found this.....it worked for me when I thought my brand new (new to me) N5 was bricked.
http://forum.xda-developers.com/showthread.php?t=2513937
Sent from my cell phone telephone....
Click to expand...
Click to collapse
Tried that doesnt work due to the locked boot loader. Issuing fasboot oem unlock doesn't actually unlock it.
simms22 said:
since its been possible to encrypt with android, it has cause everyone issues, eventually. with as many people that ive known that have encrypted, every single one of them has had issues, eventually. eventually because it usually doesnt happen right away, but somewhere down the line. i constantly tell people not to encrypt, that they will have an issue later.
sounds like you will be flashing the factory img at some point.
Click to expand...
Click to collapse
Yea, I've been trying to flash a factory img but I can't due to the locked bootloader and issuing fasboot oem unlock won't unlock it.
what do you mean doesnt unlock it?
prestonr83 said:
Yea, I've been trying to flash a factory img but I can't due to the locked bootloader and issuing fasboot oem unlock won't unlock it.
Click to expand...
Click to collapse
very odd!
youre device is seen by fastboot(not adb)?
prestonr83 said:
Tried that doesnt work due to the locked boot loader. Issuing fasboot oem unlock doesn't actually unlock it.
Click to expand...
Click to collapse
That's a good point.
I'm afraid that if you cant flash the stock image, and you can't unlock the bootloader to try other methods....you may be at an impass.
You need to either get the stock image back on. Or unlock the bootloader, Then try my link. Not sure what else can be done here.
Sent from my cell phone telephone....
---------- Post added at 05:03 PM ---------- Previous post was at 05:01 PM ----------
Oh....and again.....you may have driver issues on the pc, and that's why fastboot isn't seeing the phone. That is the first thing that needs to be corrected.
Sent from my cell phone telephone....
Zepius said:
what do you mean doesnt unlock it?
Click to expand...
Click to collapse
I mean i put it in fastboot issue fastboot oem unlock it prompts me on the phone to choose yes or no. I choose yes it then immediately goes back to fastboot screen and shows unlocked. However when trying to flash anything it fails and upon rebooting back into fastboot it again shows as locked.
Your emmc is dead. RMA it
Sent from my Nexus 5 using Tapatalk
simms22 said:
very odd!
youre device is seen by fastboot(not adb)?
Click to expand...
Click to collapse
yes fastboot is reading the phone. but issuing fastboot oem unlock doesn't actually unlock it. I tried fastboot boot recovery.img to get into stock recovery to see if it would let me do factory reset however after booting into stock recovery I am unable to get the menu to pop up to allow me to factory reset.
prestonr83 said:
yes fastboot is reading the phone. but issuing fastboot oem unlock doesn't actually unlock it. I tried fastboot boot recovery.img to get into stock recovery to see if it would let me do factory reset however after booting into stock recovery I am unable to get the menu to pop up to allow me to factory reset.
Click to expand...
Click to collapse
have you tried flashing clockworkmod recovery and factory resetting it there?
simms22 said:
since its been possible to encrypt with android, it has cause everyone issues, eventually. with as many people that ive known that have encrypted, every single one of them has had issues, eventually. eventually because it usually doesnt happen right away, but somewhere down the line. i constantly tell people not to encrypt, that they will have an issue later.
sounds like you will be flashing the factory img at some point.
Click to expand...
Click to collapse
Advice I would really have to disagree with as it is a built in security measure; telling people to avoid using proven security methods is sketchy in itself. I had my Nexus 4 encrypted for the last 4 months and had never had any issues. What issues are you talking about?
Encryption slows the device down... We all know that. Also, if by chance someone forgets their pw (yes... Seen it happen plenty) you lose al your stuff to get back in.
Anyway, to each their own... But I'm not important enough to worry about what's on my phone getting into the wrong hands. ?
I want to try some custom roms on my oneplus 3 but can't do so as twrp is asking for a password to mount my internal storage. I don't know anything about any password because I never set one.
can somebody please help me. this is very irritating
nishant1993.15 said:
I want to try some custom roms on my oneplus 3 but can't do so as twrp is asking for a password to mount my internal storage. I don't know anything about any password because I never set one.
can somebody please help me. this is very irritating
Click to expand...
Click to collapse
I'm trying to remember how I got past this. Here's a couple tips that might help. If they don't work, then maybe someone who knows better will chime in.
1. Make sure you have the latest version of TWRP installed.
2. Try "default_password" without the quotes.
3. Try changing your settings to add a password and require a password at boot. Reboot the device into system, entering the password. Then reboot into Recovery and try that password.
4. Wait for someone smarter than me. [emoji6]
Sent from my ONEPLUS A3000 using Tapatalk
Tried all of this. Nothing helped.
nishant1993.15 said:
I want to try some custom roms on my oneplus 3 but can't do so as twrp is asking for a password to mount my internal storage. I don't know anything about any password because I never set one.
can somebody please help me. this is very irritating
Click to expand...
Click to collapse
Try this
Boot into ROM, create a 4 digit pin screen lock, then use flashify to flash recovery, then boot into new recovery and use pin.
Boom, you have decrypted recovery. You can boot back into your rom and change the passcode to "none" and twrp won't ask for a pin.
This is because when twrp initially boots it sees a "default_password" but if you go into twrp and try to type default password it will not work because there isn't a default password it just sees there is one except its unlisted it's kind of a double negative but a way around that is to create a password
Sent from my SM-S903VL using Tapatalk
I'm on a Pixel 2 and I sideloaded the February 2018 security update. I tried to install Magisk again by using "fastboot boot twrp-image.img". I've tried all the versions of TWRP available on their site (twrp.me)
I get into TWRP and enter in my pin to decrypt the phone, which I've always used. TWRP says incorrect password. This is the first time I've ever gotten this.
Anybody else having the same issue, or tips to fix? Thanks!
Yes, it's been mentioned a few times. Simply remove the password lock from your phone before booting into recovery, then add your password back after you're done flashing.
PuffDaddy_d said:
Yes, it's been mentioned a few times. Simply remove the password lock from your phone before booting into recovery, then add your password back after you're done flashing.
Click to expand...
Click to collapse
Thank you for this. I did quite a bit of searching last night and this morning but couldn't find anything on it. This makes sense and I'll give a try when I get home.
habicabi said:
Thank you for this. I did quite a bit of searching last night and this morning but couldn't find anything on it. This makes sense and I'll give a try when I get home.
Click to expand...
Click to collapse
I've try removing pin and it still ask for password. Any idea why? Having the same issues as you have.
Thanks
veedubrocks said:
I've try removing pin and it still ask for password. Any idea why? Having the same issues as you have.
Thanks
Click to expand...
Click to collapse
I removed the pin and when I went to fastboot boot twrp.img, it went right through without prompting for a password in TWRP.
You may need to reboot first, after the pin removal
habicabi said:
I removed the pin and when I went to fastboot boot twrp.img, it went right through without prompting for a password in TWRP.
You may need to reboot first, after the pin removal
Click to expand...
Click to collapse
Thanks. I just ADB sideload. Work perfectly
veedubrocks said:
Thanks. I just ADB sideload. Work perfectly
Click to expand...
Click to collapse
Awesome! Cheers!
Blech, re-signing in to every app with a fingerprint and resetting up fingerprints sounds like a drag
Am n the same boat i cant access none of my files including the no-dmverity.zip suppose to flash after booting twrp.img to flash twrp.zip
PuffDaddy_d said:
Yes, it's been mentioned a few times. Simply remove the password lock from your phone before booting into recovery, then add your password back after you're done flashing.
Click to expand...
Click to collapse
doesent work on galaxy s9/los15.1
Hi,
Long story short - Trying to encrypt my phone so that I can properly use Work Profile with Intune Company portal as my employer requires the phone to be encrypted.
Have flashed twrp-3.6.0_11-0-guacamolev2.img and using latest crDroid. When i press Encrypt, phone freezes and gets stuck in a boot loop. I have to wipe the phone in order for it to boot again. I have founds some posts where it seems that one cannot encrypt the phone with twrp, and some posts and guides where it seems as people have been able to by shorteing the block count in the data partition (i have not tired this - a bit wary since the post was two years old). I have tried to boot the mauronofrio TWRP builds, but after I have sent to boot in fastboot mode, the phone never gets past the "Fastboot Mode" screen.
Any idea, or even better - guides, would be greatly appriciated.
Thank you!
Sieges said:
Hi,
Long story short - Trying to encrypt my phone so that I can properly use Work Profile with Intune Company portal as my employer requires the phone to be encrypted.
Have flashed twrp-3.6.0_11-0-guacamolev2.img and using latest crDroid. When i press Encrypt, phone freezes and gets stuck in a boot loop. I have to wipe the phone in order for it to boot again. I have founds some posts where it seems that one cannot encrypt the phone with twrp, and some posts and guides where it seems as people have been able to by shorteing the block count in the data partition (i have not tired this - a bit wary since the post was two years old). I have tried to boot the mauronofrio TWRP builds, but after I have sent to boot in fastboot mode, the phone never gets past the "Fastboot Mode" screen.
Any idea, or even better - guides, would be greatly appriciated.
Thank you!
Click to expand...
Click to collapse
refer here (Do clean flash again)
[Guide] Enable encryption on a custom ROM which has it disabled by default
Hello everyone, this thread is a guide on how to enable encryption on ROMs that have it disabled. ROMs that have encryption disabled, usually do it because TWRP is not fully working, or they want to make switching ROMs an easier task. This zip...
forum.xda-developers.com
Thank you very much. Don't know how i missed that one.
I have flashed and phone says Encrypted. However, when booting TWRP to flash Magisk, i cannot see any files - nor do i get prompted for a password. Is there a trick to Decrypting?
Sieges said:
Thank you very much. Don't know how i missed that one.
I have flashed and phone says Encrypted. However, when booting TWRP to flash Magisk, i cannot see any files - nor do i get prompted for a password. Is there a trick to Decrypting?
Click to expand...
Click to collapse
you need to formart data
abhi0502 said:
you need to formart data
Click to expand...
Click to collapse
I seem to have made a silly mistake. Is there any way of decrypting?
Sieges said:
I seem to have made a silly mistake. Is there any way of decrypting?
Click to expand...
Click to collapse
no not now after you have flash the encryption zip. There is no other option except clean flash