This tutorial explains the installation and configuration of the Gerrit code review system .
Click to expand...
Click to collapse
What is Gerrit?
Gerrit is a web based code review system, facilitating online code reviews for projects using the Git version control system. The user interface of Gerrit is based on
Google Web Toolkit and its Git implementation is based on JGit.
A contributor can use Gerrit to suggest a code change. Other developers can review the code change and suggest improvements. If a Gerrit change request needs improvement, it is possible to update it with a new set of changes. Once the suggested changes are accepted by the reviewers, they can be applied via Gerrit to the underlying Git repository.
Click to expand...
Click to collapse
Gerrit makes code reviews easier by showing changes in a side-by-side display. It also allows the reviewer to add comments to every single line changed.Development takes place at the Gerrit project hosted by Google Code.
Gerrit v2.10 online documentation:
You find detailed information about Gerrit at: Gerrit Code Review - A Quick Introduction.
Installation of Gerrit
Packages Requirements
Initialize the Site
Create Directory
Download Gerrit
Install Gerrit
Setup the database and user
Troubleshooting
Plugins
GitHub authentication
Gravatar Provider Plugin
Delete Project Plugin
Themes
TIPS
Installation of Gerrit
Click to expand...
Click to collapse
Packages Requirements:
Install Java 1.7
Code:
sudo apt-get install openjdk-7-jre
Select Default Java Version
Code:
sudo update-alternatives --config java
Code:
There are 3 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-oracle/jre/bin/java 67 auto mode
1 /usr/lib/jvm/java-6-oracle/jre/bin/java 67 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
* 3 /usr/lib/jvm/java-7-oracle/jre/bin/java 66 manual mode
Code:
java -version
java version "1.7.0_21"
...
Install Gitweb
Code:
sudo apt-get install gitweb
Initialize the Site
1. Create Directory
you can create the directory wherever you want but i will use global path
Code:
mkdir ~/gerrit/
Code:
cd ~/gerrit/
2. Download Gerrit
Download the latest Gerrit release from Gerrit download page. The download is a
Code:
.war
file which you can directly add to your servlet container.
Code:
wget https://gerrit-releases.storage.googleapis.com/gerrit-2.10-rc0.war
3. Install Gerrit
Setup the database and user
Code:
CREATE USER 'gerrit'@'localhost' IDENTIFIED BY 'yourpassword';
CREATE DATABASE reviewdb;
GRANT ALL ON reviewdb.* TO 'gerrit'@'localhost';
FLUSH PRIVILEGES;
exit;
It’s time to run the initialization
Code:
java -jar gerrit*.war init
you can also set subfolder
Code:
java -jar gerrit*.war init -d ~/gerrit/subfolder
Table 1. Gerrit setup options
Location of Git repositories
Location of Git repositories, default is the
Code:
git
directory in the installation folder of your Gerrit installation.
Database server type
Gerrit supports several databases, by default it uses a preconfigured H2 database, but we will use mysql
Listen on port
Allows you to configure the port Gerrit is listening to, Gerrit by default listens on port 29418 for SSH access and on port 8080 for web access. This can be changed if the ports are already used.
Authentication method
The easiest way of configuring access to Gerrit is to use Github instead of OpenID Single Sign-on
Processing 2. Gerrit setup options
Code:
Setting up gerrit (2.10-rc0) ...
Starting Gerrit Code Review : gerrit
No Gerrit site found. Will Initialize Gerrit first...
*** Gerrit Code Review 2.10
***
Create '/root/gerrit/review_site' [Y/n]?
*** Git Repositories
***
Location of Git repositories [git]:
*** SQL Database
***
Database server type [H2/?]: mysql
Gerrit Code Review is not shipped with MySQL Connector/J 5.1.10
** This library is required for your configuration. **
Download and install it now [Y/n]?
Downloading http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.10/mysql-connector-java-5.1.10.jar ... OK
Checksum mysql-connector-java-5.1.10.jar OK
Server hostname [localhost]:
Server port [(MYSQL default)]:
Database name [reviewdb]:
Database username [gerrit2]: gerrit
gerrit2's password : yourpassword
confirm password : yourpassword
*** User Authentication
***
Authentication method [OPENID/?]: http
Get username from custom HTTP header [y/N]? y
SSO logout URL :
*** Email Delivery
***
SMTP server hostname [localhost]: smtp.gmail.com
SMTP server port [(default)]: 587
SMTP encryption [NONE/?]: TLS
SMTP username : [email protected]
SMTP password : you_password
*** Container Process
***
Run as [gerrit]:
Java runtime [/usr/lib/jvm/java-7-oracle/jre]: /usr/lib/jvm/java-7-oracle/jre
Copy gerrit.war to /root/gerrit/bin/gerrit.war [Y/n]? Y
Copying gerrit.war to /root/gerrit/bin/gerrit.war
*** SSH Daemon
***
Listen on address [*]:
Listen on port [29418]:
Gerrit Code Review is not shipped with Bouncy Castle Crypto v144
If available, Gerrit can take advantage of features
in the library, but will also function without it.
Download and install it now [Y/n]?
Downloading http://www.bouncycastle.org/download/bcprov-jdk16-144.jar ... OK
Checksum bcprov-jdk16-144.jar OK
Generating SSH host key ... rsa... dsa... done
*** HTTP Daemon
***
Behind reverse proxy [y/N]? y
Proxy uses SSL (https://) [y/N]? n
Listen on address [*]:
Listen on port [8081]:
Canonical URL [http://review.probam.net/]: https://your-domain.com/
Gerrit can be launched manually:
Code:
~/gerrit/bin/gerrit.sh start
Troubleshooting:
some time you will facing some issues and you got FAILD when trying to start Gerrit
"gc.startTime" is not configured
Code:
INFO com.google.gerrit.server.config.ScheduleConfig : gc schedule parameter "gc.startTime" is not configured
Section gc allows to configure the git garbage collection and schedules it to run periodically. It will be triggered and executed sequentially for all projects. more info
Examples:
Code:
[gc]
startTime=Fri 12:00
interval =2 day
Error opening database "Sleep interrupted" [8000-173] :
Code:
com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /.../cache
to get rid of this error , run
Code:
java -jar gerrit*.war reindex
Plugins :
built-in plugins you can setup during installation
commit-message-length-validator v2.10-rc0
download-commands v2.10-rc0
replication v2.10-rc0
reviewnotes v2.10-rc0
singleusergroup v2.10-rc0
Additional Plugins (pre-compiled) we going to install them
github 2.10-SNAPSHOT (github-oauth && github-plugin)
gravatar-avatar-provider v2.9-rc1-315-g375f3bf
deleteproject v2.9-rc2-619-g4afa3f5
GitHub authentication
The Gerrit GitHub plugin can be found under the Gerrit plugins/github repository on https://gerrit-review.googlesource.com/#/admin/projects/plugins/github. It is open source under the Apache 2.0 license and can be cloned and built using the Java 6 JDK or higher and Maven.
Download (github-oauth*.jar, the GitHub OAuth library for authenticating Gerrit users)
Install the GitHub OAuth filter into the Gerrit libraries (/lib under the Gerrit site directory)
The GitHub OAuth JAR file needs to copied to the Gerrit /lib directory; this is required to allow Gerrit to use it for filtering all HTTP requests and enforcing the GitHub three-step authentication process:
Download (github-plugin*.jar, the Gerrit plugin for integrating with GitHub repositories and pull requests)
Install the GitHub Plugin into the Gerrit plugins (/plugins under the Gerrit site directory)
The GitHub plugin includes the additional support for the overall configuration, the advanced GitHub repositories replication, and the integration of pull requests into the Code Review process.
Register Gerrit as a GitHub OAuth application
Before going through the Gerrit init, we need to tell GitHub to trust Gerrit as a partner application. This is done through the generation of a ClientId/ClientSecret pair associated to the exact Gerrit URLs that will be used for initiating the 3-step OAuth authentication.
We can register a new application in GitHub through the URL https://github.com/settings/applications/new, where the following three fields are requested:
Application name : It is the logical name of the application authorized to access GitHub, for example, Gerrit.
Main URL : The Gerrit canonical web URL used for redirecting to GitHub OAuth authentication, for example, https://myhost.mydomain:port.
Callback URL : The URL that GitHub should redirect to when the OAuth authentication is successfully completed, for example, https://myhost.mydomain:port/#/.
Running Gerrit init to configure GitHub OAuth
Code:
$ ~/gerrit/bin/gerrit.sh stop
Stopping Gerrit Code Review: OK
$ cd /opt/gerrit
$ java -jar gerrit.war init
[...]
*** User Authentication
***
Authentication method []:
HTTP RETURN
Get username from custom HTTP header [Y/n]?
Y RETURN
Username HTTP header []:
GITHUB_USER RETURN
SSO logout URL :
/oauth/reset RETURN
*** GitHub Integration
***
GitHub URL [https://github.com]:
RETURN
Use GitHub for Gerrit login ? [Y/n]?
Y RETURN
ClientId []:
384cbe2e8d98192f9799 RETURN
ClientSecret []:
f82c3f9b3802666f2adcc4 RETURN
Initialized ~/gerrit
Restart Gerrit
Code:
~/gerrit/bin/gerrit.sh restart
Using GitHub login and anonymous read support for Gerrit
Gerrit is now fully configured to register and authenticate users through GitHub OAuth. When opening the browser to access any Gerrit web pages, we are automatically redirected to the GitHub for login.
The best part in this tutorial you will able to open Gerrit pages for anonymous users !!
(put in etc/gerrit.config)
Code:
[auth]
type=HTTP
httpHeader=GITHUB_USER
httpDisplayNameHeader=GITHUB_NAME
httpEmailHeader=GITHUB_EMAIL
loginUrl=/login
loginText=GitHub Sign-in
registerPageUrl=/plugins/github-plugin/static/account.html
gitBasicAuth=true
Check Installed Plugins :
Code:
ssh <user>@<host> -p29418 gerrit plugin ls
Install Gravatar Provider Plugin:
Code:
ssh <user>@<host> -p29418 gerrit plugin install -n gravatar.jar \
http://ci.gerritforge.com/view/Plugins-master/job/Plugin_gravatar_master/lastSuccessfulBuild/artifact/gravatar.jar
Install Delete Project Plugin:
Code:
ssh <user>@<host> -p29418 gerrit plugin install -n delete-project.jar \
http://ci.gerritforge.com/view/Plugins-master/job/Plugin_delete-project_master/lastSuccessfulBuild/artifact/delete-project.jar
Themes :
Code:
[theme]
backgroundColor=FCFEEF
textColor=000000
trimColor=D4E9A9
selectionColor=FFFFCC
topMenuColor=D4E9A9
changeTableOutdatedColor=F08080
[theme "signed-in]
backgroundColor=FFFFFF
TIPS:
if you are using gerrit on remote server and you need to work with Gerrit remotely , you can enable allowRemoteAdmin
Code:
[plugins]
allowRemoteAdmin=true;
Sources and References in this Tutorial :
http://gerrit-review.googlesource.com/Documentation/
https://www.packtpub.com/books/content/using-gerrit-github
http://www.vogella.com/tutorials/Gerrit/article.html
Regards,
Hany alsamman
@banguru @DerRomtester @Eyenseo @jakew02 @KNIGHT97
@LabBoy97 @supreethms @tire_007 @williamfold @Xado
Thanks for read this tutorial !, don't hesitate to ask if there any good question :good:
Could you explain in the step: Running Gerrit init to configure GitHub OAuth
what did you do exactly ?
why did you cd to /opt/gerrit ?
johnhany97 said:
Could you explain in the step: Running Gerrit init to configure GitHub OAuth
what did you do exactly ?
why did you cd to /opt/gerrit ?
Click to expand...
Click to collapse
I'm wondering the same thing. gerrit doesn't exist under "opt". when running "gerrit.war" from bin it doesn't give any settings for github, just all the initial setup settings again.
I've got it setup to the point it gives me the error "Check the HTTP server's authentication settings." I created httpd.conf to show what the error page says and included it in my apache2.conf. Not sure where to go from here.
Edit: An update "2.11-rc0" has been posted. I did a fresh install with launchpad's openid which works great now.
Fortnite for Android with device check disabled
Notes and warnings - READ THESE FIRST!:
This is an APK with only the device check disabled. It spoofs a Samsung Galaxy Note 9, so edit the settings accordingly for your device in game. You may experience optimisation issues. It still requires an ARM64 device (arm64-v8a), as that's all the code included supports.
THIS APK HAS A DIFFERENT SIGNATURE TO THE OFFICIAL GAME (MY SIGNATURE) - THIS IS A REQUIREMENT OF MODDING APKS - IT MAY BE VISIBLE TO EPIC. I AM NOT RESPONSIBLE FOR ACCOUNT BANS OR KICKS FROM THE GAME. YOU ARE RECOMMENDED TO USE A BACKUP OR THROWAWAY ACCOUNT IF YOU DO NOT WANT TO RISK YOUR ACCOUNT
This game uses Safety Net, and also looks for ADB being enabled. You must pass safety net and disable ADB to play the game. Whilst it is likely possible to mod that out, it would also enable cheaters to play the game more easily, and make Epic more likely to retaliate against this mod. For that reason, this release is as close to the official build as possible, with only the device spoofed. There is an experimental APK with the Safety Net test skipped - this may mean your account gets banned so be careful!
This APK does not grant access to the exclusive in-game skin
This APK will not install over the top of the official APK. Uninstall that first, then install this one.
FAQ
Got the "You were removed from the match due to internet lag, your IP or machine, VPN usage, or cheating. We recommend not utilizing VPN or proxy services while attempting to play Fortnite" error? Read this (don't post that you have it in this thread either)
Got "App not installed"? If you have another Fortnite build (a leak or release build, both count), uninstall it first then install this. Otherwise, your device does not meet the compatibility requirements
Got an error involving Safety Net, ADB or root? Make sure your device passes Safety Net, you have enabled Magisk Hide for the game (not just overall) and have disabled ADB/USB debugging. You can also try using the less-safe, Safety Net disabled APK
Got the 3GB RAM issue even with the RAM patched APK? The error your are seeing appears to be in native code, and is caused by a genuine lack of RAM, so it can't be solved
Got an error where it says "Fortnite encountered an error indicating an incompatibility with your mobile device's graphics driver"? Read this
Got an error where it says your device doesn't have OpenGL ES 3.1 support or floating point render target support? Your device isn't compatible
Game crashing during optimisation? Your device isn't compatible
Got GPU compatibility issues? Read this
Download
Version 5.21.2-4296531 (newest):
APK with the device/GPU/RAM check disabled, but does not spoof the Note 9 to the game. This will only work if you have an invite, like the official build, but is less laggy. Use the third APK if you don't mind lag and want to skip the invite system
Dead Link
APK with the device/GPU/RAM check disabled, as well as the Safety Net check disabled (warning: This may cause account bans):
Dead Link
APK with the device/GPU/RAM check disabled, fully spoofing the Note 9 (may cause lag/overheating):
Dead Link
Checksums:
Fortnite_com.epicgames.fortnite-5.21.2-4296531-Normal.apk:
MD5: 0E1CE4ADEEA4F2134E370F014EEB67B9
SHA1: BBE50D447EB120506E22DAD0522973D47CF9C095
Size: 90.3MB
Fortnite_com.epicgames.fortnite-5.21.2-4296531-NS.apk:
MD5: 30F683A6340535DB42BE4F2185AB4D85
SHA1: 5B4970EA07DD4216D46AEAED312158842F990169
Size: 90.3MB
Fortnite_com.epicgames.fortnite-5.21.2-4296531-Note9.apk:
MD5: C8C31820B275D84E31A6DAD977A44579
SHA1: 52380A0CFCA0245B5C785099F38B1746C3D52BDB
Size: 90.3MB
The APK is signed with my certificate, you can validate this in any mirrors by checking the MD5 and SHA1 of the APK file. You are free (and recommended to, if you wish) to mirror this file elsewhere and share it on for free (no charging or having people follow your social media or anything in return for the download), but please give credit if you do.
Old APKs:
Version 5.2.1-4288479:
APK with the device/GPU/RAM check disabled, but does not spoof the Note 9 to the game. This will only work if you have an invite, like the official build, but is less laggy. Use the third APK if you don't mind lag and want to skip the invite system
Dead Link
APK with the device/GPU/RAM check disabled, as well as the Safety Net check disabled (warning: This may cause account bans):
Dead Link
APK with the device/GPU/RAM check disabled, fully spoofing the Note 9 (may cause lag/overheating):
Dead Link
Checksums:
Fortnite_com.epicgames.fortnite-5.2.1-4288479-Normal.apk:
MD5: 0E1CE4ADEEA4F2134E370F014EEB67B9
SHA1: BBE50D447EB120506E22DAD0522973D47CF9C095
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.1-4288479-NS.apk:
MD5: 4B0FB3774F3889453315E9B61B10D970
SHA1: 14349F5ADE14FCF86B908D61E6A3FBABD53114D2
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.1-4288479-Note9.apk:
MD5: D3498C9308F7C0D05321F1B24AEFB5F4
SHA1: 554AD0B5AA31EA0937B1E4215CBD998D32F751E3
Size: 90.4MB
Version 5.2.1-4284747:
APK with the device/GPU/RAM check disabled, but does not spoof the Note 9 to the game. This will only work if you have an invite, like the official build, but is less laggy. Use the third APK if you don't mind lag and want to skip the invite system
Dead Link
APK with the device/GPU/RAM check disabled, as well as the Safety Net check disabled (warning: This may cause account bans):
Dead Link
APK with the device/GPU/RAM check disabled, fully spoofing the Note 9 (may cause lag/overheating):
Dead Link
Checksums:
Fortnite_com.epicgames.fortnite-5.2.1-4284747-Normal.apk:
MD5: A97810E01746328119434A3F72984F28
SHA1: BCA5038A0687E77E9CE1F834BCDB652CFB6F399A
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.1-4284747-NS.apk:
MD5: 566B0BB19E1E5BB66A3352FD6C67A934
SHA1: 8CDD0E69353730B35ABBDD0BEF5FECDF443DBE46
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.1-4284747-Note9.apk:
MD5: 24AC0E1F0F168973ACD0516B6E1E0206
SHA1: 7B283B8A989F6A9E54BCDB53EF0BCC20B5ADA8CD
Size: 90.4MB
Version 5.2.0-4276112
APK with the device/GPU/RAM check disabled, fully spoofing the Note 9 (may cause lag/overheating):
Dead Link
APK with the device/GPU/RAM check disabled, fully spoofing the Note 9 (may cause lag/overheating), as well as the Safety Net check disabled (warning: This may cause account bans):
Dead Link
APK with the device/GPU/RAM check disabled, but does not spoof the Note 9 to the game. This will not work until the 12th August when Epic open the beta fully, but should be better on the lag front (as it doesn't give the game the wrong info) - EXPERIMENTAL:
Dead Link
Checksums:
Fortnite_com.epicgames.fortnite-5.2.0-4276112.apk:
MD5: 3A298A730708B9F51B8D60F39FF15157
SHA1: 47744AEAC2A099DB7AD420A88D9D5A48231181E1
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.0-4276112-NS.apk:
MD5: C92AE326BF9051FAE97F338B259B978F
SHA1: 8C77135D119133EFAC7348BAF6C10F66B0DCF548
Size: 90.4MB
Fortnite_com.epicgames.fortnite-5.2.0-4276112-EXP.apk:
MD5: 86287E8538C286F0D752115057450AD1
SHA1: 5AEDFE7D09443A8E4D210468B605A88E27B0AC5C
Size: 90.4MB
This APK skips the Safety Net check and GPU/RAM check - Be extremely careful with this as it may crash or overheat your device, and your account may get banned
Dead Link
This APK doesn't skip the Safety Net check or GPU/RAM check, so may be safer:
Dead LInk - Thanks bluedragon02
APK with Safety Net skip:
MD5: 446C82441025FA08D707BB9BFE4C5A44
SHA1: 3DB935E8D6E7EDD6EB1C7A533972DD04CF4772BD
Size: 90.3MB
APK without Safety Net skip:
MD5: F51702713287B2222FFA1C05F2CC4BEE
SHA1: C3A549E583D4E6AD77FBE5FD46FDA99FBFA035EC
Size: 90.3MB
How to mod it yourself
Got a tinfoil hat? Don't trust my APK? Well, you can mod the original, official APK yourself with my instructions.
Porting Guide
Step 1: Download the APK
The best way to do this is via APKmirror, as the official installer also checks the device requirements. You can find the latest APK here
Step 2: Decompile it with APKtool
Install APKtool if you have not already, then run the decompile command:
Code:
apktool d <path-to-apk>
This will produce a folder containing the Java code (in Smali) and resources
Step 3: Editing the Smali
There are multiple options to edit the code here, but only one file is edited. You can find that at smali/com/epicgames/ue4/GameActivity.smali
Open it in a decent text editor, such as Notepad++, Sublime Text or Visual Studio Code
The following options are just that - optional. You can mix and match how you like, depending on what you want the mod to do
Disabling the device check (CPU/GPU/RAM)
Search for the following line:
Code:
.method private processSystemInfo(Ljava/lang/String;Ljava/lang/String;)Z
Paste the following code after the ".locals" line:
Code:
const/4 v0, 0x1
return v0
Result should look like this: https://i.imgur.com/4UdwVui.png
Save the file
How this works: The "processSystemInfo" method gets device information and checks it, displaying a message if the device is not compatible. The code we pasted in simply returns that the device is compatible so the code moves on
Enabling the Note 9 features
Search for the following line:
Code:
.method public AndroidThunkJava_Fortnite_CheckLocalizationA()Z
Paste the following code after the ".locals" line:
Code:
const/4 v0, 0x1
return v0
Result should look like this: https://i.imgur.com/WZxJlSm.png
Save the file
How this works: The "AndroidThunkJava_Fortnite_CheckLocalizationA" method checks if the device is a Note 9 by checking its brand and device properties from the build.prop. It also checks if the device supports the BLE S-Pen using a Samsung class. The code we pasted in simply returns that the device is a Note 9 and supports the pen, so the code moves on
Enabling the Tab S4 features
Search for the following line:
Code:
.method public AndroidThunkJava_Fortnite_CheckLocalizationB()Z
Paste the following code after the ".locals" line:
Code:
const/4 v0, 0x1
return v0
Result should look like this: https://i.imgur.com/V6EtEKk.png
Save the file
How this works: The "AndroidThunkJava_Fortnite_CheckLocalizationB" method checks if the device is a Tab S4 by checking its brand and device properties from the build.prop. It also checks if the device supports the S-Pen using a Samsung class. The code we pasted in simply returns that the device is a Tab S4 and supports the pen, so the code moves on
Disabling the Safety Net check
Warning: This may cause account bans
Search for the following line:
Code:
.method public AndroidThunkJava_GetCurrentConnectionState()Z
Paste the following code after the ".locals" line:
Code:
const/4 v0, 0x0
return v0
(This is not a typo, it should return "false" [0x0])
Result should look like this: https://i.imgur.com/eZjt9Zc.png
Save the file
How this works: The "AndroidThunkJava_GetCurrentConnectionState" runs the Safety Net check, but only does so if the device has Google Play Services installed. For some reason, if we return that Play Services isn't installed, the game doesn't care that we skipped the Safety Net check
Fully spoofing the Note 9 to the game
Warning: This may cause lagging and overheating
Search for the following line:
Code:
invoke-virtual/range {v0 .. v5}, Lcom/epicgames/ue4/GameActivity;->nativeSetAndroidVersionInformation(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
It should be preceded by these lines: https://i.imgur.com/rZ9iWZ8.png
Replace the lines shown in the image above with the following:
Code:
sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
sget-object v2, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
const-string v2, "samsung"
sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;
const-string v3, "SM-N960U"
sget-object v4, Landroid/os/Build;->DISPLAY:Ljava/lang/String;
Result should look like this: https://i.imgur.com/gY93PZy.png
Save the file
How this works: The "nativeSetAndroidVersionInformation" method sets the device information in native code, ie. the game itself. The code we added overwrites the information got from the device's build.prop, spoofing the Note 9's model number and manufacturer to the game
Step 4: Recompiling the APK
In your APKtool directory, run the following command:
Code:
apktool b <name-of-apk-without-.apk>
This will produce an unsigned APK in the decompilation folder\dist
Step 5: Signing the APK
The easiest option here is to copy the APK in the "dist" folder to your device, then use the ZipSigner app on your device to sign it.
This will produce a signed APK in the same directory as the unsigned APK, but with "-signed.apk" rather than ".apk"
Step 6: Installing the APK
If you currently have a version of the APK that was not signed using ZipSigner (INCLUDING a modded APK downloaded from this thread, and the official APK), you must uninstall that first
You can then install the "-signed.apk" APK ZipSigner produced in Step 5.
Now we need the APK with checks disabled. I'm running the official APK on a rooted S9. I disabled ADB, enabled Magisk Hide but it's still kicking me out.
Awesome!!! Thanks
https://www.youtube.com/watch?v=6cqr7v3TQQI
Lukyczk said:
Now we need the APK with checks disabled. I'm running the official APK on a rooted S9. I disabled ADB, enabled Magisk Hide but it's still kicking me out.
Click to expand...
Click to collapse
As I mentioned in the first post, that would enable cheaters to use cheat apps more easily when the game is running, making the port a bigger target for Epic. If they DMCA it anyway, then I suppose it might be called for?
Quinny899 said:
As I mentioned in the first post, that would enable cheaters to use cheat apps more easily when the game is running, making the port a bigger target for Epic. If they DMCA it anyway, then I suppose it might be called for?
Click to expand...
Click to collapse
I get that, but there are also tons of people with rooted devices that want to play legit.
May you try to remove RAM and GPU checks for people with potato phones, @Quinny899? ?
DodoGTA said:
May you try to remove RAM and GPU checks for people with potato phones, @Quinny899?
---------- Post added at 08:11 PM ---------- Previous post was at 08:09 PM ----------
May you try to remove RAM and GPU checks for people with potato phones, Quinny899?
Click to expand...
Click to collapse
Considering how it lagged on my Pixel 2 XL, that probably isn't a good idea.
Quinny899 said:
Considering how it lagged on my Pixel 2 XL, that probably isn't a good idea.
Click to expand...
Click to collapse
How about lowest settings? ?
I have adreno 505 but fortnite ask minimum for adreno 530 , how to bypass the gpu detection ?
DarioKJ said:
I have adreno 505 but fortnite ask minimum for adreno 530 , how to bypass the gpu detection ?
Click to expand...
Click to collapse
Buy a better smartphone :fingers-crossed:
Quinny899 said:
Fortnite for Android with device check disabled
Notes and warnings:
This is an APK with only the device check disabled. It spoofs a Samsung Galaxy Note 9, so edit the settings accordingly for your device in game. You may experience optimisation issues. It still requires an ARM64 device (arm64-v8a), as that's all the code included supports.
THIS APK HAS A DIFFERENT SIGNATURE TO THE OFFICIAL GAME (MY SIGNATURE) - THIS IS A REQUIREMENT OF MODDING APKS - IT MAY BE VISIBLE TO EPIC. I AM NOT RESPONSIBLE FOR ACCOUNT BANS OR KICKS FROM THE GAME. YOU ARE RECOMMENDED TO USE A BACKUP OR THROWAWAY ACCOUNT IF YOU DO NOT WANT TO RISK YOUR ACCOUNT
This game uses Safety Net, and also looks for ADB being enabled. You must pass safety net and disable ADB to play the game. Whilst it is likely possible to mod that out, it would also enable cheaters to play the game more easily, and make Epic more likely to retaliate against this mod. For that reason, this release is as close to the official build as possible, with only the device spoofed.
This APK does not grant access to the exclusive in-game skin
This APK will not install over the top of the official APK. Uninstall that first, then install this one.
Download
Fortnite_com.epicgames.fortnite-5.2.0.apk
MD5: F51702713287B2222FFA1C05F2CC4BEE
SHA1: C3A549E583D4E6AD77FBE5FD46FDA99FBFA035EC
Size: 90.3MB
The APK is signed with my certificate, you can validate this in any mirrors by checking the MD5 and SHA1 of the APK file. You are free (and recommended to, if you wish) to mirror this file elsewhere and share it on, but please give credit if you do.
How to mod it yourself
Got a tinfoil hat? Don't trust my APK? Well, you can mod the original, official APK yourself with my instructions.
Coming soon.
Click to expand...
Click to collapse
Wahoux said:
Buy a better smartphone :fingers-crossed:
Click to expand...
Click to collapse
Wahoux , give me a rog phone ??
(Just kidding)
I hope it works on my Potter, because it has only 2GB of RAM
well, now let's wait for gpu check bypass and root check bypass.
Really surprised by your work anyways, that was extremely quick, thank you!
DarioKJ said:
I have adreno 505 but fortnite ask minimum for adreno 530 , how to bypass the gpu detection ?
Click to expand...
Click to collapse
Just use GLTools
can't login
Is there a way to hide unlocked bootloader? Cuz now it detects that my bootloader is unlocked
It does work! However I'm thrown out of every match seconds after I land. In the lobby I get a notification that says I'm removed due to crappy internet, VPN, proxy or cheating. I guess it does some kind of a check when you're actually going in-game.
Thanks for your work @Quinny899 Will this give you the galaxy skin since its spoofed as a Note 9?
jesper801 said:
Is there a way to hide unlocked bootloader? Cuz now it detects that my bootloader is unlocked
Click to expand...
Click to collapse
kyan31 said:
Thanks for your work @Quinny899 Will this give you the galaxy skin since its spoofed as a Note 9?
Click to expand...
Click to collapse
Read the first post.
Quinny899 said:
Read the first post.
Click to expand...
Click to collapse
Missed that, my bad, thanks for clarifying.