How to fix MIUI 9 lag on Grand Prime (Removing GApps from MIUI 9 MULTIPRO rom) - Galaxy Grand Prime General

Don't blame me if you get a bootloop. I own nothing here and I won't pretend I do. If you need gapps then get out of here
ROM by RioFebrian: https://forum.xda-developers.com/t/...for-grand-prime-g530h-f-m-t-w-y-p-bt.3721171/
1: Download ROM and Path files.
2: Extract the ROM zip file to a folder
3: Go to extracted rom folder and go to /system
4: Go to /app and delete these folders: GoogleContactsSyncAdapter, GoogleCalendarSyncAdapter
5: Go back to /system
6: Go to /priv-app and delete these folders: PrebuiltGmsCore, Phonesky, GoogleServicesFramework, GooglePartnerSetup, GoogleLoginService, GoogleBackupTransport
7: Go to the folder where you extracted the rom and select all the files from the rom (META-INF, system, boot.img, file_contexts)
8: Compress the files to a .zip file (for example miui9.zip)
9: Flash miui9.zip, then flash the path file
10: Enjoy!
If you get zip file is corrupted error then you did step 7 and 8 wrong.

Related

How to: Create Clockwork Recovery flash files

I have a shutdown sequence and some sounds I would like to turn in to a flashable .zip file. I checked out the CW forums, but that was more painful than informative. I have taken a look at some of the zip files I have found so far, but am not 100% sure about what I'm doing. Can anyone point me to a how-to or even in the general direction of some information to get me started?
Thanks guys!
Edit: Those interested can find all the information needed in the3dman's post and here:
http://www.londatiga.net/it/how-to-create-android-update-zip-package/
http://www.londatiga.net/general/how-to-sign-apk-zip-files/
I'd copy this guy
http://forum.xda-developers.com/showthread.php?t=795459
Thanks for the link. I had actually started there, and it's a great template if I just want to throw in my own files, but I was really looking for a how to so that I had more options for customizing, rather than being stuck with only the shutdown / startup sequence.
Sent from my SGH-T959 using XDA App
First you have to have your folder structure like this in the zip:
Main .zip
{
META-INF { com -> google -> android -> update-script } ( <- these are folders inside the META-INF except update-script this is a script file)
app (if the file you want to flash is an app it goes in this folder)
framework (if the file you want to flash is a framework file it goes in this folder)
system (if the file you want to flash is a system file (start up animations) it goes in this folder also make sure you put the correct subfolder inside this folder ie: if your file goes in system -> media make sure you put the file you wish to flash in a correctly named subfolder other wise it will flash into just the system folder and not into the correct folder within the system folder on your phone.)
}
After your folder structure is set up you must tell clockwork which folder or folders in the zip to flash. To do this open the update-script from the zip with a text editor and modify or add these lines with the correct folders.
copy_dir PACKAGE:framework SYSTEM:framework (use this for the framework folder)
copy_dir PACKAGE:app SYSTEM:app (use this for the app folder)
copy_dir PACKAGE:system SYSTEM:system (use this for the system folder)
Then sign your zip and flash.
Below is a picture of an example folder structure so show what I mean. Also I attached a zip with an example update-script in it.
the3dman said:
First you have to have your folder structure like this in the zip:
Main .zip
{
META-INF { com -> google -> android -> update-script } ( <- these are folders inside the META-INF except update-script this is a script file)
app (if the file you want to flash is an app it goes in this folder)
framework (if the file you want to flash is a framework file it goes in this folder)
system (if the file you want to flash is a system file (start up animations) it goes in this folder also make sure you put the correct subfolder inside this folder ie: if your file goes in system -> media make sure you put the file you wish to flash in a correctly named subfolder other wise it will flash into just the system folder and not into the correct folder within the system folder on your phone.)
}
After your folder structure is set up you must tell clockwork which folder or folders in the zip to flash. To do this open the update-script from the zip with a text editor and modify or add these lines with the correct folders.
copy_dir PACKAGE:framework SYSTEM:framework (use this for the framework folder)
copy_dir PACKAGE:app SYSTEM:app (use this for the app folder)
copy_dir PACKAGE:system SYSTEM:system (use this for the system folder)
Then sign your zip and flash.
Below is a picture of an example folder structure so show what I mean. Also I attached a zip with an example update-script in it.
Click to expand...
Click to collapse
Thank you very much! This was PERFECT for getting me started! This lead me to the following sites for more information on how-to's and even all the available syntax. For anyone looking to get into this (it's not difficult), check out these pages:
http://www.londatiga.net/general/how-to-sign-apk-zip-files/
http://www.londatiga.net/it/how-to-create-android-update-zip-package/

