[ROM][5.1.1][Unofficially | CM12.1 For Huawei Ascend G760] [2016-01-16]

mparus

Senior Member
May 21, 2009
683
1,077
0
Great !
This does not work in no one ROM (include stock) what I test - you are n1 :)

thanks
new update in first post
rom and recovery with encryption internal storage support.

cm-12.1-20160218-UNOFFICIAL-mparus-g760.zip
twrp-12.1-20160218-UNOFFICIAL-mparus-g760.zip

!!! Please backup userdata = internal storage + data partition before encryption start. !!!

If you have any problem:
1. install new rom and recovery
2. again backup userdata :) - copy file from internal memory and backup data, system, boot from twrp
3. reboot to new recovery
4. from adb shell:
umount /data
umount /sdcard
format data partition - use command:
mke2fs -b4096 -T ext4 /dev/block/bootdevice/by-name/userdata 3010011 - check value "3010011" - post: http://vogelchr.blogspot.com/2015/08/full-disk-encryption-with-cyanogenmod.html)
5. reboot to system -
set pin to lockscreen
encrypt phone from settings
6. after reboot use pin and decrypt phone
7. reboot to recovery and decrypt data partition!
8. wipe system, data, cache from twrp
9. restore system, data, boot from twrp backup
10. reboot
 

millocorona

Member
Feb 20, 2016
11
2
0
How long does the battery normally?

In the older version i only get about 8 hours but only with 45 min of Screen but with stock aproximately about 18 hours and 4 of screen
 

RoboSK

Member
Nov 24, 2012
36
4
0
new update in first post
rom and recovery with encryption internal storage support.

cm-12.1-20160218-UNOFFICIAL-mparus-g760.zip
twrp-12.1-20160218-UNOFFICIAL-mparus-g760.zip

!!! Please backup userdata = internal storage + data partition before encryption start. !!!

If you have any problem:
1. install new rom and recovery
2. again backup userdata :) - copy file from internal memory and backup data, system, boot from twrp
3. reboot to new recovery
4. from adb shell:
umount /data
umount /sdcard
format data partition - use command:
mke2fs -b4096 -T ext4 /dev/block/bootdevice/by-name/userdata 3010011 - check value "3010011" - post: http://vogelchr.blogspot.com/2015/08/full-disk-encryption-with-cyanogenmod.html)
5. reboot to system -
set pin to lockscreen
encrypt phone from settings
6. after reboot use pin and decrypt phone
7. reboot to recovery and decrypt data partition!
8. wipe system, data, cache from twrp
9. restore system, data, boot from twrp backup
10. reboot
hello, TWRP .zip is corrupted, MD5 is OK...
 

mparus

Senior Member
May 21, 2009
683
1,077
0
hello, TWRP .zip is corrupted, MD5 is OK...
I check this but twrp is .img file. You must boot phone to bootloader phone, use command "reboot bootloader" from adb and use fastboot to install new twrp.
fastboot flash recovery name-my-recovery-file.img

I must rename extension filename to img :(

Sent from my HUAWEI G760-L01 using Tapatalk
 
Last edited:

RoboSK

Member
Nov 24, 2012
36
4
0
I check this but twrp is .img file. You must boot phone to bootloader phone, use command "reboot bootloader" from adb and use fastboot to install new twrp.
fastboot flash recovery name-my-recovery-file.img

I must rename extension filename to img :(

Sent from my HUAWEI G760-L01 using Tapatalk
.zip confused me :)
time to test, thanks
 
  • Like
Reactions: Lalraen

RoboSK

Member
Nov 24, 2012
36
4
0
new update in first post
rom and recovery with encryption internal storage support.

cm-12.1-20160218-UNOFFICIAL-mparus-g760.zip
twrp-12.1-20160218-UNOFFICIAL-mparus-g760.zip

!!! Please backup userdata = internal storage + data partition before encryption start. !!!

If you have any problem:
1. install new rom and recovery
2. again backup userdata :) - copy file from internal memory and backup data, system, boot from twrp
3. reboot to new recovery
4. from adb shell:
umount /data
umount /sdcard
format data partition - use command:
mke2fs -b4096 -T ext4 /dev/block/bootdevice/by-name/userdata 3010011 - check value "3010011" - post: http://vogelchr.blogspot.com/2015/08/full-disk-encryption-with-cyanogenmod.html)
5. reboot to system -
set pin to lockscreen
encrypt phone from settings
6. after reboot use pin and decrypt phone
7. reboot to recovery and decrypt data partition!
8. wipe system, data, cache from twrp
9. restore system, data, boot from twrp backup
10. reboot

important is bettwen point 1 and 2 Boot to Android, connect USB cable <->PC/NB and Allow USB Debugging for device forever, without this adb in TWRP not work, device is not authorized...

point 9 is important, for me after encrypt Android not boot correctly but after restoring the device is encrypted and fully functional

thanks
 
  • Like
Reactions: luxt12

mparus

Senior Member
May 21, 2009
683
1,077
0
important is bettwen point 1 and 2 Boot to Android, connect USB cable <->PC/NB and Allow USB Debugging for device forever, without this adb in TWRP not work, device is not authorized...

point 9 is important, for me after encrypt Android not boot correctly but after restoring the device is encrypted and fully functional

thanks
thank you very much for your corrections :)

Sent from my HUAWEI G760-L01 using Tapatalk
 
  • Like
Reactions: luxt12

mparus

Senior Member
May 21, 2009
683
1,077
0
important is bettwen point 1 and 2 Boot to Android, connect USB cable <->PC/NB and Allow USB Debugging for device forever, without this adb in TWRP not work, device is not authorized...

point 9 is important, for me after encrypt Android not boot correctly but after restoring the device is encrypted and fully functional

thanks
update first post:
new recovery with better encrypt support
twrp-12.1-20160221-UNOFFICIAL-mparus-g760.img

new procedure for encrypt internal data (ext4 partition only)

1. install latest rom and latest recovery
2. reboot to the new recovery
3. backup userdata - copy file from internal memory and backup data, system, boot from twrp !!!
4. resize data partition - - wipe, advanced wipe, select data partition, repair or change filesystem, resize
5. reboot to system
set pin to lockscreen
set encrypt phone from settings
6. after reboot use pin and decrypt phone
7. reboot

or

1. install latest rom and latest recovery
2. reboot to the new recovery
3. backup userdata - copy file from internal memory and backup data, system, boot from twrp !!!
4. from twrp - wipe -> format data
5. reboot to system
set pin to lockscreen
set encrypt phone from settings
6. after reboot use pin and decrypt phone
7. reboot to recovery and decrypt data partition!
8. wipe data, cache from twrp
9. restore data from twrp backup
10. reboot
 
Last edited: