Diskussion / Ports / Custom Recoverys for Shift 6mq

My brain is faulty and overburdened, sometimes it just does not work as it should because it has not had a break for many many years. So bear with me! ;)
I understood it as it was possible, I was not totally sure... Thereby I asked! No wrong in asking a Question if one is in doubt.
I am sorry I would like to but you really give me a hard time trying to bear with you.

Everbody can ask questions but I think this guide is excellent and clearly states what is possible and what is not.

One the one hand you tell us your brain is faulty and overburdenend. One the other hand you take your time to write your essays here. Maybe it is a good idea to spend it on reading and informing yourself before instead.

If this is not possible then why don't you try to take a break from time to time to come to rest?

I really hope you are considering this friendly advice but I am stopping here now as we are drifting way to far off topic.
 
@danielp

I thought we where here to help each other, that is what we usually do on forums. If you feel differently and have another opinion on that, well I guess it is your prerogative. But I am here to learn and to share whatever I find out to help others. And when in doubt, I ask! A child should not be taken the gift of asking from them, just because someone thinks it is foolish - that is how we learn and grow. If you stop the child from asking, making it think it is wrong and foolish to ask questions, the learning stops and wisdom is replaced with a hole of ignorance.
 
  • Sad
Reaktionen: blackcat und danielp
as a heads up, i finally found some time to (somewhat) clean up the kernel code our hardware partners provided us.


It is subject to change (if final will push to sos-3.x branch) but you should not need to rely on prebuilt kernel images anymore.
 
Wow, das kommt mir jetzt wie ein Ritterschlag vor 😉.
Auch wenn ich noch nicht genau weiß, welchen Nutzen mir der Sourcecode ermöglicht bin ich doch motiviert genau das rauszufinden 🤔😂.
Thx
_____
Wow, for me it seems i'm knighted 😉.
Even if I don't know exactly what benefits this sourcecode will give me, I'm motivated to find out 🤔😂.
Thx
 
Ein flashen von bspw. OpenGApps Pico ist nicht möglich, da zu wenig Speicher auf /system bemängelt wird.

Vermutlich liegt das an den Mount Problemen von bspw. /data

Oder könnt ihr per TWRP etwas flashen?
 
Mit Android 10 A/B Geräten ist es nicht mehr möglich System als read/write zu mounten. Es wird nur noch als read gemountet, somit fällt auch die Möglichkeit des beschreibens weg. Das hängt damit zusammen, dass die Partition /System keine eigenständig Partition mehr ist (was sie in der Vergangenheit mal war) sondern jetzt vereinfacht gesagt einen "virtuelle" Partition innerhalb der Partition /Super ist.
Deswegen wird zumeist empfohlen, Daten die auf /System liegen sollen ebenfalls virtuell nach dem Systemstart mit Magisk in /System zu mounten.
Sorry, das sind Google-Limitierungen, denke da kann man wenig machen 🤷🏼‍♂️
Greetz
 
Zuletzt bearbeitet:
  • Like
Reaktionen: Uli und Martin S.
Scheint dann nur bei Android 10 Pre Installed zu sein, bei älteren mit Android 10/LOS 17.x ist es noch nicht so.

Wie kann man dann bspw. OpenGApps flashen?

Auf Super kann/sollte man ja auch nicht flashen.

Vielen Dank!

Viele Grüße

Revan335
 

Da spricht auch einer von Problemen bei A/B, da mein Verständnis von diesem neuen System nicht ausreichend ist, kann ich nicht sagen ob es das gleiche ist, aber der Error Code ist der selbe.

Scheinbar wurde es gelöst ohne das ich die Lösung erkennen kann.
 
Mit Android 10 A/B Geräten ist es nicht mehr möglich System als read/write zu mounten. Es wird nur noch als read gemountet, somit fällt auch die Möglichkeit des beschreibens weg. Das hängt damit zusammen, dass die Partition /System keine eigenständig Partition mehr ist (was sie in der Vergangenheit mal war) sondern jetzt vereinfacht gesagt einen "virtuelle" Partition innerhalb der Partition /Super ist.
Deswegen wird zumeist empfohlen, Daten die auf /System liegen sollen ebenfalls virtuell nach dem Systemstart mit Magisk in /System zu mounten.
Sorry, das sind Google-Limitierungen, denke da kann man wenig machen 🤷🏼‍♂️
Greetz
Ich denke eher es liegt daran, dass die TWRP Version, die du portiert hast, das nicht kann?

