Android 11 beta

B!GBOY

Senior Member
Jul 22, 2010
478
409
63
??
Twrp doesn't use that file. It can't handle dynamic partitions
Man! I'm showing you reasons why it has to be the case and you just keep saying no without any sort of proof.
well I made a test specifically to prove you wrong :p

I modified the file you said is not used and removed the partition creation part. so that it just deletes the partitions, after that I flashed the modified zip and as you see in the images below it fails and afterwards twrp complains that it cannot mount any of the partitions (because the file was used and the partitions are gone :D )
subsequently i flashed the original zip with the partition creation stuff left untouched and as you see it flashes without a problem :)

that file is called from the updater script by the way
 

Attachments

Last edited:

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
Man! I'm showing you reasons why it has to be the case and you just keep saying no without any sort of proof.
well I made a test specifically to prove you wrong :p

I modified the file you said is not used and removed the partition creation part. so that it just deletes the partitions, after that I flashed the modified zip and as you see in the images below it fails and afterwards twrp complains that it cannot mount any of the partitions (because the file was used and the partitions are gone :D )
subsequently i flashed the original zip with the partition creation stuff left untouched and as you see it flashes without a problem :)

that file is called from the updater script by the way
There's a reason we have to use the older update binary...
Guess what it is..
 

B!GBOY

Senior Member
Jul 22, 2010
478
409
63
??
Every single update for this device uses this method and what you see is from xiaomi eu not from this rom where you have to use another binary!
Feel free to deny it, i guess at this point i made it clear for everyone who wants to use logic. But i don't have infinite time to waste here.
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
Every single update for this device uses this method and what you see is from xiaomi eu not from this rom where you have to use another binary!
Feel free to deny it, i guess at this point i made it clear for everyone who wants to use logic. But i don't have infinite time to waste here.
A- you started this by asking me then not liking the answer
B - you seen ken in finding half pieces of information and running with it as a total answer.

C- because of A+B I've tried to give you clues to help you find the answers for yourself, this is ultimately the best way to learn.

But anyway I'll go back to linking releases for this Android 11 beta ROM which is what I started this thread for.
Not about twrp, although I'd like to see what is going on.

Not some ****ty hack of it - XDA don't support Xiaomi.eu and I really don't care about what they are doing. I've tried their stuff before and it's the worst kind of laziness.


Feel free to start a new thread if you want instead, rather than jumping on me and going off on a tangent when I'm trying to get to the bottom of an issue.
.

Again this is about the closed Android 11 betas from Xiaomi.
 
Last edited:

B!GBOY

Senior Member
Jul 22, 2010
478
409
63
??
A- you started this by asking me then not liking the answer
B - you seen ken in finding half pieces of information and running with it as a total answer.

C- because of A+B I've tried to give you clues to help you find the answers for yourself, this is ultimately the best way to learn.

But anyway I'll go back to linking releases for this Android 11 beta ROM which is what I started this thread for.
Not about twrp, although I'd like to see what is going on.

Not some ****ty hack of it - XDA don't support Xiaomi.eu and I really don't care about what they are doing. I've tried their stuff before and it's the worst kind of laziness.


Feel free to start a new thread if you want instead, rather than jumping on me and going off on a tangent when I'm trying to get to the bottom of an issue.
.

Again this is about the closed Android 11 betas from Xiaomi.
I didn't ask you about anything related to this matter, i replied to your post when you wrongly mentioned the mount error to be a reason why the other dude cannot flash xiaomi closed beta 11 after that you kept insisting that you know better even when i showed you references and documents so i gave all the facts and even tested what you kept repeating.

At first I thought your misleading post was based on ignorance but apparently not.

As I said before my goal was to point anyone following this thread to the correct information.
But if you have a problem with that have fun with your thread. ;)
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
I didn't ask you about anything related to this matter, i replied to your post when you wrongly mentioned the mount error to be a reason why the other dude cannot flash xiaomi closed beta 11 after that you kept insisting that you know better even when i showed you references and documents so i gave all the facts and even tested what you kept repeating.

