How To Guide AUTO DEBLOAT YOUR REALME GT 2 - Realme GT 2

I have attached a bat file, first make sure u have ADB drivers installed on your pc , if not refer to this , after installing , extract the file attached and run the bat file

Hi, this is almost perfect but there is one consequence of deleting com.coloros.video, if you end a screen recording and try to click on the notification that says "view recording" it won't work
a minor inconvenience though nothing too much

Related

Standalone apk installer with adb

I made a little file where u can drag'n'drop files u want to install on ur phone.
No need of any settings.
When your phone is allready "adb ready" you dont need to have anything running.
Just take the apk File and drag on the exe and it will install. thats all.
perhaps i'll add more features soon. i made it for myself, to install the apk's faster after a full-wipe i made.
In Windows7 and Vista, it needs Admin rights (so it asks when starting) and AFTER its done, it gives an error. But it works how it should!
so don't worry
PS: Doubleclicking it won't do anything! Its Drag'n'Drop only!!
Another one by me
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
htcmagic said:
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
Click to expand...
Click to collapse
What do u want to say with ur post?
Did i made any question? i think not, so what r u explaining and for WHO??
It's just what i made in my "tool".
Made little bigger better Tool with 5 Options now
if anyone wants it, its at the bottom.
Now u can install apks, uninstall non-stock apks, push and pull files to & from /system/app/ and reboot ur phone.
ahhh, and not it wont make any errors or need for "admin rights" when starting the tool.
Works like a charm and now it has an Sketched android in it ! Yeehaaa
your program (the install part) doesnt really work. it doesnt install. i found that making the batch file was better.
hmm ok, thats weird. for me the new tool works perfekt.
And it IS a batchfile, i just merged the needed files from adb and the .bat file to one exe file. thats all.
do u get any error when trying to install ?
You do drag and drop the file to the exe and choose install apk, right?
Geeze, are people these days so lazy that they can't move their hand off the mouse? Just type the command!!!! Its easy... "adb install {file.apk}".
You know, back in the dark ages of not very long ago, NOBODY had a mouse. Or drag and drop. EVERYTHING was on the keyboard and involved typing commands.
If you guys want and you are running Windows, check out our app. www.androidmanager.net ... we added feature for installing apk-s by double-clicking few days ago

i9000 proximity sensor problem

