phhusson / super-bootimg

Tools to edit Android boot.img. NDK buildable, to be usable in an update.zip
GNU General Public License v3.0
226 stars 121 forks source link

Hidesu improvements (part 2) #59

Closed DavisNT closed 7 years ago

DavisNT commented 7 years ago
DavisNT commented 7 years ago

Next step will be rewriting the shellscript in C to:

  1. Give advantage in on-boot race condition by improving performance.
  2. Remove dependency on shell/tools (toybox/busybox).
DavisNT commented 7 years ago

The commit 36e918632436e5fa5dba3af1bde6e1a47e778a0d adds functionality that was implemented in hidesu-start.sh to hidesu and removes the shellscript.

@phhusson Can you please review and merge?

phhusson commented 7 years ago

I've rewritten history this way: https://github.com/phhusson/super-bootimg/commit/9448575259961eda5bd146155963102b46f26291 This look good to you?

DavisNT commented 7 years ago

Yes, 9448575259961eda5bd146155963102b46f26291 looks good! :slightly_smiling_face:

DavisNT commented 7 years ago

Looks like there is a bug - device gets randomly unrooted (till next reboot) at rare occasions. Will push a fix soon.

DavisNT commented 7 years ago

Just made a2aa239e2147102ce99c33aaf59e7e71a31b88c0. It has all the changes in single commit. @phhusson Can you please review and merge it?

DavisNT commented 7 years ago

The previous change has been time tested for around 9 days now (with no random unrootings observed). I have made a bit updated commit 2a33198678e5b68a5d4f34c31c9e89e0cdbef11e. This commit includes:

DavisNT commented 7 years ago

All changes in this Pull Request are put in a single commit as Pull Request #62