TWRP sollte mittlerweile "Dynamic Partitions" verstehen und somit /system, /product und /vendor mounten sowie modifizieren können.
 
Das kann natürlich auch sein 🤔.
Ist komplettes Neuland für mich.
Ging in meiner Annahme von den meisten Resümes auf XDA anderer inoffizieller Ports aus, in denen die selben bis ähnliche Probleme im Bezug auf Partition Mount oder decrypt geschildert werden.

Ist leider aktuell auch ein Port, der (aus Unwissenheit) ein bestehendes TWRP als Grundlage verwendet.

Der Plan ist ein eigener Port aus Sourcecode, da fehlt mir aktuell die Zeit und das Verständnis.

Schauen wir mal, was die Zukunft bringt, wenn die Belastung wieder geringer ist.
Bis dahin hab ich mich hoffentlich in die Grundlagen des selbstkompilierens eingearbeitet.

Eine aktuelle Notwendigkeit hierfür besteht Imho aber nicht. Denke es dauert noch ein bisschen mit den ersten Custom-Roms.
Bis dahin habe ich mich entweder so weit eingearbeitet, dass es läuft oder das Teil als Proof-of-Concept komplett begraben 😔.
Greetz
 
Zuletzt bearbeitet:
  • Like
Reaktionen: Martin S.
Die ersten CustomROMs vielleicht, dennoch wäre eine Möglichkeit des kompletten Backups seines Gerätes sehr hilfreich.

Das würde Sinn machen, du hattest ein Pixel genommen?
Vielleicht hat dieses noch kein A/B gehabt und deshalb TWRP trotz Android 10 Fassung auch nicht.
 
Hab's mit verschiedenen TWRP von Android 10 Geräten probiert. Das Pixel 4 war das einzige, welches die Super-Partition überhaupt erkannt hat.
Hat A/B, allerdings hatte es Android 10 nicht von Anfang an aus. Wurde glaube ich mit Android 9 ausgeliefert. Das könnte einer der Gründe sein.
Welches GApps-Paket nutzt du denn?
Ich würde zwar weiterhin empfehlen auf ShiftOS-G zu wechseln aber einer der Ansätze deines letzten Posts war, dass das Recovery unter /system_root mountet und das Gapps vll deswegen nicht geht, weil es unter /system installieren will. Hab auch schon Probiert im TWRP unter /System zu mounten, das geht aber nicht. Vll lässt sich das im GApps-Paket ändern 🤷🏼‍♂️.
Greetz
 
  • Like
Reaktionen: Martin S.
Du siehst, ich bin hart am Arbeiten mein rudimentäres Wissen stetig zu erweitern. Es hat gereicht ein TWRP zu basteln,mit dem ich ein Boot-Image extrahieren kann...alles andere war Zufall.

Aber das Angebot nehme ich gerne an 👍🏻.
Ich schaue die Tage mal, was ich überhaupt brauche und setze mein Linux neu auf, hab da ein paar ungelöste Abhängigkeitsprobleme und dann würde ich drauf zurückgreifen 🙌🏻 #motivationsboost
Greetz
 
Zuletzt bearbeitet:
  • Like
  • Love
Reaktionen: Martin S. und Uli
Okay, ich bekomme das Paket auch nicht hin.
Falls du auf deinem Gerät Root mit Magisk hättest könntest du das Paket hier installieren. Da sind wohl die Gapps als Magisk drin:
Litegapps. Alternativ hilft aktuell wohl nur umsteigen auf ShiftOS-G.
Greetz
 
Hallo @Lhotze. Bei mir läuft auf dem 6mq OS-L 3.1 vom 26.2.21 root mit magisk und ich komme gut ohne microG aus.
Kann ich dein TWRP dann so übernehmen?
 
Hallo Uli,

die Test und Kritiken verschiedener Leute, die das TWRP probiert haben zeigen, dass das weit davon entfernt ist, für das 6mq funktionabel zu sein.

