How can find /cust partition? - LeEco Le Max 2 Questions & Answers

Hi everybody!
I have Le Max 2 and i have problem with cust partition.
I have had Indian ROM and decided the original ROM, but have lost the CUST.img and have problem with boot animation and the 4G Internet. I wanted more of this img, but i can't find anywhere. I need your help! Thanks!

Cust. Partition is not present nor needed. Only my Chinese phones have this partition. It is not a requirement for a phone to be operational, as far as I know or all phones would have it.

jim262 said:
Cust. Partition is not present nor needed. Only my Chinese phones have this partition. It is not a requirement for a phone to be operational, as far as I know or all phones would have it.
Click to expand...
Click to collapse
Hello community , I have a new Le Max 2 with 64GB storage . After the first start , I looked in the settings . He shows me ( no , that I have something installed ) , that 38 GB are occupied. I have TWRP installed and wanted to see . Here I see that I generally have only 21GB of internal memory and a partition named " CUST " could not be mounted. Can someone help?

I also have a problem with /cust partition that can't be mounted. Looks like I cannot use the phone to call anymore, it says that network is unavailable, although the 4G data is fine. Installations of ROMs looks like still possible, but the thing with calling is killing me... suddenly the phone is not a phone anymore )
I guess that my /cust partition was erased/deleted/disappeared when I wanted to install the ROM for X829 which other users with x820 said it was ok (not blaming anyone for anything ). Now when I choose band mode, I have the options only "USA band Mode" and "Band 6".
Can someone check in Europe what bands he has as an option?
PS: On Honor forums looks like this "cust" partition should contain information about the area where you are... for your provider to be able to understand the phone's settings or such. Really waiting for cust.img if someone can provide.

The best thing would be factory images, such as for Google Nexus Phone.
[“Flashing the Android factory image can be scary, especially for beginners. Flashing the factory image differs from installing the over-the-air (OTA) update in That the factory contains the full system image files for your device, whereas the OTA update contains only the upgrade information. In other words, flashing a factory image is more like completely deleting all the software on your device and replacing it. The OTA Will only replace what is being changed SINCE your last update” (as i read on another page)].
But unfortunately we don’t have this possibility from the Chinese Phones. I had problems with TWRP, of all versions and finally found the final version from GrossoShop.
I don't have more problems with cust partition and i have installed the ROM package from them. They are the best. Try it and your will be satisfied.
This is web link http://blog.grossoshop.net/come-installare-rom-grossoshop-cuoco92-powered-su-leeco-x820-le-max-2/ .
You can try the latest version (5.8.015S_V29_CUOCO92), but I am satisfied with the version (5.6.014S-v3_V28_CUOCO92).

dermozza said:
Hello community , I have a new Le Max 2 with 64GB storage . After the first start , I looked in the settings . He shows me ( no , that I have something installed ) , that 38 GB are occupied. I have TWRP installed and wanted to see . Here I see that I generally have only 21GB of internal memory and a partition named " CUST " could not be mounted. Can someone help?
Click to expand...
Click to collapse
Hi, I have the same problem with my Le Max 2. Have you resolved your storage problem by flashing factory image or by some other way?

Related

multi boot