Hello.
I try many rom, but I have the problem with proximity sensor in my galaxy S (i9000).
I change the hardware (proximity sensor with 3.5 audio jack), but problem still.
Then I answer to call the phone freez, and the screen goes black.
I found the file in system/lib/hw/ sensors.default.so
In this file is all information about all sensors, then I delete this file the problem with this sensor is gone, but not work all sensors (rotate, etc).
How I can edit this file to delete information only about proximity sensor?
Maybe somebody can send the file sensors.default.so without proximity sensor information?
Thank You
Mine does exatly the same. I am not sure, but I believe my Galaxy S has sustained salt water damage to the microusb port, and just below that as you know is are the light and proximity sensors. I am pretty sure this is why it's playing up exactly as you describe.
I do flash a fair bit though, so it may simply be firmware related, I am yet to find out, but i doubt it.
Did anyone find fix for this one as mine i9000 does same thing
oxio said:
Did anyone find fix for this one as mine i9000 does same thing
Click to expand...
Click to collapse
The problem in the motherboard.
I change the motherbord of my I9000
poliusss said:
The problem in the motherboard.
I change the motherbord of my I9000
Click to expand...
Click to collapse
Where did you find it, i tried ebay and google without luck.
oxio said:
Where did you find it, i tried ebay and google without luck.
Click to expand...
Click to collapse
I buy other phone with broken screen.
I managed to disable only proximity sensor on my i9000 with cm7.
So here is how to make it if somebody need it.
IMPORTANT: Make backup of your firmware!
Requirements:
Root-ed phone
File manager with acess & permitions to write to system (i used ES File Explorer)
PC with HEX Editor
Steps:
1. With superuser grant acess to ES File Explorer
2. In ES File Explorer go to settings and togle all 3 boxes in category Root settings
3. Navigate to root of your device
4. Go to system/lib/hw/
5. Copy sensor.aries.so to sdcard
6. Transfer on computer and open file sensor.aries.so in HEX editor
7. Find all parts where ProximitySensor is mentioned, do not delete it only replace ProximitySensor to PPPPPPPPPPPPPPP (it can be anything but we must keep number of letters exact like original so anything with 15 characters is ok)
8. Save file sensor.aries.so to sdcard
9. Replace sensor.aries.so on your phone with this modified version
10. Reboot phone
11. Make test call and see only proximity sensor is disabled
In attachment is file i made, please note i made it for my I9000 with CM 7.2 so i dont know will it work for other firmwares.
@ poliusss - thanks for pointing to system/lib/hw/ sensors.default.so it helped me a lot.
oxio said:
I managed to disable only proximity sensor on my i9000 with cm7.
So here is how to make it if somebody need it.
IMPORTANT: Make backup of your firmware!
Requirements:
Root-ed phone
File manager with acess & permitions to write to system (i used ES File Explorer)
PC with HEX Editor
Steps:
1. With superuser grant acess to ES File Explorer
2. In ES File Explorer go to settings and togle all 3 boxes in category Root settings
3. Navigate to root of your device
4. Go to system/lib/hw/
5. Copy sensor.aries.so to sdcard
6. Transfer on computer and open file sensor.aries.so in HEX editor
7. Find all parts where ProximitySensor is mentioned, do not delete it only replace ProximitySensor to PPPPPPPPPPPPPPP (it can be anything but we must keep number of letters exact like original so anything with 15 characters is ok)
8. Save file sensor.aries.so to sdcard
9. Replace sensor.aries.so on your phone with this modified version
10. Reboot phone
11. Make test call and see only proximity sensor is disabled
In attachment is file i made, please note i made it for my I9000 with CM 7.2 so i dont know will it work for other firmwares.
@ poliusss - thanks for pointing to system/lib/hw/ sensors.default.so it helped me a lot.
Click to expand...
Click to collapse
Could you please tell me what Hex Editor did you use and how did you edit it? I have an hardware issue related to compass and I would like to block al readings.
I used HexEdit v1.03 found it online its free tool so i attach it here.
Opened sensors.aries.so with it and searched for proximity sensor and replaced characters by letter P
In find function of program it is important to use big and small caps, so you must search for: CompassSensor
and replace it by: CCCCCCCCCCCCC
I attach you here file with only compass disabled but please make backup before as i didnt test it.
Hope it will solve your problem
oxio said:
I used HexEdit v1.03 found it online its free tool so i attach it here.
Opened sensors.aries.so with it and searched for proximity sensor and replaced characters by letter P
In find function of program it is important to use big and small caps, so you must search for: CompassSensor
and replace it by: CCCCCCCCCCCCC
I attach you here file with only compass disabled but please make backup before as i didnt test it.
Hope it will solve your problem
Click to expand...
Click to collapse
Thank you for your help and for your quick replay
I've tried to edit file using your tutorial but no luck (stuck at boot animation), the good news is that your edited sensors.aries.so it's compatible with aokp i've tested and is working...but proxymity sensor and light sensor are also dead , also my problem remains there even with no proximity and no light sensor because I still get some readings even if my compass won't move (gps status detect activity on mag. field)
Try to delete sensors.aries.so and restart phone it will disable all sensors, if then problem stops than its posible to change sensors.aries.so to correct it, only trick is to find what you must modify.
I modified file you attached also find and changed magnetic sensor in it so disabled it try now
File is in attachment.
oxio said:
Try to delete sensors.aries.so and restart phone it will disable all sensors, if then problem stops than its posible to change sensors.aries.so to correct it, only trick is to find what you must modify.
I modified file you attached also find and changed magnetic sensor in it so disabled it try now
File is in attachment.
Click to expand...
Click to collapse
Thank you, I forgot to mention...I've updated my kernel to semaphore 1.1.0 and since then my phone behaves almost normal (compass show me wrong direction but at least no longer resets itself )

[MOD] Lower Auto-Brightness levels to save battery