Bspw können keine Zips installiert werden, die A/B Partitionen werden nicht erkannt und Geräteverschlüsselung geht auch nicht.
Aktuell ist das Ding leider nur funktionabel um bspw Partitionen wie Boot oder Recovery zu sichern/ zu flashen um hier bspw einen Magisk-Patch einzuspielen oder das Stock-Recovery zu ändern.
Würde also eine Installation der hier im Original-Post angehängten TWRP-Datei aktuell nicht empfehlen.

Imho kommt man langfristig um eine eigene Kompilierung nicht herum.
Ich arbeite mich ein, aber das dauert.
Bekomme so das ein- oder andere noch nicht hin.

Im Video unten sind meine Ergebnisse so weit... Es startet was und das TWRP-Logo blitzt auf. War aber bisher nicht fähig was bootendes zu kompilieren.
Greetz

_____
Hello Uli,

the tests and reviews of various people who have tried the TWRP show that it is far from being functional for the 6mq.

For example, no zips can be installed, the A/B partitions are not recognized and device encryption does not work either.
Unfortunately, the thing is currently only functional to save / flash partitions such as boot or recovery, for example, to install a Magisk patch or to change the stock recovery.
i would currently not recommend installing the TWRP file attached here in the original post.

Imho we can't avoid compiling our own in the long run.
I'm getting used to it, but it takes time.
I can't get one or the other there yet, some problems (technicalliy and in understandment) still occur.

In the video below, my results are so far ... Something starts and the TWRP logo flashes. But was not able to compile what booted up to now.
Greetz
 

Anhänge

  • 2705-079a3988fbb984767dab08f48016976b.mp4
    2,8 MB
Zuletzt bearbeitet:
  • Like
Reaktionen: Ene und Martin S.
Hallo Uli,

die Test und Kritiken verschiedener Leute, die das TWRP probiert haben zeigen, dass das weit davon entfernt ist, für das 6mq funktionabel zu sein.

Bspw können keine Zips installiert werden, die A/B Partitionen werden nicht erkannt und Geräteverschlüsselung geht auch nicht.
Aktuell ist das Ding leider nur funktionabel um bspw Partitionen wie Boot oder Recovery zu sichern/ zu flashen um hier bspw einen Magisk-Patch einzuspielen oder das Stock-Recovery zu ändern.

Imho kommt man langfristig um eine eigene Kompilierung nicht herum.
Ich arbeite mich ein, aber das dauert.
Bekomme so das ein- oder andere noch nicht hin.

Das sind meine Ergebnisse so weit...
Würde also eine Installation der hier angehängten Datei aktuell nicht empfehlen.
Greetz
Vielen Dank für die ehrliche Antwort. Dann warte ich geduldig bis @amartinz mal nen flow hat:)
Wenn ich mir das recovery zerschieße bin ich nicht erfahren genug um mir selbst zu helfen. Das muss dann nicht sein. Danke(y)
Uli
 
Wenn ich mir das recovery zerschieße bin ich nicht erfahren genug um mir selbst zu helfen.
Großartig viel zerschießen kannst du da nicht...schlimmstenfalls wirst du nicht mehr ins RECOVERY booten können, dann kannste über BOOTLOADER die recovery.img per fastboot flash recovery recovery.img wieder neu flashen.

Wenn du die Boot-Partition zerschießt (SYSTEM wird nicht mehr gebootet oder es wird nur ins RECOVERY gebootet), dann gilt das gleiche Prinzip, nur halt mit der boot.img
- fastboot flash boot boot.img

Solange man sich nicht soweit hineinwagt wie ich es tat, kann eigentlich nichts schlimmes passieren...und selbst das habe ich auch wieder hingebogen :D
 
Zuletzt bearbeitet:
Hmmm, I have a problem, my mobile crashed overall ... And trying to get my data ...
This is just horrible ..... Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device ...

Now because Android sucks, much of my data is in the internal storage ... So ... just great ...

The mobile was running pretty stable without any issues, the L version although the new L version had some other problems. But it did run stable until this happened ... I'm so sick and tired of this tinkering and toying around with things. And now my data might be totally lost, Android is by design just a failure on so many levels.

I'm back on my old mobile for the moment, or reserve mobile once again - my LG V20.
So what seem to be a dead pixel issue with the screen after replacement of the one did crashed after the first small drop.