can som one tell me how i can dual boot my photon4g
lucky.79 said:
can som one tell me how i can dual boot my photon4g
Click to expand...
Click to collapse
You can't, yet.
This uses a method called 2ndinit myself and peetr_ have been looking into using this option.
mof9336 said:
This uses a method called 2ndinit myself and peetr_ have been looking into using this option.
Click to expand...
Click to collapse
so we can have one androidOS in the internal storage and another android OS in the external storage?? that's really really cool! Would photon 4g be the first phone to have more than 1 OS installed?
rituel said:
so we can have one androidOS in the internal storage and another android OS in the external storage?? that's really really cool! Would photon 4g be the first phone to have more than 1 OS installed?
Click to expand...
Click to collapse
Check my post: http://forum.xda-developers.com/showthread.php?t=1652411
I have used suggestions from Atrix thread and they worked fine. I have tried two or three times and each time I got some issues. I was copying stock 2.3.4 ROM onto SD card. One time USB ports were not working - no charging, no connection to computer with the cable. Next time there was problem with Play Market. I have tried different steps to reset its settings to no avail. It was giving error related to storage unavailability while downloading anything. I have removed Play Market completely, then somehow install it back, but the issue was not resolved. Now I think maybe it's a permissions issue.
Also device was really slow while running OS on sd-card (I have 32GB Transcend Class 10). It's fun to try but I don't see any practical use for it.
bloodhound_ said:
Check my post: http://forum.xda-developers.com/showthread.php?t=1652411
I have used suggestions from Atrix thread and they worked fine. I have tried two or three times and each time I got some issues. I was copying stock 2.3.4 ROM onto SD card. One time USB ports were not working - no charging, no connection to computer with the cable. Next time there was problem with Play Market. I have tried different steps to reset its settings to no avail. It was giving error related to storage unavailability while downloading anything. I have removed Play Market completely, then somehow install it back, but the issue was not resolved. Now I think maybe it's a permissions issue.
Also device was really slow while running OS on sd-card (I have 32GB Transcend Class 10). It's fun to try but I don't see any practical use for it.
Click to expand...
Click to collapse
hey can you write a detailed guide with instructions on how you got dual boot working on photon 4g please !? I cant afford to make mistakes and bork my phone >.>
And like you said as long as i can charge my phone and connect to my computer with one of the operating system its not a problem. But having dual boot will be really helpfull means I can check out more than one Rom simultaneously.
rituel said:
hey can you write a detailed guide with instructions on how you got dual boot working on photon 4g please !? I cant afford to make mistakes and bork my phone >.>
And like you said as long as i can charge my phone and connect to my computer with one of the operating system its not a problem. But having dual boot will be really helpfull means I can check out more than one Rom simultaneously.
Click to expand...
Click to collapse
The instructions I followed from Atrix page are very detailed. Link is here
It takes time to have a thread where most of the common questions answered. I think it is useless effort to start similar topic here, in addition - I don't have necessary time, knowledge and wish for this.
Anyway, if you do something wrong - you should always have full backup - then you risk nothing. Remember that if you got soft-bricked and recovery doesn't work, you can always use RSD lite to load stock 198_7 ROM, unlock, write new recovery and restore from initial backup.
The only difference between Atrix and Photon, (relative to this task) that you should keep in mind is the partition sizes. Partition table by LAKSHMAN in Play Market (or any other partition tool) can show you your partition sizes. I didn't guess to use these tools when I followed the instructions. Add up some 10 GB to each partition, just in case. When you partition your SD card, you should create partitions of the following size:
system - 420 MiB (stock ROM system partition size 408 MiB)
cache - 645 MiB (my current cache size on stock ROM is 610 MiB)
data - 2.6 MiB
I would also recommend to use script manager to launch scripts that will replace boot image from one to another. In other words, it will control where you will boot next time.
Note that Windows 7 is going mad about SD card with several partitions - sometimes you can see a single ntfs partition, sometimes it shows the ext3 partition, offering to reformat it.
bloodhound_ said:
The instructions I followed from Atrix page are very detailed. Link is here
It takes time to have a thread where most of the common questions answered. I think it is useless effort to start similar topic here, in addition - I don't have necessary time, knowledge and wish for this.
Anyway, if you do something wrong - you should always have full backup - then you risk nothing. Remember that if you got soft-bricked and recovery doesn't work, you can always use RSD lite to load stock 198_7 ROM, unlock, write new recovery and restore from initial backup.
The only difference between Atrix and Photon, (relative to this task) that you should keep in mind is the partition sizes. Partition table by LAKSHMAN in Play Market (or any other partition tool) can show you your partition sizes. I didn't guess to use these tools when I followed the instructions. Add up some 10 GB to each partition, just in case. When you partition your SD card, you should create partitions of the following size:
system - 420 GB (stock ROM system partition size 408 GB)
cache - 645 GB (my current cache size on stock ROM is 610 GB)
data - 2.6 GB
I would also recommend to use script manager to launch scripts that will replace boot image from one to another. In other words, it will control where you will boot next time.
Note that Windows 7 is going mad about SD card with several partitions - sometimes you can see a single ntfs partition, sometimes it shows the ext3 partition, offering to reformat it.
Click to expand...
Click to collapse
@PosterBoy : is this GB really?????? Man give some space to breathe..... lol
amitranjan said:
@PosterBoy : is this GB really?????? Man give some space to breathe..... lol
Click to expand...
Click to collapse
no im sure he miss typed he meant MB like he says in his post in the other thread. ok thanks man ill play around with it a bit so you're sure the phone wont be hard bricked right? I'm a very careful person I'm pretty confident I wont make mistakes all i want to know is everything every instruction given there is detailed enough and that nothing is omitted from it(meaning i dont have to do anything different except the partition sizes you mentioned here)
rituel said:
no im sure he miss typed he meant MB like he says in his post in the other thread. ok thanks man ill play around with it a bit so you're sure the phone wont be hard bricked right? I'm a very careful person I'm pretty confident I wont make mistakes all i want to know is everything every instruction given there is detailed enough and that nothing is omitted from it(meaning i dont have to do anything different except the partition sizes you mentioned here)
Click to expand...
Click to collapse
Yes, everything else from that topic applies. Be careful when you use dd. If you specify wrong drive names you might be in trouble (this will require loading sbf with RSD lite to fix partitions, I guess).
The longest part is to extract boot.img, edit the configuration file there and pack the whole thing back to andorid .img format. It requires you to install Android SDK with some tools that might not work straight away.

