Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Based ROM: Elephone_P8Mini_20170914
10/14 - UPDATED: TWRP version added
This is recommended for people that want something like more pure like AOSP, and without malware.
- Launcher changed to Next Launcher.
Ps. This is same Port ROM that i already released in japanese site at 1st October 2017 https://egg.5ch.net/test/read.cgi/smartphone/1504178568/208-209
TWRP version:
- Download link: https://mega.nz/#!iRkxALgJ!kuIwBusd_F_TqYj93CmzY03Z67NhDDrjN_8tJGMqOtk
- Install TWRP (real source link https://4pda.ru/forum/index.php?s=&showtopic=847735&view=findpost&p=65694030) You can download too in https://androidfilehost.com/?fid=673791459329051837
- Boot to TWRP
- Wipe Dalvik / ART Cache
- Wipe System
- Wipe Cache
- Wipe Data
- Wipe Internal Storage
- Install Port ROM
- Wipe Cache & Dalvik
- Reboot to system
- Done.
SP Flash Tool Version (complicated method):
- Download link: https://mega.nz/#!fddnGaqT!067RI1iNJn5U14NWoXyCf6LY8Nj-jC31Tw3CAQohKlQ
Attention: My guide only for people with original state, doesn't with mofidication. If you installed TWRP or rooted so please doesn't follow guide below. Use TWRP version.
1 - Update firmware your S8 to latest.
1.1 - Factory Reset (make backup before to do this step)
2 - Extract file of link above.
3 - Install adb-setup-1.4.3.exe from Tools folder. This is included in Tools folder, but you can download here https://forum.xda-developers.com/showthread.php?t=2588979
4 - Extract MT65xx USB VCOM DRIVERS.zip from Tools folder and install (use this guide if you don't know how install https://www.getdroidtips.com/install-mediatek-mt65xx-usb-vcom-drivers/)
5 - Extract SP_Flash_Tool_v5.1728.rar from Tools folder
6 - After extracted files of item 4, find flash_tool.exe and open.
7 - Click choose of Scatter-loading File and select MT6755_Android_scatter.txt from ROM folder that you extracted on item 1.
8 - Check if "Download Only" is selected, and only Recovery, Boot and System are selected like image below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
9 - Turn off the S8
10 - Click Download button of Smart Phone Flash Tool
11 - Wait for the process to complete
11.1 - Check if popup like below appear
12 - Disconnect your S8 from PC
13 - Turn on the S8
14 - Copy all files inside of Gapps folder that you extracted on item 1 to your smartphone (location doesn't import here)
15 - Turn ON USB Debugging Mode (use this guide if you don't know how to do https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm Read the item 4 (4. Android 5.0 Lollipop))
16 - Connect your S8 to PC
17 - Use command below to reboot to recovery in CMD of your PC
Code:
adb reboot recovery
18 - If appear dialogue click Yes
19 - In CWM recovery
20.1 - Wipe Menu>Wipe Data - Factory Reset
20.2 - Install G-Killer.zip that you copied to S8 in step 14 (This is included in the Gapps folder of item 13, but you can download here https://forum.xda-developers.com/showthread.php?t=2588979)
20.3 - Check only itens below and remove gapps (if you do not do this step the google play doesn't work)
20.4 - Now install opengapps that you copied to S8 in step 14 (This is included in the Gapps folder of item 13, but you can download here http://opengapps.org/)
20. 5 - Optionally you can install Magisk that you copied to S8 in step 14 (This is included in the Gapps folder of item 13, but you can download here https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445)
20.6 - Before reboot Wipe Cache and Wipe Dalvik Cache
20.7 - No for "Root access is missing. Root device?"
21 - Done.
thanks,
this works wit bluboo s8 ?
https://forum.xda-developers.com/general/device-reviews-and-information/bluboo-s8-information-reviews-5-7-hd-t3673085
is this multilanguage?
Point 17 – ? how do I do that to reboot to recovery with CMD.
can you say that more precisely.
is there no key function volume + power? I dont know
bananaci said:
thanks,
this works wit bluboo s8 ?
https://forum.xda-developers.com/ge...bluboo-s8-information-reviews-5-7-hd-t3673085
is this multilanguage?
Point 17 – ? CMD.Is there no key function volume + power? I dont know
Click to expand...
Click to collapse
....1. this works wit bluboo s8 ?
2. is this multilanguage?
3. Point 17 – ? how do I do that to reboot to recovery with CMD.can you say that more precisely.is there no key function volume + power?.....*///
***Note:
I do not have this device (getting 1 maybe, if *Future Custom ROMs & curiosity of $158 S8), so my answers might NOT be reliable or worth a click ?
1. Yes, the developer's OP clearly mentioned "for bluboo S8)
2 Yes(99%). *English(UK), is usually default inclusive→
OR
The specific preferred language, u say? might be the needed gem for your question "multilanguage?", Because it seems like variants and of MTK has a difference.
For example, German(Austria) included in 1, may not be there in the other.
3 .I think The Dev's OP, already stated, precisely.
Usually, after you enable those options,
(...Enable via USB debugging OEM, ADB etc [√] found under *developer mode/option* on the device),
Go to your PC, → ^ADB folder, (where you have downloaded & installed the ADB.exe,) press shift+rightclick and choose "Open with Command Prompt"
And type the command as Developer mentioned above ( instructions -OP)
(Or available commands on ADB/fastboot recovery on Linux/windows).
I havent use this (Elephone S8 Ported mini), and as I said I do not have a bluboo S8 (yet).
Do let me know if substratum theme works on this.
however, developer's effort on # Clean AOSPA minus bloatwares, is Great work already. Totally worth a click on "?". For device like this it's even hard enough to get a honest user review.
I still can't make a decision between other s8-lookalikes available. HomtomS8,Leagoo S8, Umidigi, Ulephone considering ROMs support).
Point 11,12,13. MT6755_Android_scatter.txt perfectly installed with flash tool
But the phone boots only carlycwm
so I did I followed point 19. so i do:
20.1 - Wipe Menu>Wipe Data - Factory Reset
20.2 - Install G-Killer.zip
20.4 - Now install opengapps
20.6 - Before reboot Wipe Cache and Wipe Dalvik Cache
20.7 - No for "Root access is missing. Root device?"
21 - Done.
But always the same. the phone boots only carlycwm.
what can i do?
bananaci said:
Point 11,12,13. MT6755_Android_scatter.txt perfectly installed with flash tool
But the phone boots only carlycwm
so I did I followed point 19. so i do:
20.1 - Wipe Menu>Wipe Data - Factory Reset
20.2 - Install G-Killer.zip
20.4 - Now install opengapps
20.6 - Before reboot Wipe Cache and Wipe Dalvik Cache
20.7 - No for "Root access is missing. Root device?"
21 - Done.
But always the same. the phone boots only carlycwm.
what can i do?
Click to expand...
Click to collapse
Hi,
you probably have skipped step 19.
Factory Reset inside of CWM recovery.
Updated the first post with TWRP version.
now my phone is dead, ican nothing do.
now when i insert cable with phone is started only cwm..phone not reboot
bananaci said:
now my phone is dead, ican nothing do.
now when i insert cable with phone is started only cwm..phone not reboot
Click to expand...
Click to collapse
Flash TWRP in SP Flash Tool and follow TWRP instruction of first post.
- Turn off S8
- Press Download button in SP Flash Tool
- Connect cable
- If flash TWRP recovery doesn't start Hold the power button until progress start
Reason that only start in CWM.
- You upgraded firmware using another recovery that does't original one
- You used factory reset of system using another recovery that does't original one (probably this it's the cause, appear that you using TWRP https://forum.xda-developers.com/showpost.php?p=74092694&postcount=21). Probably you followed my guide with TWRP. My guide only for people with original state, doesn't with modification.
You never can use factory reset of system with TWRP or CWM.
ok thanks, ill try this
it works not.Nothing.
The problem is when i plug the cable into pc or dc just boot only carlywm ported by ghost45.version 6_kk_carliv-mod.
before i flashed your ported rom with flash tool i had before twrp 3.1.1 Bluboo S8 on my phone..since everything had worked.
And now i can nothing do. it comes only cwm ghost45.version 6_kk_carliv-mod.
I`ll tried your rom
TWRP version:
- Download link: https://mega.nz/#!iRkxALgJ!kuIwBusd_...DrjN_8tJGMqOtk
with cwm ghost45.version 6_kk_carliv-mod to flash it installes it.
but when the phone first boot it comes allways cwm ghost45.version 6_kk_carliv-mod.
so i`ll tried anymethodes with flashool first press download than press power hold... down... nothing ..it comes jus cwm ghost45.version 6_kk_carliv-mod.
bananaci said:
so i`ll tried anymethodes with flashool first press download than press power hold... down... nothing ..it comes jus cwm ghost45.version 6_kk_carliv-mod.
Click to expand...
Click to collapse
So follow all step below correctly, doesn't skip steps.
Download TWRP Recovery for CWM
https://mega.nz/#!md8AAZxR!5iepVFzSKGY0F-FlPLfCxSw3nH7r6-VgpBaemAlSclk
Install recovery twrp.zip of link above in CWM.
Reboot.
Now will reboot in TWRP
IN TWRP
- Wipe Dalvik / ART Cache
- Wipe System
- Wipe Cache
- Wipe Data
- Wipe Internal Storage
- Install Port ROM (First Post of this thread)
- Install recovery original.zip https://mega.nz/#!jMMRHbTI!eU-saTyapPon8xdfa2NORdpeV5CSGFfzdQHuqkwAcRE (this is very very important step)
- Wipe Cache & Dalvik
- Reboot (wait, doesn't restart until system start completly)
- Now original recovery will restored. If you need twrp, you need install again. And doesn't use factory reset of system, samething will happen again.
bananaci said:
before i flashed your ported rom with flash tool i had before twrp 3.1.1 Bluboo S8 on my phone..since everything had worked.
And now i can nothing do. it comes only cwm ghost45.version 6_kk_carliv-mod..
Click to expand...
Click to collapse
I already explained before. This isn't my fault. You used my guide (SP Flash Method) with TWRP.
If used factory reset with TWRP, of cource that will result in that.
I will be giving this a try tonight. Is there a way to keep the Blueboo startup animation or will this change that? Not that it matters much. Do all the features of the phone work with this rom?
labellee25 said:
I will be giving this a try tonight. Is there a way to keep the Blueboo startup animation or will this change that? Not that it matters much. Do all the features of the phone work with this rom?
Click to expand...
Click to collapse
This Port Rom use elephone animation.
Yes all feature of phone work fine.
oh yes, yuppi.ya yeahh it works.
with tis TWRP Recovery for from 3.1.1 by Jemmini works now. I had that before.
and your yor port rom works fine ..
I will report you.
thank you for your understanding
bananaci said:
oh yes, yuppi.ya yeahh it works.
with tis TWRP Recovery for from 3.1.1 by Jemmini works now. I had that before.
and your yor port rom works fine ..
I will report you.
thank you for your understanding
Click to expand...
Click to collapse
Thanks for feedback.
I dont know why,
I can not bluboo connect with any PC?.
with the original software was not so.
can you help?
bananaci said:
I dont know why,
I can not bluboo connect with any PC?.
with the original software was not so.
can you help?
Click to expand...
Click to collapse
Have you tried with another PC?
I can't reproduce your issue. So unfortunately I can not help you.
yes i tried with,
winxp,win7 and win10,with my
old pc win7 til yet havent problem but with your rom can,t connect now.
so i chanced c-cable nothing happens
with another smartphones zopo,lenovo,samsung can i connnect my pc.there is no problem with this phones.
Same for me can't use sp flash tool to root too.. PC only see it in usb mode for camera or file transfer
Debug modus is on.
The problem is when i connected my phone it say just battery charging.
Here is the problem cause I can not switch usb mode for camera or file transfer.
There is a point on status bar at the top to switch usb mode for camera or file transfer.
NOTHING HAPPENS Here
What a pity this stable Rom has an error/bug here.
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A guide for how to install Lineage OS [ GSI ] on Samsung A10 A105F
Notes / Warning!
Use at your own risk, I’m not responsible for bricking your device.
Make sure to backup your important data before everything.
here is a summary of the steps I am going to show
you in this guide:
1. unlock bootloader
2. flash root file for magisk.
3. install magisk (app)
4. flash TWRP recovery via flashify app
5. install the rom with twrp
6. install gapps
let's get started.
downloads section:
samsung usb drivers:
https://developer.samsung.com/mobile/android-usb-driver.html
odin:
https://odindownload.com/download/#.XopMkXJRWM8
root file:
https://drive.google.com/file/d/1h1mNNppumVbFFTgq_A_XtjeWNsfkvDHH/view
twrp file:
https://www.dropbox.com/s/hkhpom931byup68/twrp-a10-3.3.1-0_afaneh92.tar?dl=1
magisk app:
https://github.com/topjohnwu/Magisk/releases/download/manager-v7.5.1/MagiskManager-v7.5.1.apk
flashify app:
https://www.apkmirror.com/apk/chris...-release/flashify-1-9-2-android-apk-download/
rom:
https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/
our device is ARM 32-bit with 64-bit binder, AB so we need to download a64_bvN type.
direct link:
https://sourceforge.net/projects/an...017-UNOFFICIAL-treble_a64_bvN.img.xz/download
gapps:
https://opengapps.org/
choose arm platform android version 9.0
direct link:
https://sourceforge.net/projects/op...se_mirror=netcologne&r=&use_mirror=autoselect
1. unlock bootloader:
Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
Enable OEM unlock ( Settings -> Developer options )
How to Enter Download Mode:
Enter Download Mode ( Turn Power off the phone, Press and hold Volume Down + Volume Up keys together then while pressing these keys connecting the phone to PC with USB Cable Data, release all keys when Download Mode appears ).
Unlock Bootloader: In Download Mode you see the long-press Vol Up option to enter Device Unlock Mode. Unlock the bootloader ( that will wipe your device so be sure to backup of your data )
Read the description on the Unlock Bootloader screen then use Volume Up to select “YES” to confirm and “No” to cancel unlock bootloader and restart the phone.
After Bootloader unlock, the phone will reboot and make sure the phone connected to the internet or triggers KG State / RMM State Prenormal.
Setup the phone without google account etc.
The Bootloader are unlocked!
2. flash root file:
enter download mode ( see instructions above here )
flash the file in Odin ( choose PDA, select the file and the start )
3. install magisk:
install magisk.apk (download link above here > and then follow the instructions in the app (the app will ask once for reboot).
now you root!
4. flashing twrp:
install flashify app ( link above )
open the app and accept root permission.
navigate to flash choose recovery image to select the twrp file and then flash.
now you have twrp recovery
5. flash the rom:
move the rom file you downloaded to sdcard (preferred) or to internal storage.
reboot to recovery ( in flashify app you can select reboot recovery )
choose to wipe > format data > type yes and start.
select wipe > advanced wipe > choose :
Dalvik / art cache
cache
data
wipe to wipe.
go to install > install image > nevigate to lineage os file > select > install as system image.
go to wipe > wipe to factory reset.
6. install gapps
move the gapps file you downloaded to internal storage / sdcard
in twrp select install > navigate to gapps file > install > swipe to install.
go to reboot > system > choose do not install (twrp) > the phone will reboot
wallah ! you have installed lineage os on your phone!
Troubleshoot:
when i install the gapps, have error 70!
-> https://forum.xda-developers.com/android/help/fix-error-70-install-gapps-t3311779
oh ****! my phone get bricked !
only download mode with this error:
only official released binaries are allowed to be flashed (etc...) : (
how to fix:
-> download stock firmware
https://www.sammobile.com/samsung/firmware/SM-A105F/
flash with ODIN
i tried in a105m it's functionaly
is it possible to install this build to SM-A105G
how to install gapps ? error 70
thonynn1 said:
how to install gapps ?
Click to expand...
Click to collapse
I edited the post and added instructions.
thonynn1 said:
i tried in a105m it's functionaly
Click to expand...
Click to collapse
nice!
you tried with this guide and worked?
let me know.
TechBoyPH said:
is it possible to install this build to SM-A105G
Click to expand...
Click to collapse
I didn't tried, it should work.
you can try and let us know.
you can always flash stock rom with odin if something get bad.
thewh1teagle said:
nice!
you tried with this guide and worked?
let me know.
Click to expand...
Click to collapse
Yes, but when i install the gapps, have error 70
Edit: i resolved the error with the post https://forum.xda-developers.com/android/help/fix-error-70-install-gapps-t3311779
thonynn1 said:
Yes, but when i install the gapps, have error 70
Edit: i resolved the error with the post https://forum.xda-developers.com/android/help/fix-error-70-install-gapps-t3311779
Click to expand...
Click to collapse
Thanks for sharing.
I added instructions for fix it in troubleshooting.
sm-a105m
After installing root; the phone is not running samsung official software.
And android does not start.
version 64 does not work, only 32.
for install root and twrt use this tutorial: https://forum.xda-developers.com/galaxy-a10/how-to/how-to-root-samsung-galaxy-a10-install-t4074343
panicol2 said:
After installing root; the phone is not running samsung official software.
And android does not start.
version 64 does not work, only 32.
for install root and twrt use this tutorial: https://forum.xda-developers.com/galaxy-a10/how-to/how-to-root-samsung-galaxy-a10-install-t4074343
Click to expand...
Click to collapse
Followed this same root guide and after flashed linage os 17.1 a64_bvN type with recovery. It worked successfully.
Despite not having service ,in the place im in right now, it also works. Both SIM cards work
Thanks a lot guys!
I successfully installed Linage OS 17.1 on my SM-A105FN.
Everything works, except face-unlock and nfc.
But that is fine and I can wait for a future update that might fix it.
Thanks for the tutorial!:laugh::good:
justhack said:
I successfully installed Linage OS 17.1 on my SM-A105FN.
Everything works, except face-unlock and nfc.
But that is fine and I can wait for a future update that might fix it.
Thanks for the tutorial!:laugh::good:
Click to expand...
Click to collapse
How did you do that, Could work on a105m?
waiting for android Q version
I updated my phone via ota to 10.0
I guess cant downgrade use a lower version, or yes?
Mestre Samurai said:
waiting for android Q version
I updated my phone via ota to 10.0
I guess cant downgrade use a lower version, or yes?
Click to expand...
Click to collapse
I think you can, Flashing stock using odin
give me error 20 on gapps
Betrayal92 said:
How did you do that, Could work on a105m?
Click to expand...
Click to collapse
Might work but are you a little tech savvy? Because it's quite a long process and took me a day to complete.
Because of all the bootloops and reflashing and so on.
If it's not an issue I'll be happy to help out
Betrayal92 said:
How did you do that, Could work on a105m?
Click to expand...
Click to collapse
I have made a thread of how to install it and the websites for where to get them. But if you want I'll leave one here because the one i linked in my thread is different.
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
(^ is for lineage os 17.1)
---------- Post added at 05:52 PM ---------- Previous post was at 05:48 PM ----------
Mestre Samurai said:
give me error 20 on gapps
Click to expand...
Click to collapse
install correct gsi image or gapps
Samsung Galaxy A10 is arm32 binder64-ab type (even though in the treble check app is says a only)
and make sure you factory reset after flashing rom. and BEFORE installing gapps
mindinguslove said:
Followed this same root guide and after flashed linage os 17.1 a64_bvN type with recovery. It worked successfully.
Despite not having service ,in the place im in right now, it also works. Both SIM cards work
Click to expand...
Click to collapse
Could you pass me the ROM link?
Thank you for the port, awesome job!
In my opinion it needs some improvements, like in sound, we lost quality, and maximum volume in respect to stock one.
Also the notification bar gets a small black bar in the top, stock one was using all the edges.
And maybe a little hand in some animations that runs randomly not smooth.
Apart from that, i think its a really good and stable ROM.
Any ideas in how to safely root, and maybe add it Viper4Android or some audio lib?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Official TWRP 3.6.1-* For Galaxy Note 10/+/5GOnly for exynos variants - N970F / N975F / N976B (Europe - Global, Single/Dual-SIM), N971N, N976N (South Korea)
Disclaimer
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this recovery before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Kernel Features:
latest kernel source release
disabled uh/defex/proca/knox/rkp/rooting protection/logging/audit/useless features
spoofed config for firmware checks
Recovery Features:
built in full 64 mode
toybox/busybox support
compatible with Android 10.0 and above
Downloads:
Note 10 - d1 - N970F
Note 10 5G - d1x - N971N
Note 10+ - d2s - N975F
Note 10+ 5G - d2x - N976B/N976N
avb disabled vbmeta
Instructions:
Odin (Windows)
Prerequisites: Samsung USB drivers, Odin v3.14.1
If you already have the bootloader unlocked you can skip to step 6.
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode;
Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
* Please be aware all your data will be erased including internal storage and phone will reboot!!
Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
* If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
Download appropriate TWRP .tar file according to your device
Download avb disabled vbmeta .tar
Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
Heimdall (Linux)
Install heimdall & additional required packages:
Code:
sudo apt-get update
sudo apt-get install heimdall-flash android-tools-fastboot android-tools-adb libusb-0.1-4 libusb-1.0-0 libusb-1.0-0-dev
If you already have the bootloader unlocked you can skip to step 6.
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode;
Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
* Please be aware all your data will be erased including internal storage and phone will reboot!!
Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
Make sure OEM Unlock is ON in developer settings;
Turn off the phone;
Use vol up + vol down + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
* If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
Download appropriate TWRP .img file according to your device
Download avb disabled vbmeta .img
Open your preferred terminal in linux and type (replace red lines with the path of downloaded img files):
Code:
sudo heimdall flash --RECOVERY /path/to/recovery.img --VBMETA /path/to/vbmeta.img
and press enter - once you press enter grab the phone and press vol up + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
TWRP
Download .img file for your device and install from your current TWRP with Install image - browse to image location and select - Recovery
dd (Requires root)
Download .img file for your device, place it in the root of your /sdcard folder, rename it to twrp.img then run the following commands via adb shell or a terminal emulator app:
Code:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/13d60000.ufs/by-name/recovery
!! Only if coming from full stock (magisk patched) firmware
In TWRP home screen press wipe - format data - yes
Download and flash multidisabler-samsung-3.* zip to disable security and encryption.
Sources:
Device trees - d1 / d1x / d2s / d2x
Kernel - https://github.com/corsicanu/android_kernel_samsung_universal9820/tree/android-9.0
Recovery - https://github.com/omnirom/android_bootable_recovery
Credits:
TeamWin, geiti94, jesec, dyneteve, ianmacd, testers, donors and anyone else involved in making this possible
As always, if you like what i do, you can always send me some pizza/coffee/drugs/drinks or anything else via paypal.me/corsicanu
Compatibility and changelog:
07.03.2022 - TWRP 3.6.1
Security patch: 2022-02-01
Compatibility: only GVA*/GVB* firmwares, OneUI 4.0
Spoiler: Archive
09.01.2022 - android 12 support
Security patch: 2022-01-01
Compatibility: only GUL* firmwares, OneUI 4.0
08.01.2021 - android 11 support
Security patch: 2020-12-01
Compatibility: only ETL* firmwares, OneUI 3.0
27.12.2020 - TWRP 3.5.0 bringup - december release
Security patch: 2020-12-01
Compatibility: only DTK* and DTL* firmwares
09.12.2020 - december release
Security patch: 2020-12-01
Compatibility: only DTK* and DTL* firmwares
05.12.2020 - Initial release
Security patch: 2020-11-01
Compatibility: DTJ* firmwares
Misc links:
TeamWin official website
Telegram Support Group
Telegram Channel
Bootloaders / modems zips
Latest Magisk stable or canary
Further reading:
Full guide of how to unlock/root your device
Patch TWRP with Magisk
Use recovery to boot up rooted
Background on Android Verified Boot
Rollback protection
FAQ
Q: Can i use this recovery with other firmware then mentioned in compatibility?
A: Only with same Android version and only if you don't plan to boot rooted with TWRP (some kernels deliver root prebuilt in kernel), or Rollback protection will kick in and you won't be able to pass the lockscreen.
Q: Where do i get vbmeta.img?
A: From here, download the one you need according to install instructions.
Q: TWRP can't mount data partition, what to do?
A: Make sure you formatted data partition.
Q: Phone is not booting even after 20 minutes
A: Try to reboot. If still not booting, make sure you flashed multidisabler zip / formatted data partition.
Q: How to format data partition?
A:
Q: Phone is showing only Samsung logo
A: Try to reboot. If still not booting, consider installing an older TWRP build or a more recent firmware. If you still don't succeed, post here some details about your device and previous firmware and we might be able to help.
Q: Why do i need to format data partition?
A: Because old firmware encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
official builds will be up in few hours
Nice, congrats!
Hi, i'm getting the Note 10 soon & remember when i've tested the S10 months ago that i had trouble with twrp encryption/decryption : can you confirm after wiping data that you can encrypt it (system) and twrp will be able to decrypt it after you enter your pattern..? Thanks.
Android 11 TWRP is up already for a while, in case you didn't notice it yet grab it from twrp.me.
Don't forget to use targeted TWRP for your android version and release, read more about compatibility in second post of this thread.
PS: N971N does not have a build compatible with OneUI 3.0 since no public release of that yet, it will be built once samsung starts pushing the update for that phone.
Regards!
corsicanu said:
Android 11 TWRP is up already for a while, in case you didn't notice it yet grab it from twrp.me.
Don't forget to use targeted TWRP for your android version and release, read more about compatibility in second post of this thread.
PS: N971N does not have a build compatible with OneUI 3.0 since no public release of that yet, it will be built once samsung starts pushing the update for that phone.
Regards!
Click to expand...
Click to collapse
is the latest TWRP 3.5.0_9-4-d1 compatible with the latest Samsung ROM update? Below are the details of the firmware update I'm referring to:
ModelSM-N970FModel nameGalaxy Note 10VersionAndroid 11Changelist21054212Build dateThu, 18 Feb 2021 05:15:51 +0000Security Patch Level2021-03-01Product codeXTCPDAN970FXXU6FUBDCSCN970FOXM6FUBD
Thanks in advance!
Edit: based on this article it's One UI 3.1
Hi,
Is this method works and safe for N971N?
Android 12
nilofino said:
Hi,
Is this method works and safe for N971N?
Android 12
Click to expand...
Click to collapse
Actually I tried and it works
Is it safe after installing TWRP to RE-LOCK the bootloader???
tried using with android 12 trough magisk and i got phone blocked on samsung logo, also i was unable to select storage on wipe menu, any insight?
nilofino said:
Actually I tried and it works
Click to expand...
Click to collapse
HOW?!
I have the same SM-N971N, but I Got the error of showing less storage than it has after flashing. Like, -192GB/60GB and in settings it shows 16GB, Constantly says the TA Downloader has stopped.
So it messed up totally in my case ; and i reverted back
So Help me how did you managed?!
Rafin Rahman said:
HOW?!
I have the same SM-N971N, but I Got the error of showing less storage than it has after flashing. Like, -192GB/60GB and in settings it shows 16GB, Constantly says the TA Downloader has stopped.
So it messed up totally in my case ; and i reverted back
So Help me how did you managed?!
Click to expand...
Click to collapse
Just follow the instructions!
It seems that you have selected "repartition" option (in odin options),
You can find the solution easly. Maybe installing the stock Rom helps, but plz search for the solution before doing any further actions
nilofino said:
Just follow the instructions!
It seems that you have selected "repartition" option (in odin options),
You can find the solution easly. Maybe installing the stock Rom helps, but plz search for the solution before doing any further actions
Click to expand...
Click to collapse
No to be honest, i never messed with that part lol
But if it really is how you say, then let me try this pain once again :")
nilofino said:
Just follow the instructions!
It seems that you have selected "repartition" option (in odin options),
You can find the solution easly. Maybe installing the stock Rom helps, but plz search for the solution before doing any further actions
Click to expand...
Click to collapse
can you help me finding the twrp flashable zip for N9710N?
I used the original one from official website
Rafin Rahman said:
can you help me finding the twrp flashable zip for N9710N?
Click to expand...
Click to collapse
nilofino said:
I used the original one from official website
Click to expand...
Click to collapse
OK I DID IT! But man, twrp got installed, but no magisk, nothing is installing/flashing via TWRP, idk whyy!! :")
Maybe its android 12 thats causing problem
It did successfully installed TWRP as Custom Recovery, but as for superuser, Im handcuffed now , Sed Lyf:")
Intento instalar Twrp junto con Vbmate en mi N971N y me tira este error y si solo instalo Twrp no pasa del logo de Samsung
Thank you for your hardwork!
POST - v3
(This number will increase every time the post is updated.)What's new in v3?
Added procedure in a new spoiler to install the base EMUI 8 for hi6250 devices as using the EMUI 8 we get with our device is causing some errors and bugs. Thanks to @Kentoto2021 and @VarianWrynn for testing and reporting this problem.
Spoiler: Version Changelog
What's new in v2?
Updated the thread with newly found bugs in "What isn't working" section.
Made small changes to thread.
What's new in v1?
Took a lot of time to collect the infinity stones.
Took even longer to make Mr. Thanos snap this thread to existence.
What's new in v0?
LoL Who knows?
This ROM is none of my work. I just tested it and provided appropriate procedure and fixes to errors(Found nothing yet).
Thanks a ton to @Hami_Do for making this possible. Original Post : link.
Thanks to Huawei for making their phones nearly unbrickable .
Thanks again to Huawei for making more than one device with hi6250 chipset.
Thanks a lot to @Djiban for helping me and testing different procedures, fixes and ROMs.
Follow this thread only if you know what you're doing. I'm not responsibe for any damage or thermonuclear wars .
Read the post completely and understand it before doing anything ATLEAST FOR THE SAKE OF MANKIND .
This thread is best viewed in PC and is Noob Friendly.
Spoiler: Requirements
Requirements:
Huawei Honor 6X (Unlocked Bootloader. If not, follow this post (using PotatoNV) or YouTube video.
EMUI 8 (If not, you could follow this guide, direct file : link).
GSI from link.
TWRP from attachments or link or any other TWRP recovery compatible with Honor 6X EMUI 8.
Gapps(Optional, I used pico OpenGapps).
stock recovery (available in attachments).
Time.
PC.
ADB and Fastboot.
Patience.
Human Brain.
ALL IN ONE GUIDE : Check it out here. It contains every thing in detail all the way from bricked device -> EMUI 2 -> EMUI 5 -> EMUI 8 -> AOSP 10. Thanks to @lmaohelp for his effort and describing everything in detail.
Useful Information :
What is OpenGapps? Check it out at OpenGapps.org!
What is ARM64? it is a 64 bit operating system/platform.
What isn't working :
Usb Notification (Options will be greyed out. To transfer files, go to Developer Options > Default USB configuration > set it to File Transfer).
Dual sim is buggy. Single sim works perfectly. Thanks to @Loopeez for reporting it.
What's Working :
Everything.
*Tell me if something isn't working.
***If you have a bricked device/messed up somewhere during the process and unable to figure out what to do, follow this guide by @lmaohelp .***
Spoiler: Installing base EMUI 8 for hi6250 devices.
This was already described in a separate thread which describes the process to get back to EMUI 8 from custom ROMs. You can find it here.
Just follow the procedure in that thread. You need not even flash the frp unlock thing. After that, follow the process described in this thread.
It's recommended to be on original EMUI 8 before installing base EMUI 8 for hi6250. Follow the process linked in requirements to install EMUI 8 first then follow this spoiler.
Procedure :
Make sure your device is running stock EMUI 8.
Extract downloaded image using some xz extractor(7zip can also do this), copy it to pc.
Reboot your device to TWRP.
Format the data partition {Wipe > Format data > type "yes"}
Flash fstab.hi6250b.zip from attachments
Check if your device is detected by adb using
Code:
adb devices
.
Move the img file using adb to device
Code:
adb push -p *img-name*.img /sdcard/
(the img file must be in adb directory).
(Optional, only if you want gapps) Move Gapps in the same manner
Code:
adb push -p *gapps-name*.zip /sdcard/
(the zip file must be in adb directory).
Install img as system image {Install > Install Image > Select > Choose system image > Swipe➡}.
(Optional, only if you want gapps) Unmount and Remount system partition as writable. Go to wipe > advanced wipe > Choose system > resize > Swipe➡.
Flash gapps.
Flash stock recovery. Push it with adb using
Code:
adb push -p stock_recovery_ramdisk.img /sdcard/
and flash it with twrp as "Recovery" after choosing install image.
Disconnect your device from PC and reboot to recovery(stock one).
Clear cache partition and perform a factory reset(You'll get an error during factory reset but you have to do it) (your device will bootloop if wiped with twrp itself).
Reboot, Cross your fingers and wait.
>Booting is quite different in android 11 ROMs on our device. You'll see the "Your device has been unlocked" screen for more time than usual. Then, you'll see the boot animation (for very short time on subsequent boots) and the device will boot to ROM. So, be patient. (This isn't the case with ROMs upto android 10)
>Face Unlock is working perfectly
Spoiler: Additionals
Additionals:
>Its better to charge your device to atleast 70% before doing anything as you'll have ample of time to recover it if you messed up something. If not, you can still charge your device in eRecovery mode and twrp but i found some issues like heating up and slow charging.
>Don't forget to set ringtone, notification and other sounds from settings after booting.
Spoiler: Updates
Updates :
Nothing yet...
Happy Flashing !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RESERVED
Thx for keep looking for the best andorid 11 rom for Honor 6X. Installed it, no issue so far, testing it as a 2nd daily device. Let you know...
Below is my installation procedure using a microsdcard, quite the same as post #1 apart of that.
- on a micro SD card, download:
https://forum.xda-developers.com/attachments/twrp-img.5326857/
https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/fstab.hi6250b.zip/download
https://forum.xda-developers.com/attachments/stock_recovery_ramdisk-img.5321325
FluidOS-1.1-Rum-R-Hi6250-emui8.img extracted with 7zip from https://mega.nz/#!jWQWEJ7Z!cd2S5oy2g8IdUuw5PfQEkSadslojBpFgB6ltUNOpc-w
OPTIONAL: pico gapps from https://sourceforge.net/projects/opengapps/files/arm64/test/20210110/
- insert the micro SD card in your usb debugging enabled Honor 6X (with EMUI 8 or custom rom installed over EMUI8), and connect it to a PC with adb & fastboot
- in adb, "adb reboot bootloader"
- in fastboot, "fastboot flash recovery_ramdisk TWRP.img"
- in fastboot, "fastboot reboot"
- after reboot completed, "adb reboot recovery"
- disconnect the honor 6x from the PC
- in TWRP recovery, Format the data partition {Wipe > Format data > type "yes"}
- in TWRP recovery, flash fstab.hi6250b.zip
- in TWRP Recovery, flash FluidOS-1.1-Rum-R-Hi6250-emui8.img {Install > Install Image > Select > Choose system image > Swipe}
- OPTIONNAL IF GAPPS WANTED: in TWRP recovery, Mount system partition (Mount > check system and unckeck read only OR reboot in recovery).And
resize system (Go to wipe > advanced wipe > Choose system > repair > resize). Then install open_gapps-arm64-11.0-pico-XXXXXXX.zip.
- in TWRP Recovery Flash STOCK_RECOVERY_RAMDISK.img {Install > Install Image > Select > Choose recovery image > Swipe}
- in TWRP recovery, reboot to recovery (even if TWRP says no OS installed)
- in Stock recovery, wipe cache and factory reset (error is normal)
- in Stock recovery, reboot and wait
Click to expand...
Click to collapse
Rom is very nice so far , no issue yet!!!!
Djiban said:
Rom is very nice so far , no issue yet!!!!
Click to expand...
Click to collapse
Same with me.
Hello, do you know how can I factory reset in the Huawei ERecovery step at the end ?
I try to do it so but it keep reboot my phone to TWRP recovery, it's like I can't wipe data/factory reset my phone from the stock recovery.
Maybe TWRP is bloking it ? Should I disable something in the TWRP settings ?
Between thanks for yours work !
Kentoto2021 said:
Hello, do you know how can I factory reset in the Huawei ERecovery step at the end ?
I try to do it so but it keep reboot my phone to TWRP recovery, it's like I can't wipe data/factory reset my phone from the stock recovery.
Maybe TWRP is bloking it ? Should I disable something in the TWRP settings ?
Between thanks for yours work !
Click to expand...
Click to collapse
Your mistake is that your using stock erecovery.
You have to use stock recovery. Meaning flashing the stock recovery provided in post 1 over the twrp recovery :
- in TWRP Recovery Flash STOCK_RECOVERY_RAMDISK.img {Install > Install Image > Select > Choose recovery image > Swipe}
- in TWRP recovery, reboot to recovery (even if TWRP says no OS installed)
- in Stock recovery, wipe cache and factory reset (error is normal)
- in Stock recovery, reboot and wait
Yep thanks, I forget to choose Recovery when I flash the stock recovery ramdisk, so my twrp install it on the last choice that it's system image
To resolve my problem I reinstall my previous system (EMUI 8 for honor 6x) and this time I wipe the david cache, system, cache ... after format the data partition
And I didn't install any OpenGAPPS and it works fine !
A little empty, but I will try without Google services to see if it sweet to me, it saved a lot of battery so that's nice !
Again, I thank you all of you for your amazing work thank you very much my honor 6x can still live haha
Edit : no it's too painfull without google services haha
Kentoto2021 said:
Yep thanks, I forget to choose Recovery when I flash the stock recovery ramdisk, so my twrp install it on the last choice that it's system image
To resolve my problem I reinstall my previous system (EMUI 8 for honor 6x) and this time I wipe the david cache, system, cache ... after format the data partition
And I didn't install any OpenGAPPS and it works fine !
A little empty, but I will try without Google services to see if it sweet to me, it saved a lot of battery so that's nice !
Again, I thank you all of you for your amazing work thank you very much my honor 6x can still live haha
Click to expand...
Click to collapse
Perform a factory reset after flashing gapps too.
Flashing gapps without factory reset crashed chromium based browsers on AOSP 10. This might not be the case with this rom but better do it.
Kentoto2021 said:
Yep thanks, I forget to choose Recovery when I flash the stock recovery ramdisk, so my twrp install it on the last choice that it's system image
To resolve my problem I reinstall my previous system (EMUI 8 for honor 6x) and this time I wipe the david cache, system, cache ... after format the data partition
And I didn't install any OpenGAPPS and it works fine !
A little empty, but I will try without Google services to see if it sweet to me, it saved a lot of battery so that's nice !
Again, I thank you all of you for your amazing work thank you very much my honor 6x can still live haha
Edit : no it's too painfull without google services haha
Click to expand...
Click to collapse
Android without Google services is more and more easy.
Aurora market is a good choice.
I have also some workaround for'GPS localisation and so....
Nevertheless, gapps working fine for me, no device lag cause of it ! All services active and working
Djiban said:
Nvertheless, gapps working fine for me, no device lag cause of it ! All services active and working
Click to expand...
Click to collapse
Same with me. And the power menu controls are just AWESOME.
Dang, I cannot go past installing Huawei USB COM driver to unlock my device (
jottect said:
Dang, I cannot go past installing Huawei USB COM driver to unlock my device (
Click to expand...
Click to collapse
? Didn't get you... Did you mean bootloader unlock? If yes, follow @lmaohelp 's guide mentioned in post 1. He described it very clearly.
Venkata Lochan Nune said:
? Didn't get you... Did you mean bootloader unlock? If yes, follow @lmaohelp 's guide mentioned in post 1. He described it very clearly.
Click to expand...
Click to collapse
Yes, it's clear, read the posts, watched YT video, but one of the steps is installing Huawei USB COM driver to replace the SER driver, and I already tried on 2 computers, Windows 10 (updated) fails to install that driver, and without it, PotatoNV won't 'see' the device.
Venkata Lochan Nune said:
Same with me. And the power menu controls are just AWESOME.
View attachment 5337621
Click to expand...
Click to collapse
Oooh how did you get that ?
I only have this :
Is it Gapps ? I use the nano one
Kentoto2021 said:
Is it Gapps ? I use the nano one
Click to expand...
Click to collapse
Nope, there's an app on play store called "power menu controls" download that. And the other, you could use Tasker(also an app from play store) to create your custom controls like the ones I did for screen rotation.
jottect said:
Yes, it's clear, read the posts, watched YT video, but one of the steps is installing Huawei USB COM driver to replace the SER driver, and I already tried on 2 computers, Windows 10 (updated) fails to install that driver, and without it, PotatoNV won't 'see' the device.
Click to expand...
Click to collapse
what's the procedure you followed to install drivers?
Unzip the attached file, and choose "DriverSetup.exe" and that's it. uninstall these drivers after installing the rom using "DriverUninstall.exe" for mtp to work. The process will ask for reboot in some language(i think Chinese) after uninstalling but it isn't needed.
*These are also the fastboot drivers(but the name in attachments is testpoint drivers).
Kentoto2021 said:
Edit : no it's too painfull without google services haha
Click to expand...
Click to collapse
Indeed! I once tried using AOSP 10 with floss services and without Google ones but yeah it didn't last even a day... lol I flashed gapps within 5 hrs.
Venkata Lochan Nune said:
what's the procedure you followed to install drivers?
Unzip the attached file, and choose "DriverSetup.exe" and that's it. uninstall these drivers after installing the rom using "DriverUninstall.exe" for mtp to work. The process will ask for reboot in some language(i think Chinese) after uninstalling but it isn't needed.
*These are also the fastboot drivers(but the name in attachments is testpoint drivers).
Click to expand...
Click to collapse
Thanks a million! It worked., I just unlocked the bootloader, I did not have these drivers.
Now onto next steps... may take a while, I'm old and slow
Well, did not go too far... when trying to flash twrp (as per this guide:
), I'm getting an error:
fastboot flash recovery_ramdisk twrp.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24466 KB)...
OKAY [ 0.642s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished.
Ideas?
P.S. I also tried
fastboot flash recovery twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (24466 KB)...
OKAY [ 0.642s]
writing 'recovery'...
FAILED (remote: image verification error)
UPDATE
Flash at your own Risk !!!
Tested Working:
Backup
Flash zip
Fastbootd support
Flash gsi roms
Not Working:
Usb Otg
You tell me
How to Flash on Android 11
1. Reboot Device to Downloadmode
2. Unlock Bootloader
3. Install adb and Fastboot driver and Device Drivers ( Google will Help )
4. Download the VBMeta-disabled.tar and the twrpa22v3.tar from Attachments
5. Download Odin3 from Attachments and start Odin on PC
6. In Odin Press on Options and untick Auto Reboot
7. Flash VBMeta-disabled.tar with Odin ( In Odin click on AP - select the vbmeta-disabled.tar and press start )
8. After flash vbmeta without errors press on AP and select twrpa22v3.tar and press on start
9. If all is Flashed without errors longpress power and vol- on device
10. instantly after device goes Blackscreen press and hold power and vol+ for 5-8 seconds to boot to TWRP
11. In TWRP press on Advanced - than on Terminal - and write " multidisabler " and press on the blue button
12. repeat step 11
13. press on reboot - than on recovery
How to Flash on Android 12
1. Reboot Device to Downloadmode
2. Unlock Bootloader
3. Install adb and Fastboot driver and Device Drivers ( Google will Help )
4. Download the magisk patched.tar and the twrp12.1_a225f-A12.tar from Attachments
5. Download Odin3 from Attachments and start Odin on PC
6. In Odin Press on Options and untick Auto Reboot
7. Flash magisk patched.tar with Odin ( In Odin click on AP - select the magisk patched.tar and press start )
8. After flash magisk patched.tar without errors press on try to reboot download -device reboots to dl mode
9. Flash twrp12.1_a225f-A12.tar with Odin ( In Odin click on AP - select the twrp12.1_a225f-A12.tar and press start )
10. If all is Flashed without errors longpress power and vol- on device
11. instantly after device goes Blackscreen press and hold power and vol+ for 5-8 seconds to boot to TWRP
12. In TWRP press on Advanced - than on Terminal - and write " multidisabler " and press on the blue button
13. repeat step 12
14. press on reboot - than on recovery
How to flash gsi:
Use the google platform tools adb/fastboot Download from Attachments
Boot to TWRP
1. In TWRP press Wipe-Advanced Wipe- select Dalvik, data, cache, metadata and swipe to wipe
2. After wipe go back to main screen and press Reboot- than press Fastboot
3. Device reboots to TWRP with Fastboot Interface
4. now plugin Device to PC open platform tools and execute cmd-here.exe
5. Type : fastboot devices - if no output check your Drivers/Usb connection
6. If device is Found by "fastboot devices" command enter " fastboot flash system PATHTOYOURGSI.img"
maybe it writes :Invalid sparse file format at header magic - but this can be ignored
After flash completed without errors type : fastboot reboot and press enter
GSI Download (Tested and bootable ) :
Only Arm64-BGZ Variants are bootable
( BTW gsi imgs with .xz File Format must be extracted ! Don't simple rename it to .img )
CrDroid 11 (Face-unlock and Fingerprint works)
android 12
Bliss 11
caos11
Credits:
afaneh92 For the a32x Devicetree
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
KI
Device Tree base used : https://github.com/mohammad92/android_device_samsung_a32x
A22 4g A11 Tree :https://github.com/deader89/galaxy-A22-4g-twrp-Tree
A22 4g A12 Tree :https://github.com/deader89/a22_TWRP12.1_tree.git
Thanks. Will test this.
I'm in the process of wiping through TWRP. It says
"Failed to mound '/metadata' (Invalid argument)
I've already converted the format partition from FAT to EXT4, and wiped the selected items but I'm stuck with the error above. Idk if this won't make me able to proceed to flashing the gsi
nice. Wish there were clear instructions on how to flash this phone, though.
nptoonix said:
Thanks. Will test this.
I'm in the process of wiping through TWRP. It says
"Failed to mound '/metadata' (Invalid argument)
I've already converted the format partition from FAT to EXT4, and wiped the selected items but I'm stuck with the error above. Idk if this won't make me able to proceed to flashing the gsi
Click to expand...
Click to collapse
did you run the multidisabler ?
Cheese-ass said:
WIP WIP WIP WIP
UPDATE
Flash at your own Risk !!!
Tested Working:
Backup
Flash zip
Fastbootd support
Flash gsi roms
Not Working:
Usb Otg
You tell me
how i Flashed it:
Flash this VBMeta with Odin - https://forum.xda-developers.com/t/...-galaxy-a32-5g-mediatek.4286631/post-85593097
Follow this Guide: https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-a32-5g-mediatek.4286631/ but use twrpa22v2.tar added under Attachments
How to flash gsi:
use the google platform tools adb/fastboot
Boot to TWRP
In TWRP press Wipe-Advanced Wipe- select Dalvik,data,cache,metadata and swipe to wipe
after wipe go back to main screen and press Reboot-Fastboot
Device reboots to TWRP with Fastboot Interface
now plugin Device to PC open platformtools adb/Fastboot
Type : fastboot flash system PATHTOYOURGSI.img and press enter
maybe it writes :Invalid sparse file format at header magic - but this can be ignored
After flash completed type : fastboot reboot
GSI Download (Tested and bootable ) :
CrDroid 11 (Face-unlock and Fingerprint works)
android 12
Bliss 11
caos11
Credits:
afaneh92 For the a32x Devicetree
View attachment 5409225View attachment 5409227View attachment 5409229
Device Tree base used : https://github.com/mohammad92/android_device_samsung_a32x
Kernelbase is same as my custom Kernel: https://forum.xda-developers.com/t/root-galaxy-a22-sm-a255f--android-11.4329471/
Click to expand...
Click to collapse
Hey, so I really want to root my A22, but I would want some more info. I would like more info on how to flash the A12 GSI, like what about vendor etc, I mean I know stuff about roms but no stuff about GSI'S whatsoever, so like is vendor needed etc? And also can you give me a more detailed tutorial on how to flash it? I'd love Android 12 on this phone.
BlueTower said:
Hey, so I really want to root my A22, but I would want some more info. I would like more info on how to flash the A12 GSI, like what about vendor etc, I mean I know stuff about roms but no stuff about GSI'S whatsoever, so like is vendor needed etc? And also can you give me a more detailed tutorial on how to flash it? I'd love Android 12 on this phone.
Click to expand...
Click to collapse
Generic system images | Android Open Source Project
source.android.com
There you find everything about gsi
Cheese-ass said:
Generic system images | Android Open Source Project
source.android.com
There you find everything about gsi
Click to expand...
Click to collapse
No, I just wanted a better tutorial on hiw to install it with twrp or fastboot or whatevrr
BlueTower said:
No, I just wanted a better tutorial on hiw to install it with twrp or fastboot or whatevrr
Click to expand...
Click to collapse
BlueTower said:
No, I just wanted a better tutorial on hiw to install it with twrp or fastboot or whatevrr
Click to expand...
Click to collapse
How to flash GSIs on devices with dynamic super partition
* Disclaimer * I am not responsible for bricked devices, dead SD cards, thermonuclear war, * or you getting fired because the alarm app failed. Please do some research * before flashing GSI! YOU are choosing to make these modifications, and if *...
forum.xda-developers.com
Can you write a rookie-level tutorial?
As confusing as it sounds it literally is what it is.
BlueTower said:
As confusing as it sounds it literally is what it is.
Click to expand...
Click to collapse
I have been thinking of buying an a22.
Have you got TWRP to install ok?
physwizz said:
I have been thinking of buying an a22.
Have you got TWRP to install ok?
Click to expand...
Click to collapse
Yepp... perfectly works. No issues, efs just might break sometimes like it already did to me and you have to flash stock if you didn't back up efs
BlueTower said:
Yepp... perfectly works. No issues, efs just might break sometimes like it already did to me and you have to flash stock if you didn't back up efs
Click to expand...
Click to collapse
Ok
I might see if I can build a custom kernel for it
Cheese-ass said:
UPDATE
Flash at your own Risk !!!
Tested Working:
Backup
Flash zip
Fastbootd support
Flash gsi roms
Not Working:
Usb Otg
You tell me
How to Flash:
1. Reboot Device to Downloadmode
2. Unlock Bootloader
3. Install adb and Fastboot driver and Device Drivers ( Google will Help )
4. Download the VBMeta-disabled.tar and the twrpa22v3.tar from Attachments
5. Download Odin3 from Attachments and start Odin on PC
6. In Odin Press on Options and untick Auto Reboot
7. Flash VBMeta-disabled.tar with Odin ( In Odin click on AP - select the vbmeta-disabled.tar and press start )
8. After flash vbmeta without errors press on AP and select twrpa22v3.tar and press on start
9. If all is Flashed without errors longpress power and vol- on device
10. instantly after device goes Blackscreen press and hold power and vol+ for 5-8 seconds to boot to TWRP
11. In TWRP press on Advanced - than on Terminal - and write " multidisabler " and press on the blue button
12. repeat step 11
13. press on reboot - than on recovery
How to flash gsi:
Use the google platform tools adb/fastboot Download from Attachments
Boot to TWRP
1. In TWRP press Wipe-Advanced Wipe- select Dalvik, data, cache, metadata and swipe to wipe
2. After wipe go back to main screen and press Reboot- than press Fastboot
3. Device reboots to TWRP with Fastboot Interface
4. now plugin Device to PC open platform tools and execute cmd-here.exe
5. Type : fastboot devices - if no output check your Drivers/Usb connection
6. If device is Found by "fastboot devices" command enter " fastboot flash system PATHTOYOURGSI.img"
maybe it writes :Invalid sparse file format at header magic - but this can be ignored
After flash completed without errors type : fastboot reboot and press enter
GSI Download (Tested and bootable ) :
Only Arm64-BGZ Variants are bootable
( BTW gsi imgs with .xz File Format must be extracted ! Don't simple rename it to .img )
CrDroid 11 (Face-unlock and Fingerprint works)
android 12
Bliss 11
caos11
Credits:
afaneh92 For the a32x Devicetree
View attachment 5409225View attachment 5409227View attachment 5409229
Device Tree base used : https://github.com/mohammad92/android_device_samsung_a32x
Kernelbase is same as my custom Kernel: https://forum.xda-developers.com/t/root-galaxy-a22-sm-a255f--android-11.4329471/
Click to expand...
Click to collapse
Hi there, I'm a noob regarding to this, but I was able to follow this guide successfully for my A225m.
But I'd like to understand what's going on here, can you give an explanation about each step and what does it do?
Also, can the vbmeta flashing be done _without_ Odin? For example using only fastboot (which works on Linux unlike Odin).
itaranto said:
Hi there, I'm a noob regarding to this, but I was able to follow this guide successfully for my A225m.
But I'd like to understand what's going on here, can you give an explanation about each step and what does it do?
Also, can the vbmeta flashing be done _without_ Odin? For example using only fastboot (which works on Linux unlike Odin).
Click to expand...
Click to collapse
https://android.googlesource.com/platform/external/avb/+/master/README.md this is documentation about vbmeta
i think it cant be flashed without odin before twrp is installed
Cheese-ass said:
Not Working:
Usb Otg
You tell me
Click to expand...
Click to collapse
I've been using this for a while in my A225M and the Ambient Light/Proximity sensor doesn't work.
itaranto said:
I've been using this for a while in my A225M and the Ambient Light/Proximity sensor doesn't work.
Click to expand...
Click to collapse
twrp wouldn't cause that
physwizz said:
twrp wouldn't cause that
Click to expand...
Click to collapse
I know, should I report this to https://github.com/eremitein/treble-patches ?
Thank you for following your tutorial, successfully rooting, and flashing the system
There are three problems with crdroid, the dual card manager cannot work quickly, the hotspot cannot be used, and the system cannot mount the phone storage
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <not_my_phone.h>
#include <std_disclaimer.h>
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
TWRP 3.7.0_12.1 - Samsung Galaxy A32 4G
Current Status: Stable-ish
Supported Models:
SM-A325F: tested by @Long266 .
SM-A325M: tested by @Melky777 .
SM-A325N: not tested.
Bugs known so far:
TWRP cannot decrypt userdata if you set lockscreen. (one said it works, other it doesn't, so idk I'll just leave it here, YMMV)
Flashing anything shows many "unlock" red lines. (They are currently harmless by our knowledge).
USB-OTG
<!> There can be many more bugs unknown to me and testers. Report as soon as you face problem.
<!> PSA: I don't have the device to verify some of these bugs.
Download:
TWRP (3.7.0): https://github.com/almondnguyen/twr...a32-20230208/TWRP-3.7.0_12.1-a32-20230208.tar
Samsung USB Driver: https://developer.samsung.com/mobile/android-usb-driver.html
Odin (3.14.4): https://samfw.com/Odin/Samfw.com_Odin3_v3.14.4.zip
Disable VBMeta: https://forum.xda-developers.com/at...236537/?hash=f7249adaefe16f3aeac3256a63063f0a
(Optional) Root using Magisk: https://github.com/topjohnwu/Magisk/releases/
Install:
If you have TWRP or any custom recovery installed and bootable, you can upgrade instead; Look below.
<!> the installation will require WIPING DATA. You will also lose access to all Knox-based solutions like Secure Folder.
Backup every precious data you have on your phone.
<!> PC is required. Windows is preferred. (You probably know what you are doing when using Linux/Heimdall. We don't talk about Macs)
Unlock Bootloader:
Go to Settings > About Phone > About Software. Tap build number (10 times) until "you are now a developer" toast shows up.
Go back, go to Developer Settings.
Turn on OEM unlock toggle.
Turn off your phone, hold vol-up + vol-down, then plug in charging cable (please don't use 3rd-party charging-only cable, it must have data transfer capability).
Your device will boot into download mode with a warning. Accept it.
Hold volume-up until the phone shows the bootloader unlock panel "Unlock Bootloader?".
Press volume-up again. Now your phone bootloader is unlocked.
<!> It will now begin the process of wiping data. Let it do its job.
When it reboots to OS, finish setting up your device.
Double check to make sure OEM Unlock is still ON.
Preparing for the installation:
Download everything above onto your PC.
Install Samsung USB Driver.
Open Odin.
Connect your phone to your PC. There should be a COM entry on the top.
Make sure your phone is in Download Mode. (see step 4 of section Unlock Bootloader)
Make sure that OEM LOCK and REACTIVATION LOCK on your screen show "OFF". If it's not off, DO NOT PROCEED ANY FURTHER.
<!> For those with lock ON, use your device for 7 days without rebooting once. Then check the locks above again.
Installing:
Ensure phone is in Download mode.
In Odin:
Load in Userdata: VBMeta_disabler.tar file.
Load in AP: TWRP TAR file.
Prepare yourself. keep your hand on Volume-up and Power button (don't press yet).
In Odin, press Start. It will flash, then reboot. When the screen turned off, quickly press Vol-up and Power button to boot to recovery (this should take about 20~30 seconds).
<!> You should have TWRP up and running now.
Post-Installation:
MUST: Trigger Multi-disabler.
In TWRP, go to Advanced > Terminal.
Type multidisabler, then enter. If it fails with something about vendor free space, run it again.
Run multidisabler again.
Go to main screen. go to Wipe > Format Data, type yes then swipe.
Reboot to Recovery. Now you can do other stuff.
Should: Backup all vital partitions:
In TWRP, go to Backup
Backup: EFS, Modem, NVRAM.
Enjoy: Reboot your phone to have a rooted stock, install custom stuff or do whatever you want.
Upgrade:
<!> Use when you already have any custom recovery installed (TWRP, SHRP, Ofox and the likes)
Download the tar recovery image, then extract it to get recovery.img
Copy it to phone, then reboot to TWRP (Combo is Power + Volume-up)
Go: Install > Install image > select recovery.img file > select Recovery
Swipe to confirm flashing.
If success, reboot to recovery.
<!> You can also use Odin to upgrade, the steps similar to the Install section. All Post-installation, if already done, is unnecessary to do again.
GSI and related stuff:
GSI should be directly flashable now. Big credit to @Long266
Install TWRP, do all the instructions.
Download a GSI. Phh's is a good start.
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
If downloaded a compressed file (the extension is not .IMG; e.g: `gsi.img.gz` ), extract it to get an IMG file. Copy the IMG file to your phone.
Reboot into TWRP.
Tap Install > Install Image > Select your GSI .img file.
Select System Image, then flash.
If previously you were on stock, Wipe > Format data.
Reboot System.
Profit.
Source codes:
Kernel: https://github.com/long266/android_kernel_samsung_a32/tree/s
TWRP device: https://github.com/almondnguyen/twrp_device_samsung_a32/tree/twrp-12.1
Credits:
Devs involved in the making and maintaining of TWRP, twrpdtgen, Magisk and base software.
All the Testers.
@Long266 as tester, collab-dev.
@ianmacd for multidisabler.
@afaneh92 for a32x base tree and MTK-Samsung multidisabler.
@dronkit and @Mighty_Rearranger for Magisk-IMEI fix on MTK devices.
@klfld for GSI installation guide.
Older Release(s):
TWRP 3.6.2_12.1-20220703: https://github.com/almondnguyen/twrp_device_samsung_a32/releases/tag/TWRP-3.6.2_12.1-a32-20220703
TWRP 3.6.2_12.1-20220528: https://github.com/almondnguyen/twrp_device_samsung_a32/releases/twrp-3.6.2_12.1/
TWRP 3.6.1_11: https://github.com/almondnguyen/android_OTA/releases/TWRP-3.6.1_11-a32-B20220324
Footer Infos:
Status: Beta
Current Stable Version: 3.7.0_12.1
Created: 2022-03-24
Last Updated: 2022-07-03
chmod 550 /mnt/vendor/nvdata/md/NVRAM/NVD_IMEI must run on OS, not TWRP, since TWRP cannot mount /mnt
I can't install large IMG files to internal memory? For example a gsi?
Melky777 said:
I can't install large IMG files to internal memory? For example a gsi?
Click to expand...
Click to collapse
I should clarify that I don't own the device and all the testing was/is done by @Long266 .
These specific questions should be inquired to him instead (on his thread here: https://forum.xda-developers.com/t/...hawk-recovery-project-3-1-2021-03-24.4420469/ ).
Anyways, the bug that you are mentioning means that you can't flash images FROM internal SD card. GSI and image stuff should be flashable from other places like external SD or cache. Zip files are so far working as intended (as is they are flashable from anywhere).
To be fair, there could be flaws in his testing methodology and you should try it yourself.
Thanks Bro
I will owe the test of the A325M. I have no SD card at the moment.
Build 2022-03-25 changes:
Add backup entry for NVRAM, so in case Magisk messes up you still have a working copy intact.
Fix flashing image causing file size exceeded limit.
Updated TWRP Link, previously pointing to dead end.
It worked fine on the A325m, but I had NULL errors when I went to do some actions, and the USB OTG is not working!
Melky777 said:
It worked fine on the A325m, but I had NULL errors when I went to do some actions, and the USB OTG is not working!
Click to expand...
Click to collapse
can u send recovery.log ?
Melky777 said:
It worked fine on the A325m, but I had NULL errors when I went to do some actions, and the USB OTG is not working!
Click to expand...
Click to collapse
just skip NULL errors
How to update the TWRP version if it is already installed?
Is it enough to just flash the new TWRP version in Odin?
Or do I need to do the same steps as with the first installation (i.e. multidisabler, etc)?
YellowSM said:
How to update the TWRP version if it is already installed?
Is it enough to just flash the new TWRP version in Odin?
Or do I need to do the same steps as with the first installation (i.e. multidisabler, etc)?
Click to expand...
Click to collapse
You can use the "install Image" under TWRP.
From the <!> For more info part, download .img file instead, copy it to your phone. Then go to TWRP > Install > Install Image > select TWRP img > select Recovery to flash.
If you've done, Post-installation steps are unnecessary to do again.
edit: upgrade section added to main post.
How to deactive KC Client and
Knox Enrollment Service?
Hi, I wanted to try a GSI with this, is it safe to try it? Thanks for developing this TWRP, I can help with testing too.
Okay, I tested flashing phh's AOSP GSI, TWRP doesn't have the entry to flash to the dynamic partitions (system, vendor, product, etc). It can flash only to the super partition. Tried to flash the GSI there just in case, but i get a bootloop obviously. Restored successfully through ODIN. I wont test magisk because I don't want to lose IMEI.
klfld said:
Okay, I tested flashing phh's AOSP GSI, TWRP doesn't have the entry to flash to the dynamic partitions (system, vendor, product, etc). It can flash only to the super partition. Tried to flash the GSI there just in case, but i get a bootloop obviously. Restored successfully through ODIN. I wont test magisk because I don't want to lose IMEI.
Click to expand...
Click to collapse
try flashing via fastboot!
I saw a video of a Brazilian doing it on the A22
Long266 said:
can u send recovery.log ?
Click to expand...
Click to collapse
On the same day I removed the twrp and blocked the bootloader.
Melky777 said:
try flashing via fastboot!
I saw a video of a Brazilian doing it on the A22
Click to expand...
Click to collapse
I could install the Lineageos 19.1 GSI! I had to use this zip as a workaround ChonDoe_Flasher.zip, that allows flashing dynamic partitions even if the TWRP doesn't. I also made a treble overlay for this device (vendor.img), that fixes power profiles and all this stuff, ill upload it now if anyone is interested.
To flash the GSI you have to rename the .img file to system.img, put it in the same location than the zip and flash the zip. I have the scripts inside the zip to check if it didnt do anything weird and the source code seems safe, tried two GSIs today.
What doesnt work with the Lineage GSI or phh's AOSP is MTP and the fingerprint reader. Also i can't get encryption to work, the GSI crashes if i don't use multidisabler to remove encryption from the fstab. Everything else works flawlessly from my testing.
For file transfer i'm using ADB with this tool, it's even faster than MTP somehow Python ADB File Explorer
EDIT: Uploaded vendor.img with the overlay for this device, ill push the changes to github later.
Download here: vendor.img
klfld said:
I could install the Lineageos 19.1 GSI! I had to use this zip as a workaround ChonDoe_Flasher.zip, that allows flashing dynamic partitions even if the TWRP doesn't. I also made a treble overlay for this device (vendor.img), that fixes power profiles and all this stuff, ill upload it now if anyone is interested.
What doesnt work with the Lineage GSI or phh's AOSP is MTP and the fingerprint reader. Also i can't get encryption to work, the GSI crashes if i don't use multidisabler to remove encryption from the fstab. Everything else works flawlessly from my testing.
Click to expand...
Click to collapse
Very good job!!!
Makes a topic, I think I'm not the only one who wants to install a GSI.