This is best done after you flash a ROM as you might lose some settings.
(I noticed my wall paper changed and i had to sign back into Google account)
---This framework-res.apk file is different for every ROM---
Hi,
I wanted to share a little mod that could help in extending battery life - lowering default auto-brightness levels. As all of You know our big, bright SuperLCD is an excelent display but for that it uses most of our battery:/
I like the idea of auto-brightness but I find it too bright for most of the time. Setting brightness manualy to one level makes it either too dim or it uses too much battery and switching it all the time that You go outside or turn on the light is a little bit inconvenient.
In order to lower auto-brightness levels You have to change values in framework-res.apk/res/values/arrays.xml and here is how (read whole post first )
These are stock HTC Raider values:
Click to expand...
Click to collapse
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>75</item>
<item>75</item>
<item>75</item>
<item>97</item>
<item>120</item>
<item>142</item>
<item>170</item>
<item>198</item>
<item>227</item>
<item>255</item>
</integer-array>
These are values that I use and found best for me:
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>20</item>
<item>40</item>
<item>50</item>
<item>70</item>
<item>90</item>
<item>100</item>
<item>130</item>
<item>155</item>
<item>180</item>
<item>225</item>
</integer-array>
These brightness levels are corresponding to the amount of light that light sensor is getting - the lowest value is while in the low light the highest when for example your phone is in direct sunlight. Brightness values are defined by numbers 1 is the lowest possible setting and 255 is the maximum brightness that can be set.
As You can see I was pretty aggressive with lowering these values and yet the screen is still bright in every situation. You can set them a little bit higher or lower in order to suit your preferences.
Here is a guide on how to perform this mod on any framework-res.apk using apk manager (thanks for the guide goes to desean):
1. Download APK manager and unpack somewhere
2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
5. Once edited, compile the apk using option 11
6. Qn: Is this a system apk. Ans: y
7. Qn: Aside from the signatures, would .... least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
9. Once done, input 25 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk".
10. Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk.
11.Rename it back to framework-res.apk and adb push the file back to your phone
Click to expand...
Click to collapse
To send it back to your phone
Prerequisites have...
The file you are pushing must be placed in the platform-tools folder of adb so if you are pushing file "framework-res.apk" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\platform-tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\platform-tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices:
Code:
adb push framework-res.apk /system/framework
7. adb reboot this is how you finish
Click to expand...
Click to collapse
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Link for APK Manager HERE
If you have problems with apk manager showing java error (like it did) this post helped me fix that
Sources:
http://forum.xda-developers.com/showthread.php?t=1235212
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=642437
APK Manager 4.9 download link (currently original thread link down)
http://www.zshare.net/download/99034654c32618ba/
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
m0biusace said:
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
Click to expand...
Click to collapse
Yes you have to use adb ill put that in the first post,
to be honest i am not entirely sure what that is for i assume, that it is when you move the slider what values it displays when you slide it, i noticed a change without changing those values.
also i changed the button back lights to 200, i find it more than enough for me.
Is there a working mirror to APK manager? The link in the thread is down.
uploaded
sbddude said:
Is there a working mirror to APK manager? The link in the thread is down.
Click to expand...
Click to collapse
uploaded here
http://www.zshare.net/download/99034654c32618ba/
Serious props to you jul644 for detailing this process! I've always hated how the Hero, Evo, & now Vivid I've had never got dark enough in pitch black rooms, and now I'm excited to fix that problem. I was curious though since I just modded my battery meter using UOT Kitchen, if I could drop in the backlight-modded framework-res.apk via 7-zip replacing the UOT framework-res.apk file then flash it via recovery. I wonder if that would make me sign into Google and mess with settings like you mentioned. Thanks.
How-To with UOT
jul644 said:
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Click to expand...
Click to collapse
How, if it's possible, do we integrate this modded framework-res.apk into a UOT Kitchen zip flash file? I want to mod my battery icons and would like to install at the same time so one doesn't interfere with the other. Should I upload the framework-res.apk from this to UOT Kitchen (with my original SystemUI.apk) and then change the battery icons, then download and flash?
Thanks for your help!
*****EDIT - 2/15/2011*****
Ok so I did the framework-res.apk edits by decompiling/recompiling per jul644, uploaded that into UOT Kitchen along with original SystemUI.apk and com.htc.resources.apk. I chose my battery icon mod, downloaded, cleared all the caches and flashed in recovery with no problems ) Just wanted to let you guys know how to make it a recovery flashable zip instead of pushing via ADB.
ICS?
So can anyone confirm or deny if this still works wit ICS will be trying it myself, when I get a chance, but would rather not waste time if it wont work!
It does work, I have done it. ICS it's just more difficult to decompile & recompile. I added it & 1% stock-style battery icons into Pirateghost's CWM .56 flashable ROM.
Keep getting errors when recompiling using stock telstra ICS+ root
error on 1st line after selecting option 11 ie. step 5 above
could not find sources????
Any suggestions what I am doing wrong????
---------- Post added at 09:37 PM ---------- Previous post was at 09:24 PM ----------
okay also getting this error twice before it de-compiles
the system cannot find the path specified
then seems to decompile happily???????????
Any suggestions?
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
formicae said:
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
Click to expand...
Click to collapse
are you trying to remount your sd card? if so do not, just select charge only
No, just trying to remount as per the instructions in the first post, so /system is R/W. Setting it to charge only. No dice.
I tried doing it in recovery (by mounting /system, then going through the ADB commands, all of which are successful), but the result is a bootloop once I'm done.
Edit: It's also worth noting that newer versions of APK Manager/Multi-tool seem to have different numbering for the operations. In step 9, number 22 sets the compression level, whereas I think it used to set the active APK (which I think is 25 now).
I ended up taking the stock framework-res from the ROM, modifying the arrays.xml values as per the OP instructions, then going through the UOT Kitchen (I had a battery mod anyway). Worked perfectly.
Thanks to pauley for reporting success earlier, which provided me with the workaround.
Has anyone done this that could possibly create a flashable zipped version of it? I tried to do it myself but with the new APK Multi Tool things were different to the instructions of OP and I couldn't get it to work
Edit: Nvm managed to fix it and make my own flashable zip. Thanks for the effort OP
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
The errors I encountered when compiling were solved by:
1) Putting Java in the windows path
2) Putting ADB in the windows path
3) Not having any spaces in the APK Manager file path
There are no OS dependencies that I'm aware of. Just open the log from within the APK manager and you should be able to identify the error.
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
pod0087 said:
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
Click to expand...
Click to collapse
thanks for the help! can you tell me the new number system with apk manager?