Hmmm, I wonder if I can get my data back or if it is lost.

Question, do you guys have access to adb shell ls sdcard from TWRP? Sadly I can not seem to see anything.
You know of any other way of getting access to adb???
I don't have access to the system at all - just give me a, your data may be corrupt... as writting above. Gives me 2 options, try again or factory data reset.

Smartphones can be timekillers... yea, mostly because they crash on you all the time and you have to sort things out, if even possible. Like the idea of having lost all that data, and all that time I did to setting my 100 apps up again on it.
 
If you tinker around with it, there is of course the option to break things.

What have you done so we can figure out what led to the crash and if there is a possibility to fix it?
 
  • Like
Reaktionen: Darkijah
If you tinker around with it, there is of course the option to break things.

What have you done so we can figure out what led to the crash and if there is a possibility to fix it?
Sure enough, I was having the lastest L version after I got my screen replaced after it broke. Went to install all my apps, and it was running pretty good no stability issues at all. So mostly I was just playing a worldly game of car racing to test the mobile out for daily use and it was doing good.
All of the sudden the last time it was running it became unnatural hot so after some time, I restarted it and ran into the error message of my data being corrupted.
The only thing I can think about that I might have done, was to fix something in regards of busybox, overall the L version is rooted and all of cause with Magisk.

You know of any way I can get my data? At least that would save my Music Sheet work on the device. Sucks that it does not save it on the memory card - but I guess we can all thank Google for that malice.

I have tried to enter TWRP without installing it, just running it from Fastboot. It did run after second try, but I cannot see the sdcard folder sadly. Any other way of getting access to ADB outside Android?

I guess the TWRP we have for now might not be able to give access to the sdcard, by standard, I don't know? But at least I can't see anything in the folder.

If I can get into some ADB that does work with the sdcard I could download all the files to my computer - any suggestions? I sadly don't think you can do anything with fastboot as far as I know...

Trying to read and get some data to make an informed choice... But... Does the sideload not delete everything?... I can't recall it still saving my data when I did it in the past although my memory is faint on things. Well if I can just sideload the newer google version updating it from the L, then that would be fine with me as long as it keeps my data. The question is, would it just update the system and keep my data....

Here is another on the ADB sideload... I do wonder if it could solve my issue, just not experienced enough to know the outcome. I don't recall sideloading remembering my data on the phone when doing it, but maybe it does. I guess I have 2 options of the sideloading, the L version or the G version. And then hope it works, any thoughts out there on it?

*1 Apparently the admin thought it was evil to quote from another forum - so both of the quotes was removed regarding it... I have no idea why that would be a problem. Trying to solve my issue and get help and provide as much info as I can for others. You know, getting censored a lot here - I don't know of any other forum that would have had a problem with quoting something from another source. I think it is ridiculous...
 
Zuletzt bearbeitet:
Sideload does not delete anything. It works like the "Local update" feature of the OTA app.
You will lose root and all other modifications, but it will not touch your data partition.

If you are on ShiftOS-L Stable (SOS.3.1.L.20210226) you can download the FULL-OTA zip here and install via adb sideload.
If you are on ShiftOS-L Beta, you can download the FULL-OTA of the Beta channel here and install via adb sideload.
 
Gives me 2 options, try again or factory data reset.
Familiar Problem for my.
Your device changed Boot Slots and the other Slot has integrity Problems or something.
Now Recovery wants you to delete everything.
During that error you cannot Flash a new System through ADB-Sideload till you wiped everything.

Don't do it.

Try to change Boot-Slot from Fastboot.
It might help 😉.
 
Zuletzt bearbeitet:
  • Like
Reaktionen: Darkijah
Thanks both of you in regards of the suggestions. Would be awesome if the change boot slot from Fastboot would work. I guess it could not hurt, hopefully, to try it out first.
I think I was running the Stable Light version, 3.1 - Hopefully... I can restore things, at least there is a chance - and don't want to ruin it. So I have waited for some response, and 2 suggestions at least that might work.