How much storage do i really have?

Hi,
I bought a Z5C thinking it had 32GB.
I have MM installed with minimal apps installed, I haven't had time to load my phone up with loads of apps which inevitably happens over time.
In settings it says i have used 12.19GB of 16.00GB. Ok so I have only 16GB, that's a bit a crap, on Sony's site it says 32GB**:
**Memory comprises approximately 5 GB of firmware, plus 27 GB of “Internal storage” for music, pictures and films, and downloaded applications and their data.​However in ES File Explorer it says I have used 4.81GB of 8.24GB? What?
My phone has an unlocked bootloader, is rooted and has TWRP recovery.
Can someone help me with my arithmetic please?
mrbix said:
Hi,
I bought a Z5C thinking it had 32GB.
I have MM installed with minimal apps installed, I haven't had time to load my phone up with loads of apps which inevitably happens over time.
In settings it says i have used 12.19GB of 16.00GB. Ok so I have only 16GB, that's a bit a crap, on Sony's site it says 32GB**:
**Memory comprises approximately 5 GB of firmware, plus 27 GB of “Internal storage” for music, pictures and films, and downloaded applications and their data.​However in ES File Explorer it says I have used 4.81GB of 8.24GB? What?
My phone has an unlocked bootloader, is rooted and has TWRP recovery.
Can someone help me with my arithmetic please?
Click to expand...
Click to collapse
re-flash .224 stock firmware via flashtool and let it boot up first time. After that, you should see 32GB. I've met this 16GB issue a few days ago but in my case, I was upgraded to MM Xpower v3.0 from LP base without flashing stock to re-construction the partition.
Try repairing the file system of the data partition in the wipe menu in twrp. I had the same problem and this fixed it without wiping my data
Sent from my E5823 using XDA-Developers mobile app
Alcedii said:
Try repairing the file system of the data partition in the wipe menu in twrp. I had the same problem and this fixed it without wiping my data
Sent from my E5823 using XDA-Developers mobile app
Click to expand...
Click to collapse
I didn't even know you could do that with TWRP, thanks for the education.
For anyone else who is suffering from this I did the following with TWRP 3.0.2-0:
boot into recovery
select WIPE on the main screen
select Advanced Wipe
select Data partition
select Repair File System
should get the following message
"Repairing Data using e2fsck..."
"Done."
reboot
I now have 32GB. Much appreciated.
I came across this bug today and tried method mentioned in post above, but unfortunately it failed. Then I tried to repair /system partition and it worked - ~22GB is now accessible again.
I was so happy to find this post! I got the same problem, only 16Go available. I don't know what I could make wrong to get this problem.
A repair of the data partition didn't solve the problem but as michuroztocz, after a repair of the system partition I've the 32Go back!! A good news, I didn't lost the whole configuration of the phone.
I only get an error when I try to repair system, /sbin/effect -fp /dev/block/mmcblk0p43 process ended with error: 4
well i tried every thing mentioned above nothing seems to work for me haha of course...
yet again my problem isnt the 32gb storage it says I have 32 but its mostly used (31.25) I deleted a backup that is 6GB and deleted around 1000 files (photos and videos) so thats at least another 3-5 GB if not 10 but lets go with the least!, still it shows in phone settings storage I have used 31.25/32 gb and in TWRP it says I have 2.3GB free and in ES file explorer it says : 21.18/22.57 used
WTF?!!

Help me to recover my data!!

