TWRP backup and restore for Android Q GSI - Xiaomi Mi Mix 3 Questions & Answers

Hi everyone,
I would like to try to install android Q GSI. But i'm very satisfy with my actual setup .
I would like save it for a restore after my test.
Which partition should i save ?
All?
And restore all too ?
or shouln't restore EFS/modem ?
or do you know a better way.
Thanks a lot.

if u talking about Android Q béta 2 don't install it. i tried and not stable....wifi issues and second boot.....bootloop

Yes i talk about Q beta 2. It's just to test, like you do

Related

[Q] beginner question . how do i start everything ?

hi guys, i just brought od3 today and planning to do a lots of thing . i read a lot from xda-developers but never try it out even once . how here i have few questions and requests .
1.i heard about making backup, installing better rom and i heard about Cyanogenmod and modaco rom . how do i really start to install rom from zero ? any complete link ?
2. if i install rom , and flash it.do all data including phone contact, message and application gone ?
3. i noticed few hacking threads which are link1 , link2 and link3
which one i start first ? does setting will be gone when i flash with new rom ?
4.can anybody give guide for me to create android environment in Ubuntu linux ?
5.what is the best GPS application ?
6.what is different applying rom and theme ? please give full guide link for me to change my theme .
thank you so much
crownclown said:
hi guys, i just brought od3 today and planning to do a lots of thing . i read a lot from xda-developers but never try it out even once . how here i have few questions and requests .
1.i heard about making backup, installing better rom and i heard about Cyanogenmod and modaco rom . how do i really start to install rom from zero ? any complete link ?
2. if i install rom , and flash it.do all data including phone contact, message and application gone ?
3. i noticed few hacking threads which are link1 , link2 and link3
which one i start first ? does setting will be gone when i flash with new rom ?
4.can anybody give guide for me to create android environment in Ubuntu linux ?
5.what is the best GPS application ?
6.what is different applying rom and theme ? please give full guide link for me to change my theme .
thank you so much
Click to expand...
Click to collapse
The stuff you want to do requires you to be rooted first. So download SuperOneClick and use that to root your device first.
1. Making a backup is usually with a app called Rom Manager. After installing, you can press the option to download the recovery and afterwards you can make a backup of the rom. Its best to make a backup of the stock rom that came with the phone just for... backup purposes.
Cyanogenmod is in progress, but not released yet so you should wait for that.
No point in checking on Modaco because there's almost no one posting there for this device.
If you want to install a new rom, you basically only need 3 things. Your phone, the custom rom you want from the Optimus 3D Android Development Section, and the instructions that thread gives you. Its best to follow the instructions that they give. Very easy and simple process.
2. Flashing a rom = installing a rom. All your data and etc are gone. Doesn't exist anymore, it'll be as if you got a fresh phone from out of the box except the rom has been modified. So if you want to keep your data, go make backups of them. For contacts, just sync them with your gmail account. For messages, download an app to back those up. I don't have a texting plan so I can't recommend you a sms backup app. If you want to backup your apps, you can look at Titanium Backup.
3. Whenever you flash a new rom, anything you've done to your phone is gone. So you'll have to reapply any tweaks you've done. For those 3 links, Link 1 and 2 are both stock camera replacements. They replace the stock camera on your phone. So you could only pick one. They both aim to improve the stock camera quality. Personally, I haven't installed either. I use 3rd party camera apps for taking pictures. For the 3rd link, its only a way to get GameLoft games to your external sd card to save some bit of space on your internal sd card. If you need it, try it out. I didn't need it, so I haven't touched it.
4. Are you talking about creating an android app development envirenment or...?
5. GPS, are you talking about GPS navigation, GPS detection, or..?
6. Applying a theme is just changing the graphical appearance of the phone. Applying a rom is changing much more than that. Applying a rom lets you have a rom with tweaks that gives you more space, more speed, more etc etc. Most custom roms has their own themes. Basically, if you want to change how your phone's launcher looks, then that's applying a theme. If you want your phone to be different from stock and have lots of bloatware removed and faster and etc you would want to install a new rom.
To change a theme there's 2 ways. One is to change it on the rom which would affect the stock launcher. 2nd way is to download a new launcher and download any of the themes they have and use those instead. I prefer the 2nd way just because its much easier and most of the time 3rd party launchers are simply better than the stock launchers.
DevJackey said:
4. Are you talking about creating an android app development envirenment or...?
5. GPS, are you talking about GPS navigation, GPS detection, or..?
Click to expand...
Click to collapse
nope, what i mean is most of the guides such as superoneclick , rooting and etc given for windows users..i have hard time to adept and use it in ubuntu linux . i google around and found few howto in linux . i tried, it is not working atlease for me.
yes, GPS navigation . if possible similar GUI with HTC navigation .

