Disable stock kernel's Force-Encrypt for Moto Z and Moto Z Play - Moto Z ROMs, Kernels, Recoveries, & Other Developm

Note: I've tested on Moto Z and Moto Z Play with nothing wrong, but I'm not responsible for any damages happen to you phone after disabled force-encrypt.
After modified stock kernel of Chinese version, part of SIM function will be useless due to some unknown reasons, please wait for a solution
STEPS:
1. Unpack boot.img
2. Edit fstab.qcom under /ramdisk ,remove ",verify" in 9th line
Code:
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait,verify
3. Disable force-encrypt
edit 10th line, change "forceencrypt=" into "encryptable="
Code:
<blockquote>/dev/block/bootdevice/by-name/userdata /data f2fs
rw,discard,nosuid,nodev,noatime,nodiratime,nobarrier,inline_xattr,inline_data
wait,check,formattable,encryptable=/dev/block/bootdevice/by-name/metadata
4. Flash it and clear DATA partition
Tip: Force-encrypt will be disabled only if you cleared DATA partition.
Code:
fastboot flash boot renamed.img
Code:
fastboot -w
DOWNLOADS:
Too lazy to do those things? You can download modified stock kernel here:
( Kernel's version must match build's version, if you cann't find a matched one, try steps above. Click "下载" buttom to download)
Link Removed

JackyGreen said:
DOWNLOADS:
Too lazy to do those things? You can download modified stock kernel here:
( Kernel's version must match build's version, if you cann't find a matched one, try steps above. Click "下载" buttom to download)
Modified stock kernal with force-encrypt disabled for Moto Z
Modified stock kernal with force-encrypt disabled for Moto Z Play
Click to expand...
Click to collapse
I've seen that Moto Z (Griffin) version is for XT1650-05 that should be the Chinese version I guess...
Do you think this can be used on XT1650-03 (EU?) version too? Or, better, can you provide a specific version?

enetec said:
I've seen that Moto Z (Griffin) version is for XT1650-05 that should be the Chinese version I guess...
Do you think this can be used on XT1650-03 (EU?) version too? Or, better, can you provide a specific version?
Click to expand...
Click to collapse
XT1650-03 only:good:
Can not be used in other versions

enetec said:
I've seen that Moto Z (Griffin) version is for XT1650-05 that should be the Chinese version I guess...
Do you think this can be used on XT1650-03 (EU?) version too? Or, better, can you provide a specific version?
Click to expand...
Click to collapse
Due to radio blablabla

JackyGreen said:
XT1650-03 only:good:
Can not be used in other versions
Click to expand...
Click to collapse
BUT the file on download page is indicated for XT1650-05 or am I wrong?!?

enetec said:
BUT the file on download page is indicated for XT1650-05 or am I wrong?!?
Click to expand...
Click to collapse
My friend did not reply me, so the best option is modify it by yourself

JackyGreen said:
My friend did not reply me, so the best option is modify it by yourself
Click to expand...
Click to collapse
Well, can you explain to us the right method to unpack and repack boot.img?
P. S. : anyway it seems to be OK for XT1650-03 version too, as reported in another thread here... if it is created from a XT1650-05 version as it seems to be, this would be an interesting reported compatibility...

enetec said:
Well, can you explain to us the right method to unpack and repack boot.img?
P. S. : anyway it seems to be OK for XT1650-03 version too, as reported in another thread here... if it is created from a XT1650-05 version as it seems to be, this would be an interesting reported compatibility...
Click to expand...
Click to collapse
Try thishttp://forum.xda-developers.com/showthread.php?t=2319018

So it should work on the EU model according to the other thread mentioned above, right?
The edited boot.img is made from 24.246-37 firmware, I just got an OTA for 24.246-45 (eu-firmware).
Has anyone successfully flashed the file on "my" version?
Would it work?
Can I soft-brick my device by trying?

theligu said:
So it should work on the EU model according to the other thread mentioned above, right?
The edited boot.img is made from 24.246-37 firmware, I just got an OTA for 24.246-45 (eu-firmware).
Has anyone successfully flashed the file on "my" version?
Would it work?
Can I soft-brick my device by trying?
Click to expand...
Click to collapse
24.246-XX force-encrypt disabled kernel should work for all 24.246-XX ROM.

danhe said:
24.246-XX force-encrypt disabled kernel should work for all 24.246-XX ROM.
Click to expand...
Click to collapse
Ok great thanks

Can someone re-upload the Moto Z flashable zip somewhere else? The host the file is uploaded to is absolutely horrible and slow, i would really appreciate it if someone can upload it somewhere else like MEGA.

What' do you mean with some sim functions are useless? Can you be more specific? Also, i have another build version on my z, do i need to modify it unpacking it in order to flash it? Or can i skip that part and flash it directly?
---------- Post added at 07:58 PM ---------- Previous post was at 07:53 PM ----------
enetec said:
Well, can you explain to us the right method to unpack and repack boot.img?
P. S. : anyway it seems to be OK for XT1650-03 version too, as reported in another thread here... if it is created from a XT1650-05 version as it seems to be, this would be an interesting reported compatibility...
Click to expand...
Click to collapse
Ok, Its compatible with the model version, but still we have to modify the kernel to match our build version?

Nobody has still tested what happens if after had used this kernel (and uncrypt data partition by an erase) we would reflash stock kernel (without resetting data partition)?
Bootloop? No boot? Or all OK?

Hi Guys i just made patch to fix ForceEnc (it's not kernel it's just patch) this should work on any Snapdragon devices Please test it and tell me about it

How did you build the boot image exactly? I've unpacked the boot.img, changed the fstab.qcom and repacked the ramdisk . After that I've tried to build the image with
Code:
./mkbootimg --kernel boot/boot.img-kernel --ramdisk boot/new.img-ramdisk.cpio.gz --base 0x80000000 --pagesize 4096 --ramdiskaddr 0x81000000 --cmdline 'console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 [email protected] cnsscore.pcie_link_down_panic=1' -o newboot.img
But it won't boot with that image. What did I miss?
./boot_info newboot.img
PAGE SIZE: 4096
BASE ADDRESS: 0x80000000
RAMDISK ADDRESS: 0x81000000
CMDLINE: 'console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 [email protected] cnsscore.pcie_link_down_panic=1'
Click to expand...
Click to collapse

Got it working now. Was anyone able to get supersu working? If yes, pls link
E: @erfanoabdi fixed your script

ryzion said:
Got it working now. Was anyone able to get supersu working? If yes, pls link
E: @erfanoabdi fixed your script
Click to expand...
Click to collapse
Oh thanks for your fix
I used this superSU (system forced) and it's working well
https://mega.nz/#!qE5zmThI!bZjD1V1CFV_mYzazJc-onhnuLxVqd-CookxIit2heZo

Doesn't work for me sadly. What recovery version are you on? Could you send me the link as well

ryzion said:
Doesn't work for me sadly. What recovery version are you on? Could you send me the link as well
Click to expand...
Click to collapse
Please Quote me
I'm on TWRP (latest version)
First I flashed us rom and then boot.img
I fixed encryption (wipe data), After that I setup my device
Then I flashed that superSU
And Xposed framework

Related

modem and kernel XXANA2

hi all, modem and kernel update for those interested ...
regards
packed in flashable zip file coming from Tys0n
Can You ad modem and kernel for Gt8190N?
Wysłane z mojego GT-I8190N przy użyciu Tapatalka
tomiq75 said:
Can You ad modem and kernel for Gt8190N?
Wysłane z mojego GT-I8190N przy użyciu Tapatalka
Click to expand...
Click to collapse
here man:
http://forum.xda-developers.com/showthread.php?t=2526831
Do we need an updated RIL to properly use this new baseband?
There's an interesting reading here: http://forum.xda-developers.com/showthread.php?t=1881304
snifer1981 said:
Do we need an updated RIL to properly use this new baseband?
There's an interesting reading here: http://forum.xda-developers.com/showthread.php?t=1881304
Click to expand...
Click to collapse
No. Simply flash the modem zip, then reboot twice.
Thx
Sent from my GT-I8190 using xda app-developers app
Hello,
it is not very clear to me: these releases are for the I8190 (L not included) only?
c1b3rz said:
Hello,
it is not very clear to me: these releases are for the I8190 (L not included) only?
Click to expand...
Click to collapse
It is only for the I8190 version.
Don't try this on I8190N nor I8190L versions.
If anything goes wrong can I flash odin image (from maclaw) to restore working baseband? Or does not have the baseband image in it?
marmelada said:
If anything goes wrong can I flash odin image (from maclaw) to restore working baseband? Or does not have the baseband image in it?
Click to expand...
Click to collapse
Odin image from Maclaw doesn't contain baseband
You must flash older baseband or stock rom in last resort
juliàcarax said:
hi all, modem and kernel update for those interested ...
regards
packed in flashable zip file coming from Tys0n
Click to expand...
Click to collapse
can i use it in my stock rom?
Datumama said:
can i use it in my stock rom?
Click to expand...
Click to collapse
It should be :laugh:
piskor said:
Odin image from Maclaw doesn't contain baseband
You must flash older baseband or stock rom in last resort
Click to expand...
Click to collapse
Do you know where can I get older baseband to flash in case this modem file doesn't work?
I would really like to try this b/c I'm having really bad data access right now, but I didn't keep a stock rom backup and I'm afraid my phone would end up useless if this flashing goes wrong
---------- Post added at 12:04 PM ---------- Previous post was at 11:08 AM ----------
fede_arg said:
Do you know where can I get older baseband to flash in case this modem file doesn't work?
I would really like to try this b/c I'm having really bad data access right now, but I didn't keep a stock rom backup and I'm afraid my phone would end up useless if this flashing goes wrong
Click to expand...
Click to collapse
I answer myself with a link to this post:
http://forum.xda-developers.com/showthread.php?t=2526831

Boot.img from 4.4.4(xt1225)

Hi,
As the thread states, I need a boot.img from the stock 4.4.4 version of the xt1225(moto maxx).
Thanks
##W4TCH0UT## said:
Hi,
As the thread states, I need a boot.img from the stock 4.4.4 version of the xt1225(moto maxx).
Thanks
Click to expand...
Click to collapse
Retail Latinamerican here http://forum.xda-developers.com/showpost.php?p=57979256&postcount=1
Pika71 said:
Retail Latinamerican here http://forum.xda-developers.com/showpost.php?p=57979256&postcount=1
Click to expand...
Click to collapse
Hi,
That's the full firmware. I only need the boot.img. Maybe if you could upload it.
Regards
##W4TCH0UT## said:
Hi,
That's the full firmware. I only need the boot.img. Maybe if you could upload it.
Regards
Click to expand...
Click to collapse
is a zip, unzip and extract boot.img
##W4TCH0UT## said:
Hi,
That's the full firmware. I only need the boot.img. Maybe if you could upload it.
Regards
Click to expand...
Click to collapse
http://forum.xda-developers.com/droid-turbo/general/custom-recovery-moto-maxx-t2946950

[Firmware][CM13&CM14] Extracting Kenzo Mostly Update Firmware from 6.12.22

Enjoy it.
Including of necessary files - EFS/Modem/Firmare_emmc/Firmware_ROM..., Please extracting this zip file and must copy files includes of directory under your TWRP backup directory and use TWRP restore function to restore firmware files into your CM13 or CM14 ROM.
Recommend you use ZCX_TWRP recovery to restore files.
Check the #4 download link.
**** Close this thread ***
what files?
where is the file dude ?
Sorry that I forgot to attach the file link. Here it is :
Kris
can you upload it to googledrive?
it is locked ootloader after flash it or not?
What is news ?
Could you make flash zip?
Sent from my kenzo using XDA Labs
Including of efs/ modem/firmware.
cvncbn said:
What is news ?
Click to expand...
Click to collapse
Will figure out how to.
Thanks
exodius48 said:
Could you make flash zip?
Click to expand...
Click to collapse
My experience. No
I switch between Cm13 and Cm14 frequently and never relock my bootloader.
SakitJiwa said:
can you upload it to googledrive?
it is locked ootloader after flash it or not?
Click to expand...
Click to collapse
Kris Chen said:
My experience. No
I switch between Cm13 and Cm14 frequently and never relock my bootloader.
Click to expand...
Click to collapse
ok downloading...
will test it
@Kris Chen Add mirror(s) please, mega does not support IDM. Google drive / mediafire.
exodius48 said:
@Kris Chen Add mirror(s) please, mega does not support IDM. Google drive / mediafire.
Click to expand...
Click to collapse
What is IDM?
MOVZX said:
What is IDM?
Click to expand...
Click to collapse
-____-
Here you are:
exodius48 said:
@Kris Chen Add mirror(s) please, mega does not support IDM. Google drive / mediafire.
Click to expand...
Click to collapse
Will flashing this lock the bootloader or not?
Volte working with this firmware?
Sent from my Redmi Note 3 using XDA-Developers mobile app
Kris Chen said:
Enjoy it.
Including of necessary files - EFS/Modem/Firmare_emmc/Firmware_ROM..., Please extracting this zip file and must copy files includes of directory under your TWRP backup directory and use TWRP restore function to restore firmware files into your CM13 or CM14 ROM.
Recommend you use ZCX_TWRP recovery to restore files.
Check the #4 download link.
Click to expand...
Click to collapse
what these files for ?
if it is cm 14 firmware, does it support volte as abhisheks cm 14 fimware does ?
Kris Chen said:
Enjoy it.
Including of necessary files - EFS/Modem/Firmare_emmc/Firmware_ROM..., Please extracting this zip file and must copy files includes of directory under your TWRP backup directory and use TWRP restore function to restore firmware files into your CM13 or CM14 ROM.
Recommend you use ZCX_TWRP recovery to restore files.
Check the #4 download link.
Click to expand...
Click to collapse
If I do that would it restore the Bluetooth mac address?
Sent from my Redmi Note 3 using Tapatalk
help, restore the file, but can't boot. A splash then shutdown. can't power on.
---------- Post added at 03:04 PM ---------- Previous post was at 02:58 PM ----------
now only can boot into fastboot

Change Model In Lineage 14.1 Based

How to change the smartphone model? Ex: J500F to SM-G935F
Davi Ferreira said:
How to change the smartphone model? Ex: J500F to SM-G935F
Click to expand...
Click to collapse
/system/build.prop
Demicro said:
/system/build.prop
Click to expand...
Click to collapse
Yes, but I have already altered the lines correctly in build.prop and even though Netflix still does not work correctly, look at the print model does not change.
Davi Ferreira said:
Yes, but I have already altered the lines correctly in build.prop and even though Netflix still does not work correctly, look at the print model does not change.
Click to expand...
Click to collapse
J500F always continues
Davi Ferreira said:
J500F always continues
Click to expand...
Click to collapse
Unpack boot.img and in default.prop you will find ro.product.model=J500F
SoUnd001 said:
Unpack boot.img and in default.prop you will find ro.product.model=J500F
Click to expand...
Click to collapse
Just change the default.prop and boot.img and flash the boot.img Flashfy?
Davi Ferreira said:
Just change the default.prop and boot.img and flash the boot.img Flashfy?
Click to expand...
Click to collapse
Yes just flash it.
SoUnd001 said:
Unpack boot.img and in default.prop you will find ro.product.model=J500F
Click to expand...
Click to collapse
I can not unzip the boot.img
It appears that the file is corrupted.
Davi Ferreira said:
I can not unzip the boot.img
It appears that the file is corrupted.
Click to expand...
Click to collapse
U need to unpack it not unzip it
SoUnd001 said:
U need to unpack it not unzip it
Click to expand...
Click to collapse
I could not unpack, what program or application do you use?
Davi Ferreira said:
I could not unpack, what program or application do you use?
Click to expand...
Click to collapse
I use this one
https://forum.xda-developers.com/showthread.php?t=2073775
Why won't Netflix work properly? Do show us any errors and with that I'm pretty sure we will have a workaround that is easier to deal with.

Would someone please share EU OOS11 stable patched_boot.img?

Can someone provide the Android 11.0 EU patched boot.img ?
Pieter20 said:
Can someone provide the Android 11.0 EU patched boot.img ?
Click to expand...
Click to collapse
For OOS11 Beta 2 or the new stable release?
Maruli said:
For OOS11 Beta 2 or the new stable release?
Click to expand...
Click to collapse
For the stable release
Pieter20 said:
For the stable release
Click to expand...
Click to collapse
I'm sorry I can only find stable releases for the IN and NA variants, maybe you have one of those?
Maruli said:
I'm sorry I can only find stable releases for the IN and NA variants, maybe you have one of those?
Click to expand...
Click to collapse
Here is the stable EU downloadlink: https://otafsg1.h2os.com/patch/amaz...0_OTA_0300_all_2009301818_f85a40a8ec66246.zip
Maruli said:
For OOS11 Beta 2 or the new stable release?
Click to expand...
Click to collapse
Could you please please upload the unmodified one for EU 11? I just semi-bricked mine flashing a modified global 11 stable onto my EU 8 Pro…
(Or just post the link to the 11 stable rom Oxygen Updater provides you, that might work too. Can't for the love find any link on the web to the EU rom.)
*edit:* Oh nvm but thank you anyway, just noticed that Pieter20 had posted that link in the time I wrote my comment
Pieter20 said:
Can someone provide the Android 11.0 EU patched boot.img ?
Click to expand...
Click to collapse
Grab the firmware
Grab payload dumper
Copy out payload from the firmware zip
Move it to the payload dumper folder
Run payload dumper.exe
Wait
It'll output some files to the output folder.
That's your boot IMG.
Copy it to your phone then patch if with magisk..
Maruli said:
For OOS11 Beta 2 or the new stable release?
Click to expand...
Click to collapse
Just flashed & booted it myself: here is the original & patched img for the EU/15.E.30 (today's stable) rom
Pieter20 said:
Here is the stable EU downloadlink: https://otafsg1.h2os.com/patch/amaz...0_OTA_0300_all_2009301818_f85a40a8ec66246.zip
Click to expand...
Click to collapse
I've patched it with the latest Magisk 21 fyi and here's the link: https://drive.google.com/file/d/1hZLke-g85CRCUWAsKsx5y1BEtU8HidIS/view?usp=sharing
Don't forget to just boot it first, if Magisk Manager shows that it's rooted you can directly root it right through the Manager.
Also here's the unmodified boot: https://drive.google.com/file/d/1Zlf32BTs9pQmvnb23CEow42EuepMgco4/view?usp=sharing
Maruli said:
I've patched it with the latest Magisk 21 fyi and here's the link: https://drive.google.com/file/d/1hZLke-g85CRCUWAsKsx5y1BEtU8HidIS/view?usp=sharing
Don't forget to just boot it first, if Magisk Manager shows that it's rooted you can directly root it right through the Manager.
Also here's the unmodified boot: https://drive.google.com/file/d/1Zlf32BTs9pQmvnb23CEow42EuepMgco4/view?usp=sharing
Click to expand...
Click to collapse
Thank you so much for you're help !!
Does that patched_boot work for you? I tried and it does not work for my OnePlus 8 Pro (Stable EU Oxygen OS 11)
https://forum.xda-developers.com/oneplus-8-pro/how-to/root-uk-eu-patched-magisk-boot-img-t4175033
dladz said:
Grab the firmware
Grab payload dumper
Copy out payload from the firmware zip
Move it to the payload dumper folder
Run payload dumper.exe
Wait
It'll output some files to the output folder.
That's your boot IMG.
Copy it to your phone then patch if with magisk..
Click to expand...
Click to collapse
Thanks for this
Sent from my IN2023 using Tapatalk
aygul12345 said:
Thanks for this
Click to expand...
Click to collapse
Wrote a more in depth guide. Post above your last one
dladz said:
Wrote a more in depth guide. Post above your last one
Click to expand...
Click to collapse
Thanks for the tip dint see, gonna check it directly
Sent from my IN2023 using Tapatalk
aygul12345 said:
Thanks for the tip dint see, gonna check it directly
Click to expand...
Click to collapse
No worries.. Just read it first before you commit.
The payload dumper part is straight forward.. But the magisk_patched was made for EU/UK

Categories

Resources