Git Product home page Git Product logo

ih8sn's People

Contributors

althafvly avatar bgcngm avatar demon000 avatar digitall avatar invisiblek avatar linuxct avatar luk1337 avatar mikeng avatar npjohnson avatar sam3000 avatar spiffyk avatar timschumi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ih8sn's Issues

change sdk

i try to change

ro.build.version.sdk = 28
ro.system.build.version.sdk = 28
ro.vendor.build.version.sdk = 28
ro.product.build.version.sdk = 28
ro.odm.build.version.sdk = 28
ro.system_ext.build.version.sdk = 28

but the applications are not working properly, is there any way to change the sdk but the application is still working fine, thank you

Not updating props

I believe I have run this as I am supposed to:

First attempt failed:

$ bash push.sh
restarting adbd as root
'/dev/root' is read-only
system/addon.d/60-ih8sn.sh: 1 file pushed, 0 skipped. 4.3 MB/s (734 bytes in 0.000s)
adb: error: failed to copy 'system/addon.d/60-ih8sn.sh' to '/system/addon.d/60-ih8sn.sh': remote couldn't create file: Read-only file system
adb: error: failed to copy 'system/bin/ih8sn' to '/system/bin/ih8sn': remote couldn't create file: Read-only file system
system/bin/ih8sn: 1 file pushed, 0 skipped. 98.1 MB/s (9355688 bytes in 0.091s)
system/etc/init/ih8sn.rc: 1 file pushed, 0 skipped. 1.1 MB/s (292 bytes in 0.000s)
adb: error: failed to copy 'system/etc/init/ih8sn.rc' to '/system/etc/init/ih8sn.rc': remote couldn't create file: Read-only file system
system/etc/ih8sn.conf: 1 file pushed, 0 skipped. 1.3 MB/s (303 bytes in 0.000s)
adb: error: failed to copy 'system/etc/ih8sn.conf' to '/system/etc/ih8sn.conf': remote couldn't create file: Read-only file system

So run using --use_remount:

$ bash push.sh --use_remount
adbd is already running as root
remount succeeded
system/addon.d/60-ih8sn.sh: 1 file pushed, 0 skipped. 3.8 MB/s (734 bytes in 0.000s)
system/bin/ih8sn: 1 file pushed, 0 skipped. 109.5 MB/s (9355688 bytes in 0.082s)
system/etc/init/ih8sn.rc: 1 file pushed, 0 skipped. 1.2 MB/s (292 bytes in 0.000s)
system/etc/ih8sn.conf: 1 file pushed, 0 skipped. 1.5 MB/s (303 bytes in 0.000s)
$ adb reboot

Wait for reboot and then see if the new fingerprint was applied:

$ adb shell getprop ro.build.fingerprint
OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys
$ adb shell cat /system/etc/ih8sn.conf
BUILD_FINGERPRINT=OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys
BUILD_DESCRIPTION=OnePlus6-user 11 release-keys
BUILD_SECURITY_PATCH_DATE=2021-11-01
BUILD_TAGS=release-keys
BUILD_TYPE=user
BUILD_VERSION_RELEASE=11
DEBUGGABLE=0
MANUFACTURER_NAME=OnePlus
PRODUCT_NAME=OnePlus6

As you can see, the fingerprint that is in the ih8sn.conf is not the fingerprint that the device is using.

What did I do wrong?

[Help] Building for beryllium

Didn't mean to pollute the #10, sorry

I'm running LineageOS 18.1 on a Pocophone F1 (code name beryllium). I would like to compile and build this project, but so far to no avail :-( My goal is to get rid of root, since I don't really need it. Magisk is currently installed solely for passing the safety net check.

I have downloaded the Android NDK android-ndk-r23b (current version), and I have adjusted the CXX variable in build.sh to "aarch64-linux-android30-clang++", since I figured that version is needed to match my LOS build which is representing Android 11. CMake (v3.22.2), gcc (v11.2.1) and build-essentials are installed on my machine (openSuSE Tumbleweed). But all I'm getting from running build.sh with this command:

ANDROID_NDK_HOME=../android-ndk-r23b CXX=aarch64-linux-android30-clang++ ./build.sh
is
clang-13.0: error: no input files

Could someone point me in the right direction, please? I must miss some setting/adjustment, but I can't figure what that could be.

On a lighter note, I have created a configuration "ih8sn.conf.beryllium", just in case someone is interested. From what I figured it will be installed using "push.sh" ... when I get there eventually.

README: requirements and installation instructions

I came here via the Android Police article that mentioned the project.

It said custom ROMs only. I'm running a tired MIUI 12.5. Will it work on rooted stock ROMS?

Perhaps you could answer generally for everyone via a README with requirements and installation instructions?

Isn't issue

Is possible to add spoof for ro.secure=1?

Readme

Hi there,