[Q] Newbie - Samsung Galaxy Mini step by step - newbie guide

Hi,
I'm newbie, i need some answers and i'll apreciate if someone will help me with those answers.
I own Sam Galaxy mini/Android 2.3.4
1. To install "CWM TOUCH 5.2.0.8 ext" particularly this version i have to root my phone?
2. To install CWM i can use both methods - stock recovery or Odin?
3. To root i can use both methods - Odin/Super One Click/ Stock or Recovery program ?
4. To make and back-up of my curent rom - unrooted - what i have to use and how hasn't anyone a link/steps?
5. I can revert to my curent stock rom? (i presume with the no. 4 method) a can revert also to my android stock recovery and how if you can show a link some info please?
6. Gingerbred is letting you to install apps in sd but not all of them? I want to instal all apps to SD - i have to root my phone for this?
7. I have to partition my sd in two or more partition(swap/cache.etc/) for better experience, function of phone ?(curently 8GB class 4)
8. If Q 6. yes - i have to use a special application after i root my phone to install all apps to SD?if yes what apps?
9. If Q 7. yes - How many and what size/type?
10. If i revert to an stock rom from backup/internet -euro or other stock rom- i will be able in future to update the phone with samsung keys?
11. It's the version of Android that is already on the phone a main reason of chosing the CWM Recovery and the rooting method? What is the best method when you have Android 2.3.4?
If you can answer with yes/no please do that - if the question need to be answered with a full answer thank you for doing that.
If the questions are wrong or incomplete please advice me to correct them.
I will apreciate all aswers that i will receive and thanks to all for helping a newbie.
I have read so many post on the internet that is a mash in my head!
Thank you very much.
lentzy said:
Hi,
I'm newbie, i need some answers and i'll apreciate if someone will help me with those answers.
I own Sam Galaxy mini/Android 2.3.4
1. To install "CWM TOUCH 5.2.0.8 ext" particularly this version i have to root my phone?
2. To install CWM i can use both methods - stock recovery or Odin?
3. To root i can use both methods - Odin/Super One Click/ Stock or Recovery program ?
4. To make and back-up of my curent rom - unrooted - what i have to use and how hasn't anyone a link/steps?
5. I can revert to my curent stock rom? (i presume with the no. 4 method) a can revert also to my android stock recovery and how if you can show a link some info please?
6. Gingerbred is letting you to install apps in sd but not all of them? I want to instal all apps to SD - i have to root my phone for this?
7. I have to partition my sd in two or more partition(swap/cache.etc/) for better experience, function of phone ?(curently 8GB class 4)
8. If Q 6. yes - i have to use a special application after i root my phone to install all apps to SD?if yes what apps?
9. If Q 7. yes - How many and what size/type?
10. If i revert to an stock rom from backup/internet -euro or other stock rom- i will be able in future to update the phone with samsung keys?
11. It's the version of Android that is already on the phone a main reason of chosing the CWM Recovery and the rooting method? What is the best method when you have Android 2.3.4?
If you can answer with yes/no please do that - if the question need to be answered with a full answer thank you for doing that.
If the questions are wrong or incomplete please advice me to correct them.
I will apreciate all aswers that i will receive and thanks to all for helping a newbie.
I have read so many post on the internet that is a mash in my head!
Thank you very much.
Click to expand...
Click to collapse
This is the steps you need to do first
#1-root, if your phone wont root then you probably need to get security off
#2-after root you can install cwm 3.0.2.1, there are newer version of cement but 3.0.2.1 is stable, but you can use 5.0.2.8
#3-now you back up your system through cwm, you can only backup using cwm or any other type of recovery
#4-now you can install custom roms and do modifications to your phone.
For root try gingerbreak or z4root
Sent from my HTC Wildfire S using xda premium
Thank tou Android311 for the answer.
Pelase let me complete some of the questions.
Q1. To install "CWM- ClockworkMod Recovery " i have to root my phone? -
A1.I think NO..
Q2. To install "CWM- ClockworkMod Recovery " i can use both methods - stock recovery or Odin?
A2. U have to use ODIN first with a older flashable version of CWM and after that you can UPDATE to a newer version directly from CWM Recovery (home button+power button),
Or u can flash directly the version you want through ODIN but it have to be a flashable ODIn version of CWM
info: http://forum.xda-developers.com/showthread.php?t=1529863
Q3. To root the phone what i can use ?
A3. To root your phone you can use Super One Click or directly from Stock Recovery program ?
info: http://forum.xda-developers.com/showthread.php?t=1347377 gingerbread
info: http://forum.xda-developers.com/showthread.php?t=1347371 froyo
Q4. To make and back-up of my curent rom - unrooted - what i have to use and how ? Some links, info?
A4. I think you cannot make back-up if curent stock rom!
Q5. I can revert to my curent stock rom? (i presume with the no. 4 method) a can revert also to my android stock recovery and how if you can show a link some info please?
A5. Yes you can install stock rom again! You have to know what version did you have and download the version from internet! S
I think you can revert also to stock recovery!
Q6. Gingerbred is letting you to install apps in sd but not all of them? I want to instal all apps to SD - i have to root my phone for this?
A6. I have found on xda forum so many method for increasing memory for apps or to move apps to sd.
info: http://forum.xda-developers.com/showthread.php?t=1398797
Q7. I have to partition my sd in two or more partition(swap/cache.etc/) for better experience, function of phone ?(curently 8GB class 4)
A7. You can use CWM Recovery for partioning! or http://www.youtube.com/watch?v=1aAUPfowABc and use Link2sd apps.
Q8. If Q 6. yes - i have to use a special application after i root my phone to install all apps to SD?if yes what apps?
A8.Link2sd
Q9. If Q 7. yes - How many and what size/type?
A9. Use CWM Recovery and select whatever size for 2nd partion for apps - 1 partion for storage FAT, 2nd partion dor apps ext2, and 1 for swap.
Q10. If i revert to an stock rom from backup/internet -euro or other stock rom- i will be able in future to update the phone with samsung keys?
A10. I think yes.

