Evolution X brightness slider fix. - Redmi 9 / Poco M2 Guides, News, & Discussion

some GSI doesn't boot untill you flash a zip file via custom recovery.i put the zip in the link of the post.This type of GSI doesn't fix brightness slider by following the Bellow tutorial.....
https://forum.xda-developers.com/showpost.php?p=83635205&postcount=1
Requirements:
1.Gsi Rom.
2.laptop with Linux.
3.Basic knowledge about Linux cmd line.
4.Woeking brain.
Working procedure:
1. First extract Rom from zip file which you download.Rename as 'system.img'
2.Then open a cmd terminal where the system.img Located and run below cmd one by one...
simg2img system.img sr.img
sudo mkdir /mnt/g
sudo mount sr.img /mnt/g
sudo nautilus
When you run last cmd it will open a file explorer.follow the path
/mnt/g/system/framwar/
And there you find services.jar file.copy this file wherever you want. Modify the jar file with the help of the below link..
https://forum.xda-developers.com/pr...reen-backlight-brightness-slide-t4084449/amp/
after modify jar file replace it with older one and open a cmd terminal on the location where your jar file is and run below cmd
chmod 0644 services.jar
3.Now simply flash sr.img via fastbootd with below cmd
fastboot flash system sr.img
And earse all data on your phone.
after boot run cmd via Android terminal
setprop persist.sys.qcom-brightness 2047
Now your slider work great...
If success then don't forget to thanks me. It is totally free:laugh::laugh:

evolution x
you mean did you installed evolution x in our device?
kindly please attach some screenshots coz i want to flash my lancelot to evolution x.

mhark.moby said:
you mean did you installed evolution x in our device?
kindly please attach some screenshots coz i want to flash my lancelot to evolution x.
Click to expand...
Click to collapse
Sorry.no screen shots to share.I am in now others rom

Related

[Q] How to create/install a custom Splash Screen?