[Q] help with theme GreenDevDroid Ultimate (solve)

friends
someone could help me or raise the issue with the original purpose of the windows, and not use that brings the theme
and try changing the original XML (xmlsForStandardWindowAnimation.zip), but the keyboard disappeared and I can not connect via USB, restarted
Greetings from Chile
excuse my English. jajjajjaajaaja sucks google translate
thanks
Hi.
Could you elaborate chronologically what happened/what did you do?
Hi
1 GDDUltimateForLGVoidEcho.zip extract files
2 Remove the framework-res.apk files
3 delete the files in the folder res / anim
4 Copy the contents of "xmlsForStandardWindowAnimation.zip" folder anim
5 sign "framework" res.apk "
6 compressed "GDDUltimateForLGVoidEcho.zip"with the new content "framework" res.apk "
7 signs "GDDUltimateForLGVoidEcho.zip"
install the theme with recovery, starts, but see some sort of errors that were closed following
google.process.gapps
com.android.email
com.mobileleader.sync
com.android.deskclock
the keyboard does not start (to write anything, numbers, names, etc)
I can not connect to usb
thank you very much for reading this and help
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
giveme13s said:
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
Click to expand...
Click to collapse
That is what he did wrong? no idea what the problem xD
Muchas gracias amigo!!

[Q] boot loop after arabic framework.jar

HI
I was running CF-Root-sgs2_XX_OXIKG3-v4.1
then through cwmv4.0.0.2
I have generated a zip file by doing
"Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
If you’re not using a CyanogenMod ROM, then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder libandroid_runtime that you extracted in step 1
Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated"
this is for making arabic framework.jar
the files I have pulled were from a super core_1 Kernel with Darkyrom2
then i have changed to CF-Root-sgs2_XX_OXIKG3-v4.1 kernel with cognition_S2-131
I went to cwmv4.0.0.2 and installed the zip file
boot loop happened
how can I fix it
thanks
"1-Download the patch below and extract it to a folder on your computer.
2-Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
3-If you’re not using a CyanogenMod ROM, then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder libandroid_runtime that you extracted in step 1
4-Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated
5-Version 0.800 provides a recovery flashable file in folder generated. Place that on your sdcard, reboot into recovery and flash it. If the flashing through recovery didn’t work for some reason, you’ll need to do the following manually:
-Put file generated/framework.jar in your phone at /system/framework/
-Put file generated/libandroid_runtime.so in your phone at /system/lib/ (if this file exists, it shouldn’t if you’re arabizing CM6).
-Put file REQUIRED-IMPORTANT/libicuuc-arabic.so in your phone at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your device"

[TUTORIAL] How to change apk icons

Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Instructions:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder or other folders
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- Done
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)

How to Get a Custom Home Button

So here is the way, how You can create Custom Home Button.
* Softwares you need to do this : (all download links provided below) :
1) 7-Zip File Manager
2) Windows Image Resizer
* Stepwise Guide :
STEP 1 : Get you launcher’s (.apk) file
STEP 2 : Extract it with 7-Zip File Manager
STEP 3 : Open the folder where you have extracted the apk file
STEP 4 : You will find a folder named ‘res’ ; open it and go to ‘res\drawable-hdpi"; open all folders inside 'res' folder and make sure that you have replaced all the stock isons by desired icons.
STEP 5 : You will find your Launcher Icon. Right Click on it, go to Properties and then to Details ; there you will find dimensions of the image. Note them somewhere.
STEP 6 : Now select the desired Icon and resize it using Windows Image Resizer by right clicking and then clicking on ‘Resize Image’.
STEP 7 : Replace the Icon in extracted folder with the same name.
STEP 8 : Repeat the above steps in ‘ res\drawable-sw800dp-hdpi ‘ and ‘ res\drawable-xhdpi ‘ and ‘ res\drawable-xxhdpi ‘ folders.
STEP 9 : After replacing all the icons, come back to the folder and select all files, right click on them and using 7-Zip add them to an archive, when adding into an archive make sure that you (.zip) by (.apk).
STEP 10: Install the launcher or place it in an Custom Rom. ( I would suggest place this launcher in an Custom Rom )
* All Screenshots, Download links and Custom launcher provided below
IF ANY PROBLEM JUST TELL ME
Thread Closed: 12. Using the work of others. Please see Forum Rules....

Categories

Resources