[AIO] Prepare your device (and your knowledge) for any GSI

Preliminary operations/infos
First of all: what's Treble?
Find it out here.
How do I obtain my bootloader unlock code?
GO HERE, FAST!
Huawei officially ceased the unlocking service.
How do I get Treble on my device?
At the moment of this write down, EMUI it's still in private BETA.
The only chance to obtain it it's to follow this guide CAREFULLY.
What if I want to revert to EMUI 8/5?
Follow the steps described in the guide to get treble on your device using EMUI 8 files if you want to revert to EMUI 8, or EMUI 5 if you wish to revert to it.
The road it's long...
So, you're sitting there, not understanding why there are so much ROMs in this section and why you shouldn't use the ones appearing in Treble-Enabled Device Development since you worked so hard to get Treble on it.
Let's try to answer a universal question.
What's the difference from the "standard" GSIs and the ROMs in this section?
Well, the ROMs here were made keeping an eye on the "optimization per-platform" concept, basically tracking down some proprietary stuff inheriting them under /system .​
**WHAT FOLLOWS ARE PERSONAL OPINIONS**
I honestly think, that we should cut off this approach.
Inheriting stuff under /system has no more sense.
Am I saying that what I did till now had no sense?
Yes.
The whole Treble concept relies on moving away from system, any vendor related stuff.
So why in the hell should we inherit proprietary stuff in our system partition again?
When we have other ways to don't mess with it?
The only stuff that still "deserves" to have something to do with /system it's the Huawei Camera.
Everything else, belongs to /vendor.
Furthermore, our goal, as developers and users, should be to track down specific-platform bugs and report them.
Co-operation is the sake of open-source and the key to success in a wonderful GSI experience for everyone.​
Is my device ready to use a "standard" GSI?
Pretty much.
Huawei doesn't ship any overlay under /vendor in our PRA, because it's inherited in EMUI under /system.
But, you can follow this guide, to include the needed overlay to be fully GSI-ready.
Also, you need this thread too to fix offline charging on your Huawei device.​
Known Bugs on GSI and "specific-GSI"
NFC has been an annoying issue all along the development process on some Huawei devices.
But this flashable zip, seems to solve the issue on our PRA.
Indeed it needs more testing.​
Available tools/software for your PRA
ADB and Fastboot
TWRP
MindTheGapps
Huawei Camera Magisk
OEMInfo (TWRP backup)
HuRU
Stock Ramdisk (ramdisk partition)
Stock Recovery (recovery_ramdisk partition)​​
Specific-GSI available
Lineage OS https://forum.xda-developers.com/p8...t/rom-lineage-os-huawei-p8-lite-2017-t3787193
CrDroidhttps://forum.xda-developers.com/p8.../rom-crdroid-4-2-huawei-p8-lite-2017-t3785615
AospExtendedhttps://forum.xda-developers.com/p8.../rom-aospextended-5-4-huawei-p8-lite-t3778938
AOSPhttps://forum.xda-developers.com/p8...ent/rom-aosp-r23-huawei-p8-lite-2017-t3779115
Resurrection Remix 6https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444
SlimRom 8
AICP​
Specific GSIs are now discontinued.
Go to the Treble Enabled Development sub to get some ROMs to flash!
NOTE:
This ROMs will be discontinued in a couple of weeks, since the installation of the overlay (previously highlighted in the paragraph "Is my device ready to use a "standard" GSI?") will give access to a full fledged GSI experience without the need of specific GSIs.
Custom kernels
Labyrinth​
Disable encryption to use Adoptable Storage (or just because you can)
open /vendor/etc/fstab.hi6250
make a backup just in case
find "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"
remove ",fileencryption=aes-256-xts:aes-256-cts"
factory reset via stock recovery
If this isn't clear enough, please, check this contribution.
Playstore download pending fix
Access https://play.google.com/apps/testing/com.google.android.gms/join
Apply for the beta
Update Google Play Services to the beta
Profit
Magisk keeps crashing?
Turn off its "Check for update feature" and praise for the arrival of a new Magisk version.
From 16.6 version, Magisk it's fully working.
Please, refer to this thread for a correct installation.
How to report bugs
Boot problems:
Please do dump /splash2 partition and sys/fs/pstore content via adb pull in my TWRP.
adb logcat > file.txt
Quirks on booted system:
Please take a full bugreport when the bugs happens via Developer Options
or​
adb logcat > file.txt
send file.txt to the developer
Hey you!
If you're reading this message I want you to help this community.
Share your thoughts about this posts or post your un-answered questions below.
The more we share, the best experience we'll get.
Also, please respect my work.
If you do integrate some of this infos in your thread/website or whatever, add me in the credits.
Furthermore, feel free to join us at @GSI_HI6250 on Telegram, we're funny people, I swear.
Is this non-clear somehow?
Or you just need help?
Fill the help form below.
Device Variant:
Device Firmware:
Is your device rebranded?:
How frequently this issue happens?
Is this happening now?
Describe the issue:
Describe steps to reproduce the issue:
Attach logcats/full bugreports as described on the paragraph "How to report bugs"​
Or simply join the telegram group.
Peace.
Dil3mm4 said:
Kaioken reserved
Click to expand...
Click to collapse
Super Saiyan reserved
Lol
Dil3mm4 said:
Disable encryption to use Adoptable Storage (or just because you can)
open /vendor/etc/fstab.hi6250
make a backup just in case
find "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"
remove ",fileencryption=aes-256-xts:aes-256-cts"
factory reset via stock recovery
Playstore download pending fix
Access https://play.google.com/apps/testing/com.google.android.gms/join
Apply for the beta
Update Google Play Services to the beta
Profit
Magisk keeps crashing?
Turn off its "Check for update feature" and praise for the arrival of a new Magisk version.
How to report bugs
Boot problems:
Please do dump /splash2 partition and sys/fs/pstore content via adb pull in my TWRP.
Quirks on booted system:
Please take a full bugreport when the bugs happens via Developer Options
or​
adb logcat > file.txt
send file.txt to the developer
Click to expand...
Click to collapse
THAT WORKED. FINALLY 8.1 WITH BOOTLEGGERS GSI, 128GB micro SDXC as INTERNAL. I AM HAPPY
for beginners:
boot after working rom in twrp
go in advanced
go to file manager
go to /vendor/etc/
open file "fstab.hi6250" (after copying with and having a recovery of it, open with notepad++ or something else)
there should be a line with: "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"
erase the part: ",fileencryption=aes-256-xts:aes-256-cts"
save
erase the original fstab.hi6250 file in vendor/etc
and put the new fstab.hi6250 file in
reboot in bootloader
flash stockrecovery.img
reboot recovery
factory reset in stock recovery
reboot
DONE.
now you can see the SD card as internal and use for apps.
Need your help
Hey OP,
Thanks for all your work. Really a big fan.
There is a problem I've noticed on most of the treble roms. After using apps for a while, they begin to FC.
Love your roms and would like to continue using them
Mister746 said:
Hey OP,
Thanks for all your work. Really a big fan.
There is a problem I've noticed on most of the treble roms. After using apps for a while, they begin to FC.
Love your roms and would like to continue using them
Click to expand...
Click to collapse
Updated last post, please submit the infos needed via that form.
Thanks.
Hi, i am experiencing a weird bug on every GSI, specifically, snapchat video recording is fine and smooth, but after tapping on the "send" button it says "failed to add" and doesnt even give a chance to resend the same snap. It happens on all treble roms i've teted so far (i tested every specific GSI for PRA, and some openkirin and otger ones). @dill3m4 do you have any idea how to fix it? I hope there is a way to do a flashable zip or something like the NFC fix. Once i get back home (2-3 days) i will post some logs, in the meantime, can someone please confirm if the issue persists, and gather logs? ?
can i use this method in stock firmware(rooted) because i cant see any fstab file in vendor/etc/
jedtan025 said:
can i use this method in stock firmware(rooted) because i cant see any fstab file in vendor/etc/
Click to expand...
Click to collapse
Just making sure but you are on emui8 right? Also are you checking with a file manager in Android or are you searching in twrp?
neondragon1909 said:
Just making sure but you are on emui8 right? Also are you checking with a file manager in Android or are you searching in twrp?
Click to expand...
Click to collapse
im searching in twrp bro. bro question. im using pra lx2 oreo firmware. and im wanna go back to nougat. it is possible? i got the firmware now but dont know how to flash nougat. dload failed. and i cant use hurupdarer bcos nougat firmware only has 2 zip file
jedtan025 said:
im searching in twrp bro. bro question. im using pra lx2 oreo firmware. and im wanna go back to nougat. it is possible? i got the firmware now but dont know how to flash nougat. dload failed. and i cant use hurupdarer bcos nougat firmware only has 2 zip file
Click to expand...
Click to collapse
I couldn't find the file using TWRP either. Had to use root explorer to find and edit the file. As for hurupdater, I'm not sure if it's the same for your region, but for pra-la1 there were 3 files.
And as for the the 2 files, I successfully flashed using the updater with only the update.zip so try updating anyway. If that doesn't work, use the eRecovery
Update:
Added Magisk news;
Added stock PRA ramdisk
UPDATE:
Added Offline Charging Fix in post #2
Added references to Treble Enabled device development;
New Huawei Magisk Camera;
Hello,
I'm having problems finding the download links in the guide to obtain Treble, I've searched here and clicked on the link to the guide but there i can't find it eather.
cyprian99 said:
Hello,
I'm having problems finding the download links in the guide to obtain Treble, I've searched here and clicked on the link to the guide but there i can't find it eather.
Click to expand...
Click to collapse
Obtain what?
Treble roms?
Yay! Emui 8.0 has arrived on my c432 pra-lx1 (b360) . Everything is perfect.
The guide to get treble is unclear, how can the very first step be to download update.zip? I did and now i have a trojan, thanks a lot
How to unlock bootloader? Now the Huawei site is unavailable
Wysłane z mojego PRA-LX1 przy użyciu Tapatalka