Video recording doesn't work even with fixes

As many of you know camera lags and crashes on p970 on all cyanogenmods ( i tried like 20 variations of it all had same ) Video recording doesn't last more like 3-20 secs till it stops, and then camera stops working and phone can't connect to camera unless you reboot your phone. http://forum.xda-developers.com/showthread.php?t=2091599 i downloaded all cameras from here, but i don't know how to install them.. I unzip .zip file and inside i get 2 folders "system" and "META-INF", inside meta inf i find some folders and .RSA .SF and ,MF files. Inside system i find .apk file (doesn't install alone), camera.tegra.so this file and some other files. So can you tell me where should i put those files so i can install camera? i feel like omg, so many files with no description how to install...
The file isn't to extract. Just flash it through recovery.
Try the motorola cam app.

[Touch Pointer Mod]Changing the white dot to whatever icon you like!

Since I can't find any thread about this I decided to make one,
For those who enabled "show touches" in developers option and can't stand that ugly white dot, good thing about android is everything is modifiable. You can to replace that white dot to whatever icon you like, but you'll need a PC and a usb cable.
1. Connect your phone to your pc.
2. Copy /system/framework/framework-res.apk to your pc
3. Extract it to Desktop use the search bar and type pointer.
4. Once you see the pointer icon you click open file location.
5. Now, download some picture you want and resize it to smaller resolution like 50x50 then convert it to png format.
6. Save it to desktop and change the name into the file that you are going to replace.
7. Use 7zip (best free zipper ever) and navigate to where you found your white dot and paste your desired icon in it.
8. Copy the modified framework-res.apk to your phone.
9. Use any root explorer (ES File Explorer) and paste the modified framework-res.apk to /system/framework/
10. Replace the original file and change its permission to rw--r--r--.
now reboot and voila you're done. any thanks will be appreciated.
video
is there any video or can you make a video
Can u plz give me that smily png file
Is there any way to change the white dot to sparkling dot
more people needs to see this!
B U M P !!
I used ninjamorth for this and it did a job!
I would LOVEEE to change the pointer and do alote of things with the xposed installer but it says that its not compatible with android SDK version 22 goddamit now im sad :crying:
I got bootloop. Just wasting my time.
AidiLWays said:
I got bootloop. Just wasting my time.
Click to expand...
Click to collapse
lmao u tried the method that was posted in 2015 ofc u get bootloop
MM.626 said:
lmao u tried the method that was posted in 2015 ofc u get bootloop
Click to expand...
Click to collapse
Is there any way to do this now on Android 10 or 11 if you could point me in the direction
Avendo said:
Is there any way to do this now on Android 10 or 11 if you could point me in the direction
Click to expand...
Click to collapse
https://github.com/thesandipv/pointer_replacer
Download the latest APK in assets and follow directions provided, if the Magisk shortcut on app doesn't work remember the file directory to apply manually tried and working perfect on Android 10!

Categories

Resources