At first I thought your misleading post was based on ignorance but apparently not.

As I said before my goal was to point anyone following this thread to the correct information.
But if you have a problem with that have fun with your thread. ;)
I think you need to look back again.

The other guy posted up a series of screen shots when I asked for logs from twrp, those screenshots showed he'd not decrypted.

Your information you've "left up", you then tried to rationalize based on flashing an Xiaomi.eu build successfully because that flashes.
Of course it flashes, it uses the older method to flash, because it is not using the latest update binary.
But because it's not using the new update binary it's not doing the dynamic setup, because that update-binary is how xiaomi set up dynamic partitions on the A11 builds.

It would be better to reverse engineer that binary to see what they are doing, from there we can have an updated twrp that can work with it.
 

Basecatcherz

Senior Member
Jul 19, 2014
72
0
0
Schwerin
try to update gsi by DSU
I tried to use DSU and Google provided this for installation
Code:
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity  \
-a android.os.image.action.START_INSTALL    \
-d file:///storage/emulated/0/Download/system_raw.gz  \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1)  \
--el KEY_USERDATA_SIZE 8589934592
But it just returns that b is no option of DU.

Do you have a working script?
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
I tried to use DSU and Google provided this for installation
Code:
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity  \
-a android.os.image.action.START_INSTALL    \
-d file:///storage/emulated/0/Download/system_raw.gz  \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1)  \
--el KEY_USERDATA_SIZE 8589934592
But it just returns that b is no option of DU.

Do you have a working script?

it didn't need a script..

Additonal settings. Developer options.

DSU Loader is there, follow it, it will download the latest image and boot it .
 

Basecatcherz

Senior Member
Jul 19, 2014
72
0
0
Schwerin
it didn't need a script..

Additonal settings. Developer options.

DSU Loader is there, follow it, it will download the latest image and boot it .
I installed Android 11 beta and loaded DSU from Developer Options.

Problem: It gives me only 8GB of storage. Thats not what I'm looking for. Is it possible to increase it?
Another Problem: DSU Loader gives me only another Android 11.

I wanna use Android 10 stable on my Mi 10 without MIUI.
 
Last edited:

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
I installed Android 11 beta and loaded DSU from Developer Options.

Problem: It gives me only 8GB of storage. Thats not what I'm looking for. Is it possible to increase it?
Another Problem: DSU Loader gives me only another Android 11.

I wanna use Android 10 stable on my Mi 10 without MIUI.
Have a look at the title of this thread...
It clearly states android 11 beta

If you want android 10 then try another thread that discusses it, there are a few, or even start your own maybe?
If you want a gsi then look at the gsi forums on xda.
if you want aosp then wait for an aosp custom rom or build one yourself.
 

Basecatcherz

Senior Member
Jul 19, 2014
72
0
0
Schwerin
Have a look at the title of this thread...
It clearly states android 11 beta

If you want android 10 then try another thread that discusses it, there are a few, or even start your own maybe?
If you want a gsi then look at the gsi forums on xda.
if you want aosp then wait for an aosp custom rom or build one yourself.
Mi 10 got the new partition layout with the "super" partition. At this time it seems to be impossible to flash a GSI.

There is even no working ROM.

That's why I tried to use DSU.
DSU in Android 10 doesn't work with Google's provided script.
DSU Loader in Android 11 doesn't give me an Android 10 GSI.
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
Mi 10 got the new partition layout with the "super" partition. At this time it seems to be impossible to flash a GSI.

There is even no working ROM.

That's why I tried to use DSU.
DSU in Android 10 doesn't work with Google's provided script.
DSU Loader in Android 11 doesn't give me an Android 10 GSI.
There are people using gsi on mi10. Not everything works, exactly the same as they don't with the dsu images, but they have it working.