• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Encrypted and unusable source code from ASUS

Search This thread

candiesdoodle

Senior Member
Jan 24, 2012
843
280
New Delhi
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip

Discover is thanks to @krasCGQ
https://forum.xda-developers.com/showpost.php?p=78214515&postcount=37
 

Attachments

  • Screenshot_20181213-180619_Chrome_Dev_2.jpg
    Screenshot_20181213-180619_Chrome_Dev_2.jpg
    117.5 KB · Views: 1,774
Last edited:

zohaibahd

Senior Member
May 25, 2016
360
72
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip
what's the point of even releasing it then lol
 

Sterben113

Senior Member
Aug 19, 2015
65
13
Alibaug
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip
This is so wrong, Asus has to do something and fix this.?
 

VivekAarav

Senior Member
Jun 6, 2016
88
11
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip
This must have to fixed, this is so wrong????,?
 

AakarshGupta7

New member
Aug 7, 2018
1
0
That's a serious problem

:(:(
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip

Discover is thanks to @krasCGQ
https://forum.xda-developers.com/showpost.php?p=78214515&postcount=37
 

fayizct

Member
Sep 16, 2013
27
2
tirur
This is a request for help from XDA mods and community leaders.
Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

Not only is this a hindrance for the development and modding community, but a violation of GPL.

Is it possible to reach out to ASUS and ask them rectify this?

Details here for Max Pro M1:
https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

Asus download page
https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

Direct link to the zip
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip

Discover is thanks to @krasCGQ
https://forum.xda-developers.com/showpost.php?p=78214515&postcount=37[/QUO

Y asus y
 

NPriyo

Senior Member
May 12, 2015
707
307
Ranaghat
This is completely wrong. I bought this device after reading on XDA that kernel source of this device was released (probably even before the device went for sale). Vanilla Android with released kernel source in that price range seemed a pretty good deal. And I'm happy with my purchase.

I'm not a developer myself. But as a person who loves to use custom ROMs and kernels and stuffs, I know how important kenrel source is.
So far the device got a good (better than many devices) development support.

Now that Asus encrypted the kernel source, it is affecting the development. I personally feel like cheated. It's like drawning a huge number of ROM enthusiast buyers to the product, and then betray them. It worries me even more because official Pie is releasing in February.

Why release the source in the first place if you're gonna encrypt the newer versions later? Plus, its a violation of GPL. What's next? Making Bootloader Unlocking impossible like Huawei / Honor did??

We are not asking much from Asus. We are not asking to fix bug or to add new features. We are just asking Asus to give what they gave in the first place, the very reason many of us bought this device. Asus, please do not encrypt the source, please make the source usable for the developers...
Thank you.
 
Last edited:

Sushantdk10

Senior Member
Feb 12, 2015
253
528
pune
Asus should take action on these immediately. why released encryption when no use. they think we are blind users . common asus dont play games. as per ur statements in relese u should release then open source code. i think it whould bump to twitter and zentalk forum so they can see it as major issue. so twitter response is must and zentalk too. post these on zentalk too. :cowboy:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    This is a request for help from XDA mods and community leaders.
    Asus max phones have gained significant popularity in some countries like India, Indonesia and Russia. Asus has just released updated versions of the series a few days back. They are also very frequent on providing users with updates. The community is fairly happy on that front.

    However there is one big challenge lately. For past two source code releases of the Max Pro M1 as well as the first one for Max Pro M2, source code zip uploaded on Asus website contains only encrypted gibberish, and all of ~600 MB.

    Not only is this a hindrance for the development and modding community, but a violation of GPL.

    Is it possible to reach out to ASUS and ask them rectify this?

    Details here for Max Pro M1:
    https://mobile.twitter.com/KudDroid/status/1072421711927238657?s=20

    Asus download page
    https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/

    Direct link to the zip
    https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/ZB601KL_ZB602KL_15.2016.1810.337_Kernel_Code.zip

    Discover is thanks to @krasCGQ
    https://forum.xda-developers.com/showpost.php?p=78214515&postcount=37
    13
    I have managed to decrypt the source code, and here are the steps I took:
    1. Open the encrypted files in question, and observe the first few bytes
    2. Google "E-SafeNet"
    3. Clone https://github.com/c3c/E-Safenet, and install the included simplelzo1x module
    4. Download and extract https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.167.tar.xz
    5. Obtain the key with
      Code:
      python2 esafenet.py findkey --infile ZB601KL_S337_Kernel_Code/msm-4.4/arch/x86/boot/bitops.h --comp_file linux-4.4.167/arch/x86/boot/bitops.h --outfile key.dat
    6. Decrypt using
      Code:
      python2 esafenet.py decrypt --infile ZB601KL_S337_Kernel_Code/msm-4.4/virt/lib/irqbypass.c --key key.dat --outfile clear.c
    7. Open clear.c
    12
    We've reached out to ASUS for a comment. We're giving them a few hours to respond before we publish an article on it.

    -- Aamir Siddiqui
    Senior Editor
    XDA-Developers.com
    7
    This is completely wrong. I bought this device after reading on XDA that kernel source of this device was released (probably even before the device went for sale). Vanilla Android with released kernel source in that price range seemed a pretty good deal. And I'm happy with my purchase.

    I'm not a developer myself. But as a person who loves to use custom ROMs and kernels and stuffs, I know how important kenrel source is.
    So far the device got a good (better than many devices) development support.

    Now that Asus encrypted the kernel source, it is affecting the development. I personally feel like cheated. It's like drawning a huge number of ROM enthusiast buyers to the product, and then betray them. It worries me even more because official Pie is releasing in February.

    Why release the source in the first place if you're gonna encrypt the newer versions later? Plus, its a violation of GPL. What's next? Making Bootloader Unlocking impossible like Huawei / Honor did??

    We are not asking much from Asus. We are not asking to fix bug or to add new features. We are just asking Asus to give what they gave in the first place, the very reason many of us bought this device. Asus, please do not encrypt the source, please make the source usable for the developers...
    Thank you.
    6
    That's because not all files are encrypted, and the script doesn't know what to do for unencrypted ones. I just wrote a dirty patch to fix that: https://gist.github.com/zhaofengli/0b023952840ea0b0b2c92fb2594f9e81

    It's 4am here, and I really need to sleep. The resulting source tree may or may not work - I just looked at a bunch of files and they seem to be intact. If you encounter any issue, I hope you are willing to investigate a little bit further and hack things up when necessary.
    Tried to decrypt the whole folder: ~85% are decrypted successfully, and no changes over 323 observed here.

    EDIT:
    Seems like I was giving conclusion too quickly :p.
    There are indeed few changes over MDSS.

    EDIT #2:
    https://github.com/krasCGQ/kernel_asus_X00T/commit/554870486e43a9ebb3ecb7b6fec2b277ba8f1ea7

    Sent from my ASUS_X00TDA using XDA Labs