Could you add some readme on what it is and how to use it?
It's not easy to understand what's going on in this repo :(

End of the road for ih8sn?

So while I've successfully applied this fix and SN now passes, Google Wallet (a.k.a. Pay) still won't let me add a card and Netflix does not appear in the Play store.

There's an interesting thread in the Magisk safetynet-fix project about the new Google Integrity API and how they have just worked around it.

Maybe a new ih8ia project? ๐Ÿ˜€

Not overriding props on LOS 20

Hello,

I'm not sure how alive and up-to-date this project is or if it's even compatible with the current versions of Android. I tried using it (and also the version from LOS-Munch) and neither seem to actually result in the right properties set.

beyond0lte:/ # cat /etc/ih8sn.conf
BUILD_FINGERPRINT=samsung/beyond0lteeea/beyond0:11/RP1A.200720.012/G970FXXSBFUF3:user/release-keys__2021-07-01
# BUILD_DESCRIPTION=OnePlus7Pro-user 10 QKQ1.190716.003 1910071200 release-keys
# BUILD_SECURITY_PATCH_DATE=2019-09-05
BUILD_TAGS=release-keys
BUILD_TYPE=user
# BUILD_VERSION_RELEASE=10
# BUILD_VERSION_RELEASE_OR_CODENAME=10
DEBUGGABLE=0
# MANUFACTURER_NAME=OnePlus
# PRODUCT_NAME=OnePlus7Pro
# PRODUCT_FIRST_API_LEVEL=29
beyond0lte:/ # getprop ro.build.fingerprint
samsung/lineage_beyond0lte/beyond0lte:13/TQ3A.230705.001/c61687add0:userdebug/release-keys

As you can see the desired fingerprint is not applied. I saw #35 and I am running the correct architecture and when running the script manually through ADB shell, it exits cleanly with a 0.

beyond0lte:/ # /system/bin/ih8sn init
beyond0lte:/ # echo $?
0
beyond0lte:/ # /system/bin/ih8sn build_complete
beyond0lte:/ # echo $?
0

Is there any hope of getting this to work?

Thank you very much for your time.

[Help] in8sn is deleted when restarting android

Hi,
I have compiled and installed in8sn on my Xiaomi Redmi Note 9 Pro (miatoll), and it works perfectly, (I tried to run it from adb).

The problem is:
every time I restart android, in8sn disappears from /system/bin, so it won't start automatically because the binary doesn't exist anymore.
How do I get in8sn is not deleted from /system/bin after rebooting the phone?

ROM: (Official) LineageOS 18.1

Note:

  • for reboot I mean hold down the power button of the phone and in the menu that appears I press "reboot"
  • I have installed ih8sn with the provided script

Thanks for your attention, and I hope for an answer :)

Does ih8sn hide the Knox Warranty Void flag?

Does ih8sn hide the Know Warranty Void flag or the fact that the bootloader is unlocked from apps (some of my banking apps do not work anymore, but my phone is not actually rooted, so I think the issue is either the Knox Warranty Void bit or the unlocked bootloader)?

Using hadesROM 3.0 on a Samsung S8 G950F.

Are missing properties a problem?

Hi!

I used push.sh, and I confirmed that (on next reboot) flags like ro.boot.verifiedbootstate were set as described in main.cpp.

Some flags, however, are not present/listed all when invoking getprop (e.g. ro.boot.flash.locked).

So my main question is if a missing property can be a sign of something having gone wrong?
I'm unable to pass SafetyNet at least.

Follow-up question, is there some debug log I can read? I haven't read the source code yet, but since I saw nothing that reminded me of it in main.cpp, I thought I'd ask before "giving up" that hope.

How come you don't have to reboot?

is there a way to not have to restart the machine, but still change the parameters, do not expect you to update more, thank you brother

Does it work with Android 13?

I had made it work on my OnePlus 6 running LineageOS 19 (Android 12), surviving OTAs, the whole thing.

After upgrading to LineageOS 20 (Android 13), it stopped working (Google Wallet says phone doesn't meet security requirements, Netflix isn't available via Play Store; things that used to work) and I tried to do the whole setup again in the hopes that the Android version upgrade had borked it, but without success.

Should ih8sn even work with Android 13? (so I don't keep trying aimlessly in case it doesn't).

Boot stuck when using ih8sn and applying OTA update on LOS19

Hi,

I'm using LineageOS 19.1 on a Samsung S10e (SM-970F).

I upgraded from LineageOS v18.1 to v19.1 around 2 weeks ago, when the most up-to-date version was 2022-06-09.

I followed the precise instructions on LineageOS website, and everything was working normally.

This week I received the notification that an OTA update was available for the version 2022-06-16, so I did it.

My phone ended up in bootloop, and the only thing I was able to access was Download mode or Recovery.

No matter what I tried, I just couldn't get the system to start normally, so I had to Format Data, and re-flash with the ROM 2022-06-09.

I continued doing some testing, to try to understand what could be the reason of this failure of OTA update, and basically the only moment I was able to OTA updates is if I delete the ih8sn files created by the push.sh script.

When ih8sn is installed, my phone is stuck in bootloop after the first OTA update.

Without ih8sn installed, I was able to do the 2 OTA updates that were pending : from 2022-06-09 -> 2022-06-16 -> 2022-06-23.

I'm happy to try to do more testing, so feel free to let me know if you want me to provide some logs or things like that.

Thanks !

No network when ih8sn is installed on davinci

When I install ih8sn on my davinci with LineageOS 19 UNOFFICIAL, all network (i.e. WiFi, mobile data, Bluetooth etc.) stops working. It seems that the system loses a way to access the devices, because the settings for these hang in strange ways.

Network starts working again when I remove /bin/ih8sn and /etc/init/ih8sn.rc. Is there some known way to fix this or a hint as to how to debug this problem?

Redmi 9A dandelion

I have test the ih8sn for many device and LineageOS version (OP9T, Redmi Note 8, Mi 8 Lite, Poco X3 Pro: always passed). But i have a problem when use ih8sn for Redmi 9A a.k.a dandelion, this is unofficial build by user. My problem is using Yasnac test, this result is advice to lock bootloader even i use default config on template with OVERRIDE_FLASH_LOCK=1. I hope anyone will help me to fix this issue.

Thank's.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.