Can someone recover my all data immediately through any method??
I have Samsung Note 9 Model N960F 500 GB Android 9 Dr Ketan Rom Version 15 PIE, everything was fine suddenly someone noticed my EDxposed was old and told me to update it because i can't create Snapchat account
then i downloaded the new apk version and flashed 2 files with Magisk one is Riru i guess i don't remember and the second one under Alpha menu contains YAfa something, and then i restarted the phone and it was stick on Samsung logo
like always if i have any issue i flash Dr ketan rom again over the old one and issues gone but this time No, I'm stick with Samsung logo
I tried to go back to Dr ketan rom PIE from version 15 to 13 and 11 and to Stock ROM android Oreo 7 and to Dr ketan android 10 ROM_Q02 but i face always one of these issues
1- stick on Samsung logo or 2- boot loop or 3- Message says "Verification Failed unable to restart your device. The integrity verification has failed, you need to reset your device to factory default settings, This will erase all your data. But i skipped this because i don't want to lose my data!
i tried to flash the stock rom with Ap file only then the phone starts as new but i didn't see my data and i saw the total storage of my phone is 32 GB and this is wrong. My total storage and my phone is 500 GB
From twrp i tried to open the internal storage and always it's empty now and before. it says 0 size even before this issue was 0 Size.
i tried from twrp to do wipe factory reset without internal storage but issue still the same.
i tried to wipe system, data, Cache, Davlik and also the same issue
i flashed some files also such as Magisk unistaller, ed exposed unistaller and magisk unimod but no luck
After each operation if i flash dr ketan rom now and finish i see in the twrp logs "Failed to mount Data"
Now if i flash Dr ketan roms it's boot loop or stick on Samsung logo
if i flash Stock rom Android pie with all 4 parts with HOME CSC i see my total phone storage 32GB and not 500GB and the phone starts but no data
I noticed before if i update my magisk from 17 for example to 19 or higher and it was not supported by Dr ketan Rom, the phone stick on Samsung logo and if i flash the same magisk again the phone starts OK without issue
I didn't use the CSC file till now to avoid deleting my data
i tried some android recovery software such as dr.fone and FonePaw for Android and FoneLab for Android but they all don't have Galaxy note 9, the maximum they have old versions Galaxy note 4 or Samsung s7 and also they require root to read the files if the phone is working, and i tried others but without luck!
******FINAL UPDATES!
i changed files system to Ext2 and formatted data through twrp and changed them again to Ext4 and
formatted my phone several times but without luck no files !!
*****I think my data now are overwritten and now i'm looking for overwritten data recovery experts or strong overwritten data recovery software.
What is important for me my data and I'm sure some experts or programmers or genius people such as Dr Ketan or others can recover my data
I have more than 200 GB Data and i want them very important!!!!! , can someone please help me recover all my data and guide me step by step because i need my phone immediately.
I hope Dr ketan you and the experts can recover my data
If there are software able to recover my data cost $1,000,000 USD - $2,000,000 USD (1 MILLION USD - 2 MILLION USD) i'll buy them but i want my data back and i don't know any software.
Thanks for you @dr.ketan for your quick support and for any one can recover my data!
He is trolling you I think. But if you have that kind of cash laying around take it to a shop, they will be able to help you. They could remove the inbuilt memory device and mount it on some computer and extract the data.
vishnu vijay said:
He is trolling you I think. But if you have that kind of cash laying around take it to a shop, they will be able to help you. They could remove the inbuilt memory device and mount it on some computer and extract the data.
Click to expand...
Click to collapse
We don't have this shop and if you are expert in this field pm me directly.
I'm looking for experts and software similar to what you said.
Thanks
While I do belive you that you have the described issues, please clean up the OP. It is really hard to follow your thoughts.
I see little hope for you to recovery the data using some kind of data recovery software, as your phone doesn't boot and you wiped it multiple times.
Due to that, you will most likely have to do what vishnu vijay said. If there is no data recovery shop near you, you will have to send it to one. Sadly, it won't be cheap and there is no guarantee they will be successful.
Remember, the more you alter your phone's memory, the lower the chance of recovering your data.
Vanavline said:
Can someone recover my all data immediately through any method??
I have Samsung Note 9 Model N960F 500 GB Android 9 Dr Ketan Rom Version 15 PIE, everything was fine suddenly someone noticed my EDxposed was old and told me to update it because i can't create Snapchat account
then i downloaded the new apk version and flashed 2 files with Magisk one is Riru i guess i don't remember and the second one under Alpha menu contains YAfa something, and then i restarted the phone and it was stick on Samsung logo
like always if i have any issue i flash Dr ketan rom again over the old one and issues gone but this time No, I'm stick with Samsung logo
I tried to go back to Dr ketan rom PIE from version 15 to 13 and 11 and to Stock ROM android Oreo 7 and to Dr ketan android 10 ROM_Q02 but i face always one of these issues
1- stick on Samsung logo or 2- boot loop or 3- Message says "Verification Failed unable to restart your device. The integrity verification has failed, you need to reset your device to factory default settings, This will erase all your data. But i skipped this because i don't want to lose my data!
i tried to flash the stock rom with Ap file only then the phone starts as new but i didn't see my data and i saw the total storage of my phone is 32 GB and this is wrong. My total storage and my phone is 500 GB
From twrp i tried to open the internal storage and always it's empty now and before. it says 0 size even before this issue was 0 Size.
i tried from twrp to do wipe factory reset without internal storage but issue still the same.
i tried to wipe system, data, Cache, Davlik and also the same issue
i flashed some files also such as Magisk unistaller, ed exposed unistaller and magisk unimod but no luck
After each operation if i flash dr ketan rom now and finish i see in the twrp logs "Failed to mount Data"
Now if i flash Dr ketan roms it's boot loop or stick on Samsung logo
if i flash Stock rom Android pie with all 4 parts with HOME CSC i see my total phone storage 32GB and not 500GB and the phone starts but no data
I noticed before if i update my magisk from 17 for example to 19 or higher and it was not supported by Dr ketan Rom, the phone stick on Samsung logo and if i flash the same magisk again the phone starts OK without issue
I didn't use the CSC file till now to avoid deleting my data
i tried some android recovery software such as dr.fone and FonePaw for Android and FoneLab for Android but they all don't have Galaxy note 9, the maximum they have old versions Galaxy note 4 or Samsung s7 and also they require root to read the files if the phone is working, and i tried others but without luck!
******FINAL UPDATES!
i changed files system to Ext2 and formatted data through twrp and changed them again to Ext4 and
formatted my phone several times but without luck no files !!
*****I think my data now are overwritten and now i'm looking for overwritten data recovery experts or strong overwritten data recovery software.
What is important for me my data and I'm sure some experts or programmers or genius people such as Dr Ketan or others can recover my data
I have more than 200 GB Data and i want them very important!!!!! , can someone please help me recover all my data and guide me step by step because i need my phone immediately.
I hope Dr ketan you and the experts can recover my data
Thanks for you @dr.ketan for your quick support and for any one can recover my data!
Click to expand...
Click to collapse
I think @Gloim is right your data is lost you formate data few times i told you if you want to recover you should in No way formate data now you got formate several times and with different formates your data are lost i don't even think a data recovery shop can do something for you at this time there is a very very little chance to get a few files recover by a data recovery shop but i think it will a mess of money feel sorry for you before that point now i am really sure i could help you but now even my skills are at the end sry dude
vishnu vijay said:
He is trolling you I think. But if you have that kind of cash laying around take it to a shop, they will be able to help you. They could remove the inbuilt memory device and mount it on some computer and extract the data.
Click to expand...
Click to collapse
Why we should remove the inbuilt memory device and mount it on some computer to extract the data? Why we can't do this directly from phone and pc with software???
Vanavline said:
Why we should remove the inbuilt memory device and mount it on some computer to extract the data? Why we can't do this directly from phone and pc with software???
Click to expand...
Click to collapse
Because it gives you better access to the memory.
vishnu vijay said:
He is trolling you I think. But if you have that kind of cash laying around take it to a shop, they will be able to help you. They could remove the inbuilt memory device and mount it on some computer and extract the data.
Click to expand...
Click to collapse
aljoscha81 said:
I think @Gloim is right your data is lost you formate data few times i told you if you want to recover you should in No way formate data now you got formate several times and with different formates your data are lost i don't even think a data recovery shop can do something for you at this time there is a very very little chance to get a few files recover by a data recovery shop but i think it will a mess of money feel sorry for you before that point now i am really sure i could help you but now even my skills are at the end sry dude
Click to expand...
Click to collapse
There must be solutions and software for this , search if you find something let me know and pm me
Thank you
-gloim- said:
While I do belive you that you have the described issues, please clean up the OP. It is really hard to follow your thoughts.
I see little hope for you to recovery the data using some kind of data recovery software, as your phone doesn't boot and you wiped it multiple times.
Due to that, you will most likely have to do what vishnu vijay said. If there is no data recovery shop near you, you will have to send it to one. Sadly, it won't be cheap and there is no guarantee they will be successful.
Remember, the more you alter your phone's memory, the lower the chance of recovering your data.
Click to expand...
Click to collapse
First Thanks for your hope
1-"the more you alter your phone's memory, the lower the chance of recovering your data" What you mean and what you mean by alter give me example
2-Second if you know any software or solutions let me know, also in Germany there are big companies i'm sure they have strong software to recover the data.
3- Why Data recovery tools read memory better and how? arent they the same. explain more if you know
Thanks for your letters
If there are software able to recover my data cost $1,000,000 USD - $2,000,000 USD (1 MILLION USD - 2 MILLION USD) i'll buy them but i want my data back and i don't know any software.
Dude, throwing around bogus amounts of money won't solve your problems
You actually seem to have the issues you are describing, at least thats what I took away from going through your posts. So, why do you want to get banned?
Vanavline said:
If there are software able to recover my data cost $1,000,000 USD - $2,000,000 USD (1 MILLION USD - 2 MILLION USD) i'll buy them but i want my data back and i don't know any software.
Click to expand...
Click to collapse
Is your internal memory still 32gb?
-gloim- said:
Because it gives you better access to the memory.
Click to expand...
Click to collapse
1-"the more you alter your phone's memory, the lower the chance of recovering your data" What you mean and what you mean by alter give me example
2-Second if you know any software or solutions let me know, also in Germany there are big companies i'm sure they have strong software to recover the data.
3- Why Data recovery tools read memory better and how? arent they the same. explain more if you know
waiting to answer my 3 questions!
Thank you again
aljoscha81 said:
Is your internal memory still 32gb?
Click to expand...
Click to collapse
Hi aljoscha81,
Now it's 500 GB because i formatted my phone as written in the final updates.
Vanavline said:
Hi aljoscha81,
Now it's 500 GB because i formatted my phone as written in the final updates.
Click to expand...
Click to collapse
Then i am sure it is to late your files are lost sry now only a professional data rescue team can help you sry
aljoscha81 said:
Then i am sure it is to late your files are lost sry now only a professional data rescue team can help you sry
Click to expand...
Click to collapse
Ok I'm waiting for them and search if you find solutions also there will be reward for you.
This is Important!!
Important PLZ. I want the genius people and there will be very huge reward for recovering my Files!

