[HOWTO] TWRP/ROOT/Magisk/App2SD/Xposed on your 4a - Miscellaneous Android Development

Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi everyone, I made this tutorial because I did not find anything on the internet related and I believe that this information will help.
Requirements:
Unlocked bootloader
//
How to flash TWRP:
First grab this TWRP (TWRP 3.1.0.0):
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-0-0-xiaomi-redmi-4a-t3576024
Install with fastboot with these commands:
Code:
fastboot flash recovery twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
fastboot boot twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
It will boot TWRP then flash this zip (It will remove forced encryption on MIUI, if not flashed you will bootloop):
http://en.miui.com/thread-310923-1-1.html
//
//
How to Magisk/Root:
Thats is simple just grab the latest zip and apk from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Go to TWRP and flash after reboot install the apk and you're good to go!
//
//
How to Xposed System/less:
Go to this thread and grab the apk and install (Xposed Material):
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Open it and go to MIUI based roms and select if you want system one (our arch is arm64 so xposed-v87-sdk23-arm64...), or if you want systemless root select Magisk (xposed-v87-sdk23-Magisk...) it will download and ask for SU to reboot and install on TWRP.
//
//
How to move apps to sdcard on MIUI (App2SD:
To move apps to SD first make sure you have a good SD card (Class 10 for example) because if not things will lag a lot, then download App2SD (the blue one), now you need to partition you SD card you can do that by three ways in the app itself, on Gparted for linux or in MiniTool Partition Wizard for Windows, (ALL YOUR DATA ON SD WILL BE ERASED!) you will make two partitions one for your things like photos and music and the other one for apps the first will be VFAT and the second EXT4,
after that go to the app give superuser and select link apps to sd card, it will ask the partition and type then ask wich method will be using, i have used all methods, i'm using magisk and the magisk method leave me in bootloops, the normal method and init.d method works but i need to do a soft reboot after I start the phone to mount the sd, the only works after reboot for me its advanced method. now you're good to go, move your apps to your SD!
App2SD link: https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd&hl=pt_BR
//
Comming soon: Unlock your bootloader from Linux with help of virtualization.

Thanks mate for the guide. It's work on MIUI Global ROM. Is there any way to browse 2nd Partition when i need to edit some file manually on 2nd Partition? :good:

BryanByteZ said:
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi everyone, I made this tutorial because I did not find anything on the internet related and I believe that this information will help.
Requirements:
Unlocked bootloader
//
How to flash TWRP:
First grab this TWRP (TWRP 3.1.0.0):
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-0-0-xiaomi-redmi-4a-t3576024
Install with fastboot with these commands:
Code:
fastboot flash recovery twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
fastboot boot twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
It will boot TWRP then flash this zip (It will remove forced encryption on MIUI, if not flashed you will bootloop):
http://en.miui.com/thread-310923-1-1.html
//
//
How to Magisk/Root:
Thats is simple just grab the latest zip and apk from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Go to TWRP and flash after reboot install the apk and you're good to go!
//
//
How to Xposed System/less:
Go to this thread and grab the apk and install (Xposed Material):
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Open it and go to MIUI based roms and select if you want system one (our arch is arm64 so xposed-v87-sdk23-arm64...), or if you want systemless root select Magisk (xposed-v87-sdk23-Magisk...) it will download and ask for SU to reboot and install on TWRP.
//
//
How to move apps to sdcard on MIUI (App2SD:
To move apps to SD first make sure you have a good SD card (Class 10 for example) because if not things will lag a lot, then download App2SD (the blue one), now you need to partition you SD card you can do that by three ways in the app itself, on Gparted for linux or in MiniTool Partition Wizard for Windows, (ALL YOUR DATA ON SD WILL BE ERASED!) you will make two partitions one for your things like photos and music and the other one for apps the first will be VFAT and the second EXT4,
after that go to the app give superuser and select link apps to sd card, it will ask the partition and type then ask wich method will be using, i have used all methods, i'm using magisk and the magisk method leave me in bootloops, the normal method and init.d method works but i need to do a soft reboot after I start the phone to mount the sd, the only works after reboot for me its advanced method. now you're good to go, move your apps to your SD!
App2SD link: https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd&hl=pt_BR
//
Comming soon: Unlock your bootloader from Linux with help of virtualization.
Click to expand...
Click to collapse
Hello!
Could you explain in detail how to use magisk to transfer the data to the SD? because I don't understand the method, thanks!

Related

[ROOT] Karbonn A16 Rooting

Hi guys, I don't know if still there are people who are using Karbonn A16. Still I am going to share my roms, mods and other stuff, so the other people can enjoy them too.
/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features of root access
* before trying it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Method 1 : Using Framaroot
0. Make sure you have backup of your current rom or stock rom!!!
1. Download framaroot from here Download here
2. Copy the downloaded file to external memory card
3. Install and launch it
4. Select SuperSU (Recommend) or Super User
5. Tap "Boromir"
6. Wait for a minute
7. Reboot device
8. Launch SuperSU and if it asks you to update binary, update it
9. Update SuperSU from Google Play Store
10. Launch SuperSU and if it asks you to update binary, update it
Done!
Method 2: Rooting via custom recovery (CWM/ TWRP/ PhilZ)
0. Make sure you have backup of your current rom or stock rom!!!
1. Download SuperSU flashable zip Download here
2. Copy the downloaded file to external memory card
3. Reboot to recovery
4. Install/ Flash the downloaded zip
5. Reboot from recovery (Go to recovery to wipe cache and dalvik-cache if stuck in bootloop)
6. Launch SuperSU and if it asks you to update binary, update it
7. Update SuperSU from Google Play Store
8. Launch SuperSU and if it asks you to update binary, update it
Done!
Enjoy your rooted device
If you liked my work feel free to hit "Thanks" button!
@TheMadScientist Please close this thread.
Mod Edit
Thread closed at the request of the [OP]
malybru
Senior Moderator

[Custom Rom] MIUI-4.4.25 for Huawei G730 U00

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
This MIUI Rom is only for Huawei G730 U00 device..
What's working: everything is working as far as tested..
Bugs: not found yet
Installation Instruction
If you have not flashed CWM:
(1) download Flashtool, Insecure Boot and CWM for G730 U00
(2) After extraced, flash Insecure boot img,
(3) After only flashing insecure boot img, you can be able to flash Cwm recovery img.
After flashing CWM recovery,
(1) put G730U00-MIUI Rom.zip on your SD card.
(2) Power off your phone and pull out battery for about 5 seconds and put it back
(3) Press (Power Button+Volume Up) to enter into CWM recovery mode.
(4) Before flash, perform Wipe data factory reset, wipe cache, wipe dalvik.
(5) Install zip from sdcard>>find G730U00-MIUI Rom.zip from your sdcard. and flash it.
(6) After flashed, perform Wipe Data & factory reset, and Reboot.
That's it!!
Download:
MIUI G730-U00
G730-U00 CWM
SP_Flashtool for G730-U00
Insecure Boot.img for G730-U00
Version Information
Rom Os Version: MIUI 4.2.2 JDQ39
MT6582
Stable, daily use..
You can change device language to English, Chinese is not default
Note: If anyone ported on other, please make a reply with version
Credits: Devs of this. Not me

[5.1.1] [STOCK] [D2303] PreRooted 18.6.A.0.182 Customized CE5

I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Click to expand...
Click to collapse
Hey i just created prerooted rom.
Included:
SuperSU and XZDualRecovery
Requirements:
Xperia M2 D2303
TWRP
Locked/Unlocked Bootloader
Screenshots :
https://imgur.com/gallery/rVsaE
How to install:
1. Do a backup of your data.
2. Reboot to recovery.
3. Click wipe and advanced wipe select system, cache, dalvik and data and swipe.
4. Flash rom from link bellow! (Optional: flash the newest supersu zip)
5. Reboot to system and enjoy rooted rom!
If you have a bootloop turn off your device and turn it to twrp (when powered off turn volume- and click the power button) and flash supersu zip!
Downloads:
Rom: https://mega.nz/#!nkICxCIC!PYvBhAW-pZX7j-O_l5iLtgJvTmtyuEtyCZnXEEvYSWk
SuperSU: https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
Hello DodgeRom,
thanks a lot for your prerooted package. It makes getting root much easyer.
I am having one problem with it: The rom is rooted, but I still cannot modify the system partition (remounting /system in rw mode results in the operation not permitted error.) Do you know, how to change this? The newest version of superSU is installed. I would really like to get /system writeable to edit system files like the hosts file.
I would really appreciate some help here.
Why do I need to wipe my phone before installing? As far as I know, flashing overwrites these partitions.
You have a typo in
4. Flash zip from link bellow!
Click to expand...
Click to collapse
Thanks in advance
@PauSteu you need to install ric disabler heres link http://sergiocastell.com/ftf/ric_disabler.zip (link from @linuxct thread)
Works with D2306?
Hi there, I wanted to ask you if there's any bug before flashing and is there 2GB available space for space oe 5GB as on Custom ROMs?
How do I make a pre rooted frimware for my Country ?
Hello .Im used for flash apk FlashFire but I dnt have recovery and I have bootloop. I dnt hv pc...how fix it ??
Értem

[GSI][9.0] MIUI 11 For Galaxy J6

ABOUT
This is an OEM Ported GSI of MIUI 11 (PIE), tested by me on Galaxy J6.
thanks to @erfanoabdi For GSI TOOLS.
This PORT is Not Made by me.
all credits to original authors.
DICLAIMER
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
No guarantees that everything would work. This is a GSI, bugs are bound to happen.
SO, Here Is The MIUI-11 GSI Working On Galaxy J6.
Follow The Instructions To Flash It .
REQUIREMENTS/DOWNLOADS :
-Unlocked Bootloader
-TWRP Installed
-GSI File 》》 DOWNLOAD
-Additional Zip Files 》》
1: DOWNLOAD
2: DOWNLOAD
3: DOWNLOAD
-GSI Patch Zip 》》 DOWNLOAD
-Additional Apk Files 》》
1: DOWNLOAD
2: DOWNLOAD
All files are associated with their original owners/Developers....
Flashing Instructions :
Unzip Downloaded GSI Image , You Got an .img file
Boot In TWRP
Wipe system, data, dalvik&cache, cache
Install Vendor.Zip file
Reboot To Recovery
Select Install Image Option In TWRP
Install extracted Image File
Again Reboot To Recover (Don't worry if no OS installed error comes just go ahead )
Now Install Additional Zip Files
Now, At last reboot to System
After First Boot, Install Both Given APK Files (Download section).
ENJOY...
video tutorial :
mod edit - link removed
duplicate thread closed
original her https://forum.xda-developers.com/galaxy-j/development/miui-11pie-galaxy-j6-t4048195

[CLOSED][UNOFFICIAL][RECOVERY] OrangeFox Recovery r11.1 [RAPHAEL]

Code:
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
INSTALLATION
Via Reocvery :
To install an OrangeFox zip, simply flash it with OrangeFox (or any TWRP-compatible custom recovery) without any wipes - exactly the same way that you would flash any zip
Do the same thing if you want to upgrade OrangeFox
When you flash an OrangeFox zip, there is no need to flash any DFE or any other such thing
See below for detailed instructions on how to install OrangeFox via fastboot
Via Fastboot, and then recovery :
You need a PC for this. If you do not have a PC, or access to a PC, then you are stuck!
Unlock your bootloader (if not already unlocked)
Install adb, fastboot from here, and the relevant USB drivers onto your PC
Install the Mi Flash tool onto your PC (only for Xiaomi devices)
Download the correct OrangeFox zip file to your phone, and to your PC
Extract recovery.img from the OrangeFox zip file, and copy recovery.img to your PC’s adb directory
Reboot your phone into fastboot/bootloader mode
Open up a command line window / terminal emulator on your PC
Change to the adb directory on your PC
Flash OrangeFox Recovery by using the fastboot flash recovery recovery.img command
Reboot into OrangeFox by pressing the power + volume up keys, until you see the OrangeFox splash screen (the keys may be may vary on your device)
After OrangeFox has booted up, check that everything is working – eg, that it has mounted the data partition successfully, and that the touchscreen works.
Find and select the OrangeFox zip on your phone, tap on it, and swipe to install it (because OrangeFox Recovery needs some files from the zip)
After installation, the phone will automatically reboot into OrangeFox
Enjoy!
DOWNLOAD
MOD EDIT: DOWNLOAD LINK REMOVED
Features:
-Fully decryption support
-Wipe support
-Backup support
-vibration support
What doesn't work
you tell me
Thanks to @PeterCxy for the commits and the base: https://github.com/PeterCxy/android_device_xiaomi_violet-twrp
Thanks for @mauronofrio for original raphael device tree: https://github.com/mauronofrio/android_device_xiaomi_raphael
TeamWin - for TWRP
The OrangeFox Team - for your hard work
Thread closed until kernel sources are provided.
OP: Please check your PM-Inbox for more informtion.
You can read about it HERE why it's mandatory to post actual kernel sources according to GPLv2.
Thanks
strongst
Forum Moderator

Categories

Resources