Hi there, yes I know, there are some threads about this, but nothing special about our HTC LEGEND...
Somebody tried to install a custom splash-screen?
Or somebody created a custom-splash screen for HTC Legend?
I´ve found a tool for G1, that creates a splash-screen, but I don´t know if it works on my Legend... Don´t wanna brick it
TheGrammarFreak created one from my bootanimation, see HERE
As for myself I have no idea howto
Get the image you want. It needs to be 320 pixels wide and 480 high. Save it out as a 24 bit bmp file called splash1 (ms paint does the job). Any name will do, but for the sake of this guide we'll use that.
Download this tool and extract it into a known directory. Put the bmp you created earlier in there. Open cmd (if you're on windows) and cd into that directory (cd C:\nbimg for example) then run this command:
Code:
nbimg -F splash1.bmp -w 320 -h 480
Take the output file and change the extension to .img
To install:
Reboot your phone to fastboot mode
Code:
fastboot flash splash1 C:\nbimg\splash1.img
Yeah guys, u r cool!
For all other, who need the Converter, here's it:
http://forum.xda-developers.com/showpost.php?p=2366042&postcount=1
Thank u sooo much!
Crap, I forgot to link. Sorry mate, but you found it anyway
This one is better!
WARNING: Your input image shoud be 320 * 480 pixels!!!
All credits goes to: DeToX-cz
Forum thread: http://forum.xda-developers.com/showthread.php?t=537515
ogo2 said:
This one is better!
WARNING: Your input image shoud be 320 * 480 pixels!!!
Click to expand...
Click to collapse
Why is it better?
TheGrammarFreak said:
Why is it better?
Click to expand...
Click to collapse
It's easy to use, it has nice GUI, no cmd line...
ogo2 said:
It's easy to use, it has nice GUI, no cmd line...
Click to expand...
Click to collapse
Oh, boring then.
A tool without command line functionality doesn't deserve to be called a tool
Sent from my HTC Legend
Ha! I win, I have the almighty BlaY0 on my side
Linux users…
For those of you who use Linux:
1.: Download View attachment splash1script.zip, and extract it somewhere convenient.
2.: Create an image in GIMP with the dimensions 320x480. (You may also use an image from the web, and resize it to 320x480 in GIMP.)
3.: In GIMP go to "Save As…" (or press "CTRL+SHIFT+s").
4.: Browse to where you extracted the script.
5.: Click "Select File Type (By Extension)".
6.: Scroll down and select "Windows BMP image".
7:: Name the file "splash1" (without ""), for your own convenience.
8.: Click "Advanced Options".
9.: Choose "24 Bits" - "R8 G8 B8".
10.: Click "Save".
11.: Open a "Terminal" (Either with "Applications>Accessories>Terminal" or with "CTRL+ALT+t").
12.: "cd" to the folder where you extracted the script and saved your image. (For example: "cd ~/Downloads".)
13.: Write "./splash1script splash1.bmp".
14.: Follow the instructions in "Terminal".
15.: Done.
-Torkiliuz
It's show the "Device not allowed" when I flash the splash1. I chenck the /proc/mtd, There is no partition of splash1. How can I flash it?
Do u have S-OFF from alpharev installed?
If not, u can´t install it...sorry
I can't get it to flash - it isn't finding my device when it's in fastboot, only when it's in recovery mode, or just on.
I've flashed AlphaRev and it created the .raw65 image successfully, but my device isn't recognised by the script, nor by the adb, when it's in fastboot mode.
Even booting into recovery, starting an adb shell, and using 'reboot bootloader' just disconnects the device. I have no idea how to fix it.
I'm using the linux tool on Ubuntu btw, and I've definitely flashed to the bootloader before (can't remember what, though)
TheGrammarFreak said:
Get the image you want. It needs to be 320 pixels wide and 480 high. Save it out as a 24 bit bmp file called splash1 (ms paint does the job). Any name will do, but for the sake of this guide we'll use that.
Download this tool and extract it into a known directory. Put the bmp you created earlier in there. Open cmd (if you're on windows) and cd into that directory (cd C:\nbimg for example) then run this command:
Code:
nbimg -F splash1.bmp -w 320 -h 480
Take the output file and change the extension to .img
To install:
Reboot your phone to fastboot mode
Code:
fastboot flash splash1 C:\nbimg\splash1.img
Click to expand...
Click to collapse
Hi TheGrammarFreak
I tried the fastboot command on my HTC Legend with HBOOT HTC dev unlocked recently, but I just get this:
Code:
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash splash1 splash1.img
sending 'splash1' (300 KB)...
OKAY [ 0.126s]
writing 'splash1'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.239s
Any suggestions?
didn't work for me either - probably the htcdev unlock didn't include s-off for splash1?!
The HTC bootloader unlcock method sucks. It allows nothing except writing direcrly to the system. It even checks for signatures when using fastboot from the Android SDK. At least I get signature error when trying to flash a .img file thru fastboot.

[Q] Apktool problem

I want to decompile some system apps and I can't even get apktool to work. I installed java jre and jdk both and I get the following error in cmd:
Java is not recognized as an internal or external command
So I set my environmental system variables for Java on my windows xp computer as shown below:
View attachment 2825945
But I still get the same error as before! I need someone to please help me figure this out before I get even more frustrated!
Make sure you have installed apktool correctly
Windows:
Download The Following From Here
apktool1.5.2.tar.bz2
apktool-install-windows-r05-ibot.tar.bz2
Unzip both files with winrar and put the contents (there should be 3 files) in C:\Windows
if you have java jdk installed you should be able to type apktool and hit enter at the command prompt and if installed it will give you all the options for apkool
Linux:
Download apktool-install-linux-* file
Download apktool-* file
Unpack both to /usr/local/bin directory (you must have root permissions)
Mac OS X:
Download apktool-install-macos-* file
Download apktool-* file
Unpack both to /usr/local/bin directory (you must have root permissions)
did everything still not working
I Followed this guide here which is very similiar: http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
I stopped at installing framework because CMD would not let me be able to do so!
Any other advice?
I really need to get this working!
Thanks for your help!
JT1510365 said:
I Followed this guide here which is very similiar: http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
I stopped at installing framework because CMD would not let me be able to do so!
Any other advice?
I really need to get this working!
Thanks for your help!
Click to expand...
Click to collapse
what version of apktool are you using? maybe the apktool doesn't support it.. download de jar and the appt http://forum.xda-developers.com/showthread.php?t=1755243 , open the cmd window holding shift+ right button where the apktool is placed

Beautiful Cyanogen Mod Boot logo + Boot animation for all android one devices

I am again Back with this beautiful cyanogenmod boot logo and boot animation for android one devices
NOTE: I HAVE NOT GET THEM FROM ANYWHERE! I HAVE DESIGNED THESE MYSELF SO PLEASE DO NOT HESITATE TO
HIT THANKS IF U LIKE IT!!
Beautiful CM Logo.bin file and Bootanimation file for all Android one Devices Micromax Canvas A1, Karbonn Sparkle V
and Spice Dream Uno
Download from http://d-h.st/TFEr
Check Screenshots in attachment!!
After download Extract the zip file somewhere and you will get two files :- 1. logo.bin 2. bootanimation.zip
NOTE:- DON'T USE THESE FILES ON DEVICES OTHER THAN SHOWN ABOVE!!!!
ALSO DON'T BLAME FOR ANY DISASTER CAUSED BY YOUR NOOBNESS!!! :silly:
How to Flash logo.bin file:- First install drivers for your device
Step1 Connect your device to your PC in fastboot mode
Step2 Open cmd in ADB folder. (If you don't have then google it and download it)
Step3 Copy logo.bin in ADB folder.
Step4 Type command :-
fastboot flash logo logo.bin
Step5 Type command :-
fastboot reboot
Yeah... You have successfully Flashed.
NOTE:- YOUR DEVICES SHOULD BE OEM UNLOCKED
What to do with bootanimation.zip file:silly::silly:
Step 1:- Root your device (Just google it)
Step 2:- Connect your device with pc in USB debugging mode.
Step 3:- Open cmd in ADB folder and type command ----
adb remount
Step 4:- Now copy bootanimation.zip file in ADB folder .
Step 4:- Now type command :-
adb push bootanimation /system/media/
Step 5:- Now Reboot Your Device and U get that Animation
Credits Goes to Me DHEERAJ KUMAR CHALOTRA and those who use it
Don't Forget to Hit Thanks !! (The only reward of this for me!)
Nice
Great Expecting some more!
dkchalotra said:
I am again Back with this beautiful cyanogenmod boot logo and boot animation for android one devices
NOTE: I HAVE NOT GET THEM FROM ANYWHERE! I HAVE DESIGNED THESE MYSELF SO PLEASE DO NOT HESITATE TO
HIT THANKS IF U LIKE IT!!
Beautiful CM Logo.bin file and Bootanimation file for all Android one Devices Micromax Canvas A1, Karbonn Sparkle V
and Spice Dream Uno
Download from http://d-h.st/TFEr
Check Screenshots in attachment!!
After download Extract the zip file somewhere and you will get two files :- 1. logo.bin 2. bootanimation.zip
NOTE:- DON'T USE THESE FILES ON DEVICES OTHER THAN SHOWN ABOVE!!!!
ALSO DON'T BLAME FOR ANY DISASTER CAUSED BY YOUR NOOBNESS!!! :silly:
How to Flash logo.bin file:- First install drivers for your device
Step1 Connect your device to your PC in fastboot mode
Step2 Open cmd in ADB folder. (If you don't have then google it and download it)
Step3 Copy logo.bin in ADB folder.
Step4 Type command :-
fastboot flash logo logo.bin
Step5 Type command :-
fastboot reboot
Yeah... You have successfully Flashed.
NOTE:- YOUR DEVICES SHOULD BE OEM UNLOCKED
What to do with bootanimation.zip file:silly::silly:
Step 1:- Root your device (Just google it)
Step 2:- Connect your device with pc in USB debugging mode.
Step 3:- Open cmd in ADB folder and type command ----
adb remount
Step 4:- Now copy bootanimation.zip file in ADB folder .
Step 4:- Now type command :-
adb push bootanimation /system/media/
Step 5:- Now Reboot Your Device and U get that Animation
Credits Goes to Me DHEERAJ KUMAR CHALOTRA and those who use it
Don't Forget to Hit Thanks !! (The only reward of this for me!)
Click to expand...
Click to collapse
File not found in Dev Host....
file not found....
Sent from my Spice Mi-498

Up to Date ADB and Fastboot [Mac]

Welcome
I was trying to unlock the bootloader for my Nexus 6P, but the commands were not working. I had to update the files for adb and fastboot, but it finally worked with the new command "fastboot flashing unlock" . So I have uploaded a zip with the up to date files so you guys can also use adb and fastboot.
If you haven't set up your fastboot/adb here is a quick guide on how to set it up easily.
---Guide---
1. Unzip the file, and copy the adb folder to your preferred destination.
2. Open up terminal and type : nano ~/.bash_profile
3. Use the path of the folder and add this line (replace kingmikel with your username, and replace Documents with your path) : export PATH=${PATH}:/Users/kingmikel/Documents/adb
Credits: @AshtonTS and his thread http://forum.xda-developers.com/showthread.php?t=1917237
Is there some reason to not do this with the SDK?
crachel said:
Is there some reason to not do this with the SDK?
Click to expand...
Click to collapse
This is easier. You don't have to download Java and then download the SDK.

[GUIDE] [LINUX/UBUNTU] Extract/Modify/Rebuild Lollipop ROMs !

Extracting:
1. Download this package: https://tusfiles.net/oaiw9ze20tbl
2. Extract to a folder and chmod 777 -r /path/to/the/folder
3. cd (change directory) to that folder
4. Run prereq.sh
5. Place system.transfer.list and system.new.dat into the folder
6. Open extractor.sh using a text edit program
7. Find the line containing chown command, replace yash:yash with yourusername:yourusername
8. Run extractor.sh
9. Modify contents found in output folder​
Rebuilding:
1. Do above first and then run compress.sh
2. Find the rebuilt system.new.dat and system.transfer.list in sdat folder​
Making it into a ROM:
1. Do above first
2. Find a zip ROM for OnePlus 2 that contains system.transfer.list and system.new.dat
3. Replace it with your rebuilt ones from above mentioned steps
4. Voila! ROM ready!​
NOTE:
The package contains OxygenOS SELinux file contexts in progs subfolder...
So, to modify CM ROMs you need to get file_contexts file from the zip of the ROM and replace the one found in progs subfolder
Credits:
@xpirt
Please mention​
Two questions; Is this a rom kitchen like tool for OxygenOS? Are there any libs or binaries or other dependencies?
I'm a bit busy, but I'll take it for a spin when I can.
Oh one last thing, is there a repo for this?
Ta,
ALQI
Sent from me mobile.
Nice guide
alquimista said:
Two questions; Is this a rom kitchen like tool for OxygenOS? Are there any libs or binaries or other dependencies?
I'm a bit busy, but I'll take it for a spin when I can.
Oh one last thing, is there a repo for this?
Ta,
ALQI
Sent from me mobile.
Click to expand...
Click to collapse
The dsixda kitchen had much more functions then this but you may cknsidet it as a temporary lollipop kitchen with not much extra functionality..
This was like a automation script for me and was a quick one so repo wasn't needed
I have used this script on Ubuntu 64bit and the only extra dependency apart from those included in package are installed by prereq.sh
Btw this is not just for oxygen os it can also be used for any cm or cm based rom here but.do read the note then
Yash98 said:
Extracting:
1. Download this package: https://tusfiles.net/oaiw9ze20tbl
2. Extract to a folder and chmod 777 -r /path/to/the/folder
3. cd (change directory) to that folder
4. Run prereq.sh
5. Place system.transfer.list and system.new.dat into the folder
6. Open extractor.sh using a text edit program
7. Find the line containing chown command, replace yash:yash with yourusername:yourusername
8. Run extractor.sh
9. Modify contents found in output folder​
Rebuilding:
1. Do above first and then run compress.sh
2. Find the rebuilt system.new.dat and system.transfer.list in sdat folder​
Making it into a ROM:
1. Do above first
2. Find a zip ROM for OnePlus 2 that contains system.transfer.list and system.new.dat
3. Replace it with your rebuilt ones from above mentioned steps
4. Voila! ROM ready!​
Click to expand...
Click to collapse
So does this allow you to make ROM's for the OP2 from ROM's based on other devices, or what? Sorry if I'm sort of a noob, I just don't understand what is being done.
Thanks!
Me1256 said:
So does this allow you to make ROM's for the OP2 from ROM's based on other devices, or what? Sorry if I'm sort of a noob, I just don't understand what is being done.
Thanks!
Click to expand...
Click to collapse
You can make ROMs from prebuilt ROMs like OxygenOS or any other built ROM like Exodus, CM12, etc.
Basically modify ROMs without rebuilding from source (which takes a lot of time!)
Sir I downloaded your tool and followed ur guide....But after I run extract.sh there is no files/folders in output folder.Plz reply thankz in advancw
Thank you. I really wanted to extract .dat file..
Sent from my ONE A2003 using Tapatalk
This is a great tool but I wanted to know how to edit the system folder in ubuntu. Like using chmod and chown to pre-root and uninstall some other apps. Can somebody please direct me in that direction.
I go test...

Categories

Resources