Data partition stuck in encryption after custom rom install

I´ve tried to find any specific info on the subject for this phone but found none.
Maybe someone can help.
All was good on my phone when using Havoc custom rom. Yesterday I tested an android 11 custom rom on the device but decided to go back to 10. Orange Fox recovery restore gets stuck in the boot process. When using TWRP it can´t acess Data partition, so I´m unable to make any backups of data partition with it.
I´ve tried two diferent versions of either, and on TWRP after formating data the partition is once again acessible, but as soon as I flash a custom rom (tried two diferent one´s), boot to it and then reboot to recovery the Data partition is once again unacessible (encrypted) showing "0 MB".
Orange Fox recovery allows to access the data partition and so allows for backups to be created, but the restore process always ends up suck at boot (odly enough when enabling MTP on Orange Fox and connecting the phone to my Windows 10 machine two internal storage partitions appear in Explorer along side the SDCard one - all with the same content exactly). Something weird is going on here.
I´ve tried the steps on this post regarding DM verify (I do not know if it has got something to do with it) but it did not work (the fstab file already shows decryption on its entries):
[Deprecated] Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [11/2/2020]
Hi all! For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch...
forum.xda-developers.com
Has anyone had similar problems or knows what might be going on on my device?
Is the internal flash memory going bad maybe? I´m at a dead end here.
Apreciate any idea.
Thank you.

