Android 7.0 Nougat Discussion

flex1911

Recognized Developer / Retired Forum Moderator
Feb 12, 2013
999
7,533
133
18
Volgograd
Our binary libintel-updater doesn't work with android 7. They moved to C++ recovery updater so we need to force change updater-binary in zip (yeah, not so good way) or slightly rewrite libintel-updater in libintelprov sources for C++ and build it.
Also, surfaceflinger discards LD_SHIM_LIBS variable. On ZF2 ZE500CL i've made dirty hack that restarts surfaceflinger via init.d (this allows you to load shim and properly run the hwcomposer).
I think this will help you. Good luck, guys.
 

Andre_Luis

Senior Member
Dec 15, 2015
161
25
0
24
Our binary libintel-updater doesn't work with android 7. They moved to C++ recovery updater so we need to force change updater-binary in zip (yeah, not so good way) or slightly rewrite libintel-updater in libintelprov sources for C++ and build it.
Also, surfaceflinger discards LD_SHIM_LIBS variable. On ZF2 ZE500CL i've made dirty hack that restarts surfaceflinger via init.d (this allows you to load shim and properly run the hwcomposer).
I think this will help you. Good luck, guys.
Are likely to boot?
 

tank0412

Senior Member
May 24, 2014
2,831
5,468
193
Saint Petersburg
Our binary libintel-updater doesn't work with android 7. They moved to C++ recovery updater so we need to force change updater-binary in zip (yeah, not so good way) or slightly rewrite libintel-updater in libintelprov sources for C++ and build it.
Also, surfaceflinger discards LD_SHIM_LIBS variable. On ZF2 ZE500CL i've made dirty hack that restarts surfaceflinger via init.d (this allows you to load shim and properly run the hwcomposer).
I think this will help you. Good luck, guys.
Thanks.
I have already tried to use your hack via init.d + libshim. It does not work. (Maybe i did not understand how it works and in which moments this init.d script starts working)
We have many problems with inline kernel building (or maybe all devs for Z5 exept X Anwar mov are so stupid) so we aplly all needed ramdisk patches manually (yeah, it is really disgusting)
So we need to patch Noughat init.rc manually and define there some services or it did not boot. So our ramdisk stayed in very bad condition.
 
Last edited:

thinhx2

Senior Member
Jan 24, 2015
2,765
2,090
193
Quảng Ninh
Thanks.
I have already tried to use your hack via init.d + libshim. It does not work. (Maybe i did not understand how it works and in which moments this init.d script starts working)
We have many problems with inline kernel building (or maybe all devs for Z5 exept X Anwar mov are so stupid) so we aplly all needed ramdisk patches manually (yeah, it is really disgusting)
So we need to patch Noughat init.rc manually and define there some services or it did not boot. So our ramdisk stayed in very bad condition.
We can port rom from Z00D with kernel & vendor file of T00F