[Tutorial] Fix CM12.1 Red Frame border around the screen - Samsung Galaxy Pocket Neo S5310

Just download and install cm12.1, I found a bug showing a red frame around the edges, it bothered me a lot, so I'm bringing research and the solution.
What they need:
1: Download and install a root file browser / manager app from the Google Play Store. I recommend Root Browser .. Skip this step if You Already have it installed.
2: Launch Root Browser and open "system" directory.
3: Scroll down to "build.prop" file and open it with a text editor.
4: Now add the following lines at the end of "build.prop"
persist.sys.strictmode.visual = 0
persist.sys.strictmode.disable = 1
and replace
this:
ro.build.type = eng
to this:
ro.build.type = user
5: Finally, tap on Save to save the changes.
When You Are With These things done, reboot your phone for the Changes to take effect.
Credits:
Andres-921 - Myself
Bill Myst of Disqus
Rakesh from Droidview

Need thanks
Español:
Dar thanks,para poder recomendar

good job bro

Related

[Video] Change Sony stock ICS systemUI clock colors!

i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Ok, this is all steps:
1, Decompile SystemUI
Copy your Sony-based SystemUI.apk from system/app in phone to Apkmanager/place_here_to_modding folder
Open cmd file in APK manager, choose 9 to decompile
2, edit XML
Open file projects/SystemUI.apk/res/values/styles.xml by notepad++
Find a line have statusbar.clock (if you want change clock in status bar color, for other items, just find it's style code in this xml file)
Change color from ffffff (white opaque) in a line below to color you want ( for example : if i have a color code 00123456 (hex) means: 2 first hex number 00 is full transparent, ff is no transparent; 2 next hex numbers is green values, then 34 is green value, 56 is blue value. For each color value, 00 is zero and ff full of that color). After all changes, save the file
3, Recompile your apk:
Reopen cmd window and chosse 11, enter then y ,enter then y,enter. After that go to keep folder and delete resources.arsc. go back cmd windows and press enter. DONE, YOUR FILE IS unsignedsystemui.apk in place-apk-here-for-modding folder
i dont understand a SH#T...sorry but u can make a new video with more explanation? or something :S
leloiboi said:
i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Click to expand...
Click to collapse
What This?
Sent from my ST15i using xda premium
Updated step by step

[Guide] Enable Navigation bar in Cyanogenmod 11, Cyanogenmod 13

Updated
1.Disable Capacitive Buttons ( Back and Menu )
Warning!!!
This Post is only for Cyanogenmod 11 and 13 not for Touchwiz if you try to enable it in touchwiz it will keep crashing Systemui and Kindly make a backup of your data
Apps we Required
1. Es File Explorer
2. Softkeyz
Links for downloading above apps
1. Es File Explorer --> Download
2. Softkeyz --> Download OR Alternate Link
Let's Start and follow steps
Step 1 :- Open Es file Explorer and swipe from extream left towards right.
Step 2 :- Swipe up and locate "Root Explorer" and tap on it.
Step 3 :- Touch on " Mount R/W" and enable those circular box which are uncheck ( means Change the permission from Read Only (RO) to Read Write (RW) ) and press OK then grant the Super user permission.
Step 4 :- Now goto device/system/ and open file named "Build.prop" with "Es note Editor".
Step 5 :- Navigate to end of the file and tap on Three Dots at Right top of display and touch on "Edit".
Step 6 :- At end of file Add text ( written Below ) as it is
HTML:
qemu.hw.mainkeys=0
Step 7 :- Now press back key and hit "Yes".
Step 8 :- Now Reboot your Device.
Thats it wait till device reboots
If you got bored with stock icons on navigation bar then follow these steps
Step 1 :- Open app named Softkeyz ( downloaded above) and grant Superuser permission.
Step 2 :- Swipe from Right to Left.
Step 3 :- Now swipe up and choose icons which you like.
Step 3:- Now tap on download icon ( icon with a Line and an Arrow ) . Now wait for few moments.
Step 4 :- Now touch on Check mark ( Tick mark) and select "1 X 1" ( means changing the Scaling Factor ) and wait till device restarts.
If you want to disable capacitive ( Back and Menu ) softkeys then follow these steps
Step 1 :- Open Es file Explorer and goto device/system/usr/Keylayout and open file named "Generic.kl" as "Text" with "Es note editor".
Step 2 :- Now locate "Key 158" ( for back key ) and "Key 139" ( for menu ) and tap on three dots at right top of display and then "Edit".
Step 3 :- Now place a "#" before each line ( shown below )
HTML:
"Key 158 BACK" TO "#Key 158 BACK"
"Key 139 MENU" TO "#Key 139 MENU"
Step 4 :- Press back key and hit "Yes".
Step 5 :- Now reboot Your device.
Thats it wait till device reboots
Disable Capacitive buttons Light
Step 1 :- Goto "Settings.
Step 2 :- Locate "Buttons"
Step 3 :- Tap on "Backlight"
Step 4 :- Remove that Tick mark before "illuminate buttons" and hit "OK".
Warning!!!
Do not Disable Capacitive button until you enable navigation bar.
If you face any problem just ask me
If This post helped you hit THANKS
Cool device started developing after cm11 Thanks
i tried this with root Browser...... Working Awesome..!!!

[GUIDE] Rearrange Hardware Keys in any rom

Warning!!!
Please make a nandroid backup before you make any changes in system because I know there will be a person in hundred who will mess with his/her device.
This Tutorial is only for rearranging back and menu softkeys . If you want some other arrangement comment below and I will tell you what to do in that.
Apps we required
1. Es File Explorer
Links for downloading above apps
1. Es File Explorer --> Download
Let's Start and follow steps
Note: If you have already have Read Write premissions then skip to Step 4 else start from Step 1.
Step 1 :- Open "Es file Explorer" and swipe from extream left towards right.
Step 2 :- Swipe up and locate "Root Explorer" and tap on it.
Step 3 :- Touch on " Mount R/W" and enable those circular box which are uncheck ( means Change the permission from Read Only (RO) to Read Write (RW) ) and press OK then grant the Super user permission.
Step 4 :- Now goto device/system/usr/Keylayout and open file named "Generic.kl" as "Text" with "Es note editor".
Step 5 :- Now locate "Key 158" ( for back key ) and "Key 139" ( for menu ) and tap on three dots at right top of display and then "Edit"
Step 6 :- Now change these lines as written below
HTML:
"Key 158 BACK" TO " Key 158 MENU"
"Key 139 MENU" TO " Key 139 BACK"
Step 7 :- Press back key and hit "Yes".
Step 8 :- Now reboot Your device.
Thats it wait till device reboots
Yeah you have successfully remapped your hardware keys.
If you face any problem just ask me
If This post helped you hit THANKS

Guide: Enable Wifi HotSpot Tether on Rooted Verizon HTC 10

Reason for thread:
There are some discrepancies between Unlocked vs Verizon HTC 10 with the build.xml file as well as numerous variations of instructions for enabling hotspot function for tose that have grandfathered unlimited data I thought I would put up a detailed how to that is specific to this version of the HTC 10 and what are the proper edits to get it to work.
While the popular ROMs enable this by default there are still many that run deodexed debloated versions of the stock ROM. Not to mention the same edits are needed for nonrooted HTC 10s tthru adb so having the correct info archived on the site seemed like a good idea.
(As a note as far as I know if you do not have a rooted ie S-off supersu phone you can do this thru adb and your PC but be very careful to set permissions back to what they were when you transfer the file back.)
As I have only done this on the rooted phone and thus did all editing on the phone itself I am only giving those instructions but the edits needed are exactly the same.
I am making these instructions painfully detailed so anyone can follow. I am also listing root explorer as the app used so I can give specific step by step. Obviously other root browser can be used
Instructions
Phone: Verizon Branded HTC 10 (Sunshine S-off, SuperSU rooted)
1: Installed Root Explorer (from Google Play) (or other root file manager i.e. on that's possibly free)
2: Configure Root Explorer and navigate to default.xml file
----- Open Root Explorer
----- Click on R/W Mode button
----- Supersu window will open, Choose grant access button
----- Navigate from root to " /system/customize/ACC " folder ( there should only be one file in the folder " default.xml "
3: Make a backup copy of default.xml
----- Press and hold on the " default.xml " file name to highlight it
----- Press the "copy" button that appears on the top tool bar
----- Press the "paste" button that appears on the bottom right of the window
----- There will now appear a new file " default - Copy.xml "
( Basically just make a bkup copy ofr thte default.xml file in the same folder)
4: Edit " default.xml file
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button in the upper right corner of the window. Its 3 vertical dots
----- Press " Open in Text Editor " button This will open the default.xml file
----- scroll down near the bottom of the file (about 7/8 of the way.) To help locate it will come very soon after a section that has lines:
<int.0,/int>
<int.1,/int>
<int.2,/int>
all the way to 33 and then a couple shorter runs of similar lines. After about another 15-16 lines you will see a line with " tethering " one it. Now you are there.
----- the specific section is: (holding phone in landscape mode will show it as listed below for data on each line)
<app name=Tethering provision"><item type="integer" name="CustomizeCarrierDialogType">0</item>
<item type="integer" name="TetheringGuard_Rule">4</item
​The bold line is the one you will edit. Change the " 4 " or whatever number is there with a " 0 "
----- Now scroll all the way to the bottom of the file. Now scroll up till you find section:
,app name="Wi-Fi Hotspot"><item type="integer" name="hotspot_rule">1</item
<item type="boolean" name="show_passphase">false</item>
<item type="boolean" name="support_showpassword">false</item>
Its right below a " weather " section and above a " wolrdclock " section
​The bold line is again the one to edit. Change the " 1" to a " 0 "
------ Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Save and Exit "
5 Confirm default.xml permissions
----- As a precaution we want to confirm no changes to the file permissions has occured.
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Permissions "
----- To the right of the "ENTER OCTAL" button you should see permissions " 0644 rw-r-r- "
----- If all is correct, close root explorer and reboot phone.
6. Confirm Hotspot is functional
----- Go to " Settting " on phone and click on " Mobile Hotspot and Tethering "
----- Turn on via the slider. You should now get the setup procedure and no warning or message to contact Verizon. Choose a SSID name and passphrase for your hotspot .
Finish and test. Hotspot should be working
Note:
There is no reason I could see for adding a line to the build.prop file a few instructions state to do i`f all that is desired is fully functioning hotspot tethering. Everything works without any other changes. There are of course many other tweaks that require build.prop file edits and or additions just not for hotspot function.

How to hack Unity game or .lib based game??

Hey developer/tech enthusiasts i need Your help!
I am a small developer from Bangladesh and i want to learn many things!
I have very small knowledge about .dex file, i can work with it very Limited.
Main point is, i want to hack .so (Shared library file) of Android so that i will do better in future!
Patching dex is impossible for me now, but i know patching .so is easy than it!
So, how to work with it???
I have a windows pc running Core i5 1.9 Ghz Ram 4GB Hard drive 1TB windows version 10.
Please share your though/tutorial of how to hack .so/unity dll file!
Of course, provide me link of tools that i will need to patch them!
I will be greatly thankful to you.
Just help me out!
Regards
Nurujjaman Pollob
:*:Tools Required :*:
(*) Il2cpp Dumper GUI
https://www.andnixsh.com/2018/07/il2cppdumper-gui-104-with-apk-extension.html?m=1
Note :: There Is An Non-GUI Version Available On Github. I Prefer GUI Its Easy To Use.
(*) Dns Spy
https://github.com/0xd4d/dnSpy/releases
(*) Hxd Hex Editor
https://mh-nexus.de/en/hxd
** You Can Use Any Hex Editor You Want To.
(*) 7zip Or Winrar
https://www.7-zip.org/
(*) Notepad ++
https://notepad-plus-plus.org/downloads
(*) Apk Easy Tool
https://forum.xda-developers.com/an...tool-apk-easy-tool-v1-02-windows-gui-t3333960
### Lets Start Modding ###
Step 1: First Download Any Game Apk.
( Im Using Subway Surfers Which Is The Easiest Game To Mod )
These Are Some Sites To Download Apk
apkpure.com
apkmonk.com
apkmirror.com
Step 2: ( We Need Three Files ) Open The Apk File With 7zip/winrar Goto And Extract
1. /lib/armeabi-v7a/libil2cpp.so
2. /assets/bin/Data/Managed/Metadata/global-metadata.dat
3. /assets/bin/Data/Resources/unity_builtin_extra
Create a new folder copy these three files.( Make a additional copy of libil2cpp.so )
Step 3: Open Il2cpp Dumper
-> In The Executable File Select the libil2cpp.so and In global-metadata.dat Select global-metadata.dat
-> Open the unity_builtin_extra file with Notepad++
You Will See Something like this in first line 2018.2.21f1 that's the unity version. Just Enter 2018.2 ( it's version no ) In The "Input unity version" Leave Everything As It Is.
+++ And Start Dumping.
( It Will Create a Dummy dll folder ( Which contains C# code in dll Files ) , Dump.cs [ You Can Open And Search For Functions Using Notepad ++ But Dns Spy is Recommended ]
Script.py for IDA. )
Note :: The Assembly-CSharp.dll Does not contain the Actual C# source code It Has only the function name and offset.
Step 4: We Need One dll File named Assembly-CSharp.dll
-> Open That File With Dns Spy.
-> Search For Functions Like get_coins, get_keys ( Every Game Has Different function so take time to search for it )
and double click on it.
-> You Will See Something Similar [ offset = "0*10C70B8" ] Just copy the offset ( 10C70B8 ) It Has 7bytes.
-> Open The libil2cpp.so file in HXD Hex editor
-> Then Press ctrl+g And Paste The Offset You Have Copied.
Note :: Dont Add Extra Or Remove Anything 1char = 1byte
Note :: For Modifying If it has 8 bytes replace with 8bytes.If not then it will start at different end or start positions and causes the library to break.
MVN R0, #0xB0000000
BX LR - Arm Assembly Code
Note :: You Can Use - armconvertor.com -
to convert from arm opcodes to hex code
( if you have some knowledge in assembly language ).
-> It will give the Hex code - 0B 02 E0 E3 1E FF 2F E1
{** MVN - Move Not
bx - branch and exchange instruction set
lr - holds the return address
#0*B00000000 -> This is the value for
(coins,money,gems,keys)
if we convert it to decimal the value is 2952790016 this is the amount of coins for our game. ** }
-> Then Paste The Hex Code From Where Your Pointer Is.
If it has 16bytes replace with 16bytes.
-> Then Save It.
Step 5: Copy the modified - libil2cpp.so - to the original apk using winrar/7zip
-> Sign The Apk Using Apk Easy Tool.
( Signing is not required for Devices patched by lucky patcher ).
Note :: If there is arm8 or x86 folder inside lib/ folder in apk, delete these folders it is not required.
That's It Done...
Hope This Helps.
Have fun Modding. ??
app does not have libil2cpp
it has
libadcolony.so
libjs.so
libmain.so
libmono.so
libunity.so
which file to dump here
hlp
Arnold_9981 said:
app does not have libil2cpp
it has
libadcolony.so
libjs.so
libmain.so
libmono.so
libunity.so
which file to dump here
hlp
Click to expand...
Click to collapse
then, go for libunity.so
Many thanks for your tutorial Jsonkat
I'm trying to follow your steps but the offsets have 6 bits and not 7.
Following your step is possible to change anything into the game, right?
Could you please be so nice to explain better how to edit "libil2cpp.so"?

Categories

Resources