-edit-
Okay... kinda.... worried.... It is in the loading screen, but it takes a long time.... it has not made an error yet, yet...... hopefully it is not doing something I don't want like ruining my data. It booted.... And now loading up again it shows the error again. :/ I'll try again, and then flip back to A... Sadly it did not do the trick for me it seems :(
Waiting again... Hmm, come on, come on.... Get in the system, come on! You can do it.... nope.... it restarted sadly, and sure going to come up with the message again. Yup there we go.... Suggesting a factory reset has to be the most stupid thing I have ever heard! Like really!!!

-edit-
Well, apparently it just flips back to A automatically, must be after the reboot and then entering the same nonsense thereafter of corruption. Well.... Hmmm, I will read up on the sideload and see if I dare try it out. I do wonder why TWRP would not be able to see the data, but I guess it is because it is not 100% functional yet maybe... I could try with my other mobile, just to see if it works there.

-edit-
Okay here goes hopefully something... So sideloading now - installing it at the moment. I hope it will do its thing without touching my data. I hope this will be a easy fix, I can only hope. At least I got my old mobile working yesterday as it was meant to, because of the other being broken for days. So if I can fix the new mobile it would be awesome. At least other options seems to be lost now. Although I would need to see if TWRP is actually able to do it on my LG V20 phone, to see if this would be a possibility for retrieving data. 82% is done, it is closing, will be wonderful if it works - would be amazing! Hope for the best.

Got a new "old" computer that could run windows 7, very nice as well... dusted it off and got it working - it is an old leet gaming computer, but it is nice that it is older as it can run Windows 7. Okay... the sideload is done.... the big moment I guess.... Hopefully.... Time will show... Starting up, so far so good. It seems to ave moved forward... ohhh there is my background moon!!! That's good.... Okay, this looks promising!!! OHHH YEA!!! I THINK I AM BACK IN BUSINESS, PRAISE JEHOVAH. Checking my note sheets.... Looks like it is all there... AWESOME!!! Perfect...

Have absolutely no idea why it would crash like that, it seems some of the others who have tried it on other mobiles on other forums that I have read, did not know either, just that the mobile became hot and then drowned... Seems to be a Android 10 issue overall.... Don't panic don't do anything stupid like resetting it all - just sideload the image! :)

Thanks for all the help guys - very nice... A stone lifted off my shoulder, or a bucket of stones lifted of my shoulder... I can rejoice and eat some chicken and go to bed afterwards.

Thanks again for the inputs, the mobile had been dead for near a week - so nice to be on the horse again riding!

Dearly regards
Darkijah-Anders Jehovahsøn - Denmark
 
Zuletzt bearbeitet von einem Moderator:
Von mir leider nicht.
Ich kompiliere mich in meiner seltenen freien Zeit von Fehler zu Fehler.
Habe Anfangs mit einem aus einem Recovery erstellten Device Tree gearbeitet. Der war aber sowas von Unvollständig, dass gar nichts lief. Hatte (nach etlichem Ausklammern von Abhängigkeiten) nur ein Recovery, was nicht bootete. Habe dann versucht einen Device Tree auf Grundlage eines Xiaomi MI 8 und eines Pocophone F1 nachzubilden und den zu nutzen, da beide Geräte den gleichen SOC wie das 6mq haben. Allerdings sind die nicht mit Android 10 ausgeliefert worden, was es ein bisschen schwierig macht (und die Tatsache, dass ich von sowas wenig Ahnung habe). Hatte keinen Erfolg.
Aktuell versuche ich den Nachbau eines Trees auf Grundlage eines Oneplus 6T (auch kein Android 10 Initial), da das von den Specs dem 6mq am ähnlichsten ist. Aber auch hier stoße ich aktuell aus Unwissenheit an meine Grenzen und hangel mich von Problem zu Problem...
Ist also nur noch ne Frage von Jahren 😏
Wenn ich mal Erfolgreich sein sollte seid ihr die Ersten die es mitbekommen (kenne ja auch sonst niemanden, der was mit nem TWRP für das 6mq anfangen könnte 🤷🏼‍♂️).
Greetz
 
Zuletzt bearbeitet:
As far as I recall, there is a way to backup all your data by using , oh my I have already forgotten what it is called... ADB I think it is.
There is a command to do so, if you can reach into your system, although I can't recall the command but I did it once before sending my phone back to shift when the screen broke. At least better then nothing for saving the Data, although not sure if you can restore anything like that...