How to flash official stock rom after an older stock rooted rom

Hello I have a rooted phone with official miui12 rom.
TWRP is flashed but I can also run TWRP using adb.
How can I flash the New miui13 stock version ? Do I use the official Xiaomi flash tool? Or do I use TWRP to flash the stock rom?
iostrym said:
Hello I have a rooted phone with official miui12 rom.
TWRP is flashed but I can also run TWRP using adb.
How can I flash the New miui13 stock version ? Do I use the official Xiaomi flash tool? Or do I use TWRP to flash the stock rom?
Click to expand...
Click to collapse
Through fastboot, you should use the fastboot ROM, and through TWRP, you should use the recovery ROM.
Thanks. A preferred option ?
Using TWRP do I need to erase stuff before or can I install directly the rom and this is all ?
I guess that recovery room is not the one provided officially by Xiaomi, right ? It the same but packaged a different way ?
Do you know if SD card will be erased during the stock rom flashing process ?
I see on official Xiaomi site that official rom is quite old. Miui11 version so I guess I will need to perform a lot of OTA update... Can I trust recovery rom provided on other websites to have the latest stock rom version ?
iostrym said:
Thanks. A preferred option ?
Using TWRP do I need to erase stuff before or can I install directly the rom and this is all ?
Click to expand...
Click to collapse
Normally, you don't need to erase data, as they just update without erase per se.
iostrym said:
I guess that recovery room is not the one provided officially by Xiaomi, right ? It the same but packaged a different way ?
Click to expand...
Click to collapse
As I said you, there are two official versions, the fastboot and the recovery ROM.
iostrym said:
Do you know if SD card will be erased during the stock rom flashing process ?
Click to expand...
Click to collapse
No.
iostrym said:
I see on official Xiaomi site that official rom is quite old. Miui11 version so I guess I will need to perform a lot of OTA update... Can I trust recovery rom provided on other websites to have the latest stock rom version ?
Click to expand...
Click to collapse
The OTA updates come, either in form of fastboot or recovery ROM, when Xiaomi provides an update, you will, also, find the minimal OTA package, yet included in the whole ROM.
In this site, you will find the most up-to-date releases https://xiaomifirmwareupdater.com/archive/miui/joyeuse/
thanks. I would like to be sure that my flashed TWRP will be erased during the process, will both flashing process (fastboot or TWRP) erase all my phone and put in a new "clean" state ? (except maybe for sdcard content)
iostrym said:
thanks. I would like to be sure that my flashed TWRP will be erased during the process, will both flashing process (fastboot or TWRP) erase all my phone and put in a new "clean" state ? (except maybe for sdcard content)
Click to expand...
Click to collapse
Nope, both the processes, don't wipe per se, either through recovery or fastboot, in the Mi Flash tool, there is an option to format data, if you like it, if not, it remains un-ticked.
Sorry to insist but what are you calling 'data' ? Is it the SD card content (I don't think so) or is it the data partition on my internal memory ? So it could be :
Photo taken in internal memory
Data stored by apps like photo from WhatsApp or stuff like that ?
Temp file of each app like settings of app, etc.
Would it be a problem if I erase all my phone and loose all my apps but data off app are still there, it will take space for nothing right ?
What about flashed TWRP? will it be removed by the flashing process ? I think TWRP is flashed in recovery partition but not sure.
As you see I'm not familiar with android partition even if I did several times this kind of process with different phones.
iostrym said:
Sorry to insist but what are you calling 'data' ? Is it the SD card content (I don't think so) or is it the data partition on my internal memory ? So it could be :
Photo taken in internal memory
Data stored by apps like photo from WhatsApp or stuff like that ?
Temp file of each app like settings of app, etc.
Would it be a problem if I erase all my phone and loose all my apps but data off app are still there, it will take space for nothing right ?
What about flashed TWRP? will it be removed by the flashing process ? I think TWRP is flashed in recovery partition but not sure.
As you see I'm not familiar with android partition even if I did several times this kind of process with different phones.
Click to expand...
Click to collapse
Not exactly what I call data, but, what data means in Android World.
Formatting data, it's deleted all the data from apps stored in /data partition, all the data regards settings, all the apps installed by the user, general configurations and all the data stored in internal storage, also the system apps uninstalled by the user can come again.
As per the SD Card, if you have one inside, it is not touched in the process.
If you flash the recovery ROM using TWRP, it won't be overwritten, if you flash the fastboot ROM, you'll lose the access to TWRP.
Thanks. Tell me if I'm wrong but if a choose to flash stock miui 13 version whereas I'm currently in miui12 I should maybe erase data also ? Maybe apps won't works again from 12 to 13 version ? I should be cleaner to reinstall them again don't you think ?
About fastboot stock rom isn't it strange that the official website provides only miui 11 rom whereas your site has miui13 version? How is it possible ? For recovery rom I understand because people can backup their phone and could create a recovery rom like this with miui13 after doing the ota. But for the fastboot rom, if Xiaomi don't provides it and provides only miui11 one, where does the miui13 come from ?
iostrym said:
Thanks. Tell me if I'm wrong but if a choose to flash stock miui 13 version whereas I'm currently in miui12 I should maybe erase data also ? Maybe apps won't works again from 12 to 13 version ? I should be cleaner to reinstall them again don't you think ?
Click to expand...
Click to collapse
It would work even if you don't erase data, but, I personally prefer erasing it, to avoid some lags/bugs in the future.
iostrym said:
About fastboot stock rom isn't it strange that the official website provides only miui 11 rom whereas your site has miui13 version? How is it possible ? For recovery rom I understand because people can backup their phone and could create a recovery rom like this with miui13 after doing the ota. But for the fastboot rom, if Xiaomi don't provides it and provides only miui11 one, where does the miui13 come from ?
Click to expand...
Click to collapse
Firstly, be sure that your device is Joyeuse.
All the updates, either recovery and fastboot ROM, are provided by Miui, all of them are official updates, not uploaded from users´ devices.
It's A12, not A13, I don't think your device see the light on A13.
Yes android 13. But miui 13 comes with android 12 and my current os is miui12 that comes with android11. (If I'm correct).
I have Redmi note 9 pro, M2003J6B2G (photo is 64M). I don't know where Curtana or joyeuse word can be really found in my phone but after some readings I had the feeling that M2003J6B2G = joyeuse version.
iostrym said:
Yes android 13. But miui 13 comes with android 12 and my current os is miui12 that comes with android11. (If I'm correct).
Click to expand...
Click to collapse
Xiaomi also could update the Miui version, so Miui 13 came with Android 11 for some devices, don't stay there, just check the Android version that is specified in a tab, at the download list.
iostrym said:
I have Redmi note 9 pro, M2003J6B2G (photo is 64M). I don't know where Curtana or joyeuse word can be really found in my phone but after some readings I had the feeling that M2003J6B2G = joyeuse version.
Click to expand...
Click to collapse
There are some apps like Device Info and other similar, from Play Store that can tell you, exactly, which your model is, Anyway, Redmi Note 9 Pro is Joyeuse but, be sure, before to proceed, consult some app like the mentioned.
SubwayChamp said:
Xiaomi also could update the Miui version, so Miui 13 came with Android 11 for some devices, don't stay there, just check the Android version that is specified in a tab, at the download list.
There are some apps like Device Info and other similar, from Play Store that can tell you, exactly, which your model is, Anyway, Redmi Note 9 Pro is Joyeuse but, be sure, before to proceed, consult some app like the mentioned.
Click to expand...
Click to collapse
Cpu-z indicate joyeuse-eea. Should be good.
Ok so I will delete the data partition and I will use fastboot flash using Xiaomi tool. I'm not sure to understand your answer about the SD card. Will it be erased during the process ? I know that sdcard are now crypted so that they could be used only by my phone. If the os is modified, maybe I won't be able to read it even if it is not formated. Don't you think ?
iostrym said:
Cpu-z indicate joyeuse-eea. Should be good.
Click to expand...
Click to collapse
Good, then it is the european version.
iostrym said:
Ok so I will delete the data partition and I will use fastboot flash using Xiaomi tool. I'm not sure to understand your answer about the SD card. Will it be erased during the process ? I know that sdcard are now crypted so that they could be used only by my phone. If the os is modified, maybe I won't be able to read it even if it is not formated. Don't you think ?
Click to expand...
Click to collapse
Just to not confuse, sdcard is the internal memory, that is symlinked as /data/media/0, all the internal memory is gone when we format data, some folders are recreated at the first boot, after performing it.
SD Card refers to Secure Digital card, that is an external media storage, it is absolutely excluded to any operation from Android, when flashing, updating the system or formatting data, of course, you should consider that some apps like camera can store its pictures there, previous authorization from user, but they will stay there yet, and some folder can be created too, at the first boot, but nothing that harms.
Just to know, sdcard as internal memory is not encrypted at all, it's accessible for any user, always, that can bypass the locking feature of the choice of the user, i.e. PIN, pattern, etc.
Thanks I didn't know that sdcard and SD card weren't the same. My concern is about external memory card (SD card). If not formated. I'm afraid that it couldn't be used after reboot. Except if the decryption key is linked to my phone (hardware) and not the software part (os) of my phone
iostrym said:
Thanks I didn't know that sdcard and SD card weren't the same. My concern is about external memory card (SD card). If not formated. I'm afraid that it couldn't be used after reboot. Except if the decryption key is linked to my phone (hardware) and not the software part (os) of my phone
Click to expand...
Click to collapse
The encryption is permanent since A6, it remains, at least, you can do something about it, using a custom recovery, a custom module, script, or something, nothing that the end user can worry about, for the normal use of the device.
Trying to guess, you did encrypt your SD card, then the encryption key is linked, only to your SD card, the SD card, specially, in newer Android versions, is treated as a privacy media user concern, so every time more, apps can't access to, as easy as the older times, it is RO by default.
Sorry I have difficulties to read and understand your last message as my English is bad.
Especially the second part... I don't encrypt anything myself. I just now that recent version of Android encrypt the sdcard and it couldn't be used in a computer for instance or another phone. So I think that maybe after new rom flashed. SD card won't be read or write from the phone and I will have to format it myself so that I can read it from my phone. Correct ?
iostrym said:
Sorry I have difficulties to read and understand your last message as my English is bad.
Click to expand...
Click to collapse
Probably my English is worse than yours.
iostrym said:
Especially the second part... I don't encrypt anything myself. I just now that recent version of Android encrypt the sdcard and it couldn't be used in a computer for instance or another phone. So I think that maybe after new rom flashed. SD card won't be read or write from the phone and I will have to format it myself so that I can read it from my phone. Correct ?
Click to expand...
Click to collapse
You are again mixing the terms, in the first part, you're saying "...recent version of Android encrypt the sdcard" and linking to the second part, you're saying "...after new rom flashed. SD card won't be read or write"
As I said to you previously /sdcard AKA internal storage is not encrypted at all, at any time, the fact that you need to authorize the MTP connection within your device and a PC, doesn't change that, if you or anyone else, have access to the Android interface, then you or anyone else, can see all the data/files/pictures/audio/video stored, in the internal storage, by using a file manager app, or a specific app for every file instance/format, i.e. a music player for videos/sounds/musics, a gallery app for pictures/images, and so on.
As per the SD card, the same, if the user (you, in this case), didn't encrypt it, then, Android, also, doesn't encrypt it, so you and anyone else, can access to the data stored in it, either during the OS functioning normally, and/or after the flashing/formatting process.

Categories

Resources