Updating Pixel 3 on Android 9 to Android 10 questions build.prop/process

Good day everybody,
A few questions about upgrading my pixel 3 from 9 to 10. To preface I have an unlocked bootloader and am rooted on the June 2019 version of android. I would like to update to android 10 and am wondering if one of my modifications to the build.prop would still work. I use the following modification for enabling hotspot:
net.tethering.noprovisioning=true
Can anybody confirm that this still works on Android 10?
Also, huge noob question - Where is the guide for updating from 9 -> 10 with root/unlock, and do I lose my data in the process? I can't seem to find anything but how to sideload monthly updates.
Thank you in advance for any help
To edit /system or /vendor you need to use magisk and do it systemlessly. A10 no longer allows you to directly modify these partitions. There is some discussion about exactly what you want to change under the guides section in the Pixel 3xl forum. For the second one, there is a guide somewhere in the guides section in this forum. You will need to do a full wipe with a version change. Look into different ways to back up your stuff before you switch. For apps and app data I did a twrp backup before switching then used titanium backup once on A10 to extract the app/data and restore it. For other stuff you might need to do it manually.
Follow this method for the Magisk based tethering modification:
https://forum.xda-developers.com/pixel-3-xl/how-to/how-to-native-tethering-rooted-pixel-3-t3858662
(Works on Pixel 3)

Multiboot support for devices with Android 10/11 ROM

I've recently started playing around with my phone's ROM. But mostly, ROMs are hit or miss and I dont really like the part where I have to restore the ROM back again.
MultiROM used to support this, but I recently read somewhere that both multirom and dualboot patcher are deprecated with new changes in Android P/Q. Is that true? If any of you know a link/page where I can get info on installing mulltiple ROMs on my phone, please reply accordingly.
I'm using a OnePlus 5 running on OOS 10.0.1 (rooted) right now
You may try
Free download Twrp Multirom APK [latest version] TWRP free download - updated December 2021
The free download APK for Twrp Multirom with android version: Lollipop/Lollipop/Q/Oreo/KitKat/Marshmallow/Pie/Nougat TWRP download - updated December 2021
howtoandroitroot.com
jwoegerbauer said:
You may try
Free download Twrp Multirom APK [latest version] TWRP free download - updated December 2021
The free download APK for Twrp Multirom with android version: Lollipop/Lollipop/Q/Oreo/KitKat/Marshmallow/Pie/Nougat TWRP download - updated December 2021
howtoandroitroot.com
Click to expand...
Click to collapse
Thanks @jwoegerbauer . I tried the page. But it seems to be looping back and forth into the same page with no download option.
Joyceerides said:
Thanks @jwoegerbauer . I tried the page. But it seems to be looping back and forth into the same page with no download option.
Click to expand...
Click to collapse
Yes
now we have 2 system partition but still only 1 data partition , i dont think thats possible yet
the idea of multiboot is loop mount partition image files, it works quite well for userdata partition, too. just the effective "partition" size is decreased dramatically
Joyceerides said:
I've recently started playing around with my phone's ROM. But mostly, ROMs are hit or miss and I dont really like the part where I have to restore the ROM back again.
MultiROM used to support this, but I recently read somewhere that both multirom and dualboot patcher are deprecated with new changes in Android P/Q. Is that true? If any of you know a link/page where I can get info on installing mulltiple ROMs on my phone, please reply accordingly.
I'm using a OnePlus 5 running on OOS 10.0.1 (rooted) right now
Click to expand...
Click to collapse
DSU sideloader

Categories

Resources