Related
The objective of this post is to explain how to currently install a custom ROM in our device. (for total newbies like me, you can also refer -among others- to my previous post). I give the general procedure which wipes everything in your device, but you can check various precious posts in xda that variate this procedure.
The codename for our device is "pollux_windy", which is the Wifi-only version. The LTE version (I should probably get the LTE!) is "pollux" and I suppose the general procedure (with the corresponding firmwares to your specific device) will work for any Xperia device. You can also get the general idea from this post.
As a general rule of thumb do not forget after/before every firmware flashing to:
Enable developer mode (explained here)
Enable the USB Debugging mode (explained here)
Trust installation from unknown sources (explained here)
Steps.
A. Unlock the bootloader.
You can refer here and then check that it is successfully unlocked with these steps (taken from here ):
Open the Contacts app.
Click the menu button.
Click Settings.
Long press (for about 5 seconds) somewhere in the empty space just above status bar, as indicated by the red frame in the screenshot below, and then release your finger. A button named Enter service code will then appear in the same area (this may take a few tries).
Click Enter service code. A dialler will appear.
Dial *#*#7378423#*#* . Then go to -> "Service Info" -> "Configuration". If there is:
Bootloader unlock allowed - Yes << this means that your Bootloader is Locked
Bootloader Unlocked - Yes << this means that your bootloader is unlocked
B. Flash a firmware in which you will root the device
Download/install FlashTool.
Download and place to the FlashTool's folder "firmwares" the firmware "SGP312_10.5.A.0.230_VMo UK_IE.ftf". More information here . In sort, download and extract http://d-h.st/MrI and http://d-h.st/ULc
Open FlashTool and connect the powered-off device (USB cable) in Flashmode, holding the Volume Down button while you plugin the usb cable. The FlashTool should say that it is connected in Flashmode. Then flash the 10.5.A.0.230 firmware in it.
C. Gain root to the new firmware
Open the device, complete the setup wizard and connect to a wireless network. You do not have to setup the Google Account since you can download every application googling the respective APK files, but Google Play is easier to use.
Get (click λ) the towelroot APK, install it and run it (click "make it rain"). You should have root, which you can check with a Root Cheker like this one.
Download/Install SuperSU APK (this is actively developed, while SuperUser is abandoned at the moment) as described here.
D. Install a Recovery to easily flash new ROMs
NUT has done excellent work with XZDualRecovery.Follow the instructions for installing it in his thread. In short:
Download the installer, run it and follow its instructions.
Select SuperSU and of course grant access to your computer from your tablet (watch the tablet screen).
E. Download a Custom ROM and Google Apps
I had problems with Cyanogenmod (versions 11 and 12) that I cannot explain. I had no GPS and no media sound from the speakers, but I did have "notifications" sound! I could listen to "media" sounds using headphones, though. So I tried the nightly OmniROM which seems very stable and fast at the moment, with no sound problems and also has a working GPS! You can get it directly from their site (the NIGHTLY I downloaded is omni-4.4.4-20150223-pollux_windy-NIGHTLY.zip which runs just fine). Somewhere I read that PacMan ROM - also works perfectly but I have not tested it yet.
I had device recognition problems from the Recoveries ("Status 7 Error") that I think dear NUT will solve promptly. What I did to solve them is
Upack the ROM zip.
Remove the first line (from assert(...); till the column) of META_INF/com/google/android/updater-script and save the file.
repack the ROM to a zip.
Then copy this zip to your external SD card. If you need google apps (you probably do, to use Google Play instead of other applications like Aptoide), you will also need to download and place to your external SD card the corresponding google apps from here - (I found it in this post - which also explains the different gapps versions)
F. Install the Custom ROM
So now that both the ROM and (optionally) gapps are in the device's SD card:
Enter the Recovery while repeatedly pressing Volume Up or Down while the device boots.
Wipe everything (except the external SD card, obviously --- if you delete the zip files by mistake you must begin again from step B. using the FlashTool to flash the *.230* ftf).
Reboot and setup/enjoy your new ROM.
It seemed that with OmniROM I had lost root access so I had to reinstall SuperSU. I did this by downloading the flashable/installable zip - and flashing/installing it through the recovery.
In the end a did a full backup with the TWRP recovery and one with Titanium backup
Magnus_E said:
The objective of this post is to explain how to currently install a custom ROM in our device. (for total newbies like me, you can also refer -among others- to my previous post). I give the general procedure which wipes everything in your device, but you can check various precious posts in xda that variate this procedure.
Click to expand...
Click to collapse
For installing customs (CM/AOSP/GPe based ROM's), you don't need to install .230 firmware, furthermore you don't need root (except for backup TA procedure), furthermore you don't need XZDualRecovery (cause it works only for Stock and Custom STOCK based rom's - see this post).
So you you only need to flash kernel via fastboot, and then enter recovery (integrated in kernel), and install .zip with custom, SuperSU and Gapps from there.
hello i was following this guide but im stuck on status 7 error, i tried deleting assert but the twrp recovery dont get any answer to "getprop ro.product.device" and it just doesnt proceed...
and Rootk1t i cant find any kernels flashable via fastboot or flashtool can you point one to me? all of the kernels i see are in '.zip's .... i want to have android 6.0 so i think i should have black kernel but how?
bluealef said:
hello i was following this guide but im stuck on status 7 error, i tried deleting assert but the twrp recovery dont get any answer to "getprop ro.product.device" and it just doesnt proceed...
and Rootk1t i cant find any kernels flashable via fastboot or flashtool can you point one to me? all of the kernels i see are in '.zip's .... i want to have android 6.0 so i think i should have black kernel but how?
Click to expand...
Click to collapse
.zips are installed through recovery, .ftf through flashtool.
6.0.1 ROM you can find here.
hey guys i found custom ROM for d858hk version which is here
http://bbs.gfan.com/android-7892224-1-1.html
can be translated through Google but we need someone to explain to us in details.
I might able to help, I can read Chinese
let me know if you want any explanations.
it's based on lollipop 20d
- v1.0 LED not working, and this v2.0 fixed the problem
- rooted, superSU v2.46
- once you flashed the ROM, no need to flash the ROOT again
- busybox is in the system and no app not there
- works on D857 858 and 858HK
- it's a LIGHT version, there are functions that are deleted, like weather widget for example
- including deleted app inside the ROM, and could recover yourself
- app can write data to external SD card
- split view works for 3rd party app
- smart cover function removed, user can download the "deleted app" and put back into the system to get it working
deleted apps
http://pan.baidu.com/s/1mg86X6o
HOW TO FLASH
FOR D858HK
1. ROOT
2. install TWRP 2.8.1.0
3 Reboot to TWRP 2.8.1.0 and upgrade it to 2.8.5.1
4. Flash ROM using this newest TWRP
D857 and D858
1. ROOT
2. download build.prop.zip, extract, using ES explorer to replace the one in "system" folder
3 flash D858HK 's TOT (http://bbs.gfan.com/android-7502599-1-1.html)
4.install TWRP 2.8.1.0
5. Reboot to TWRP 2.8.1.0 and upgrade it to 2.8.5.1
6. Flash ROM using this newest TWRP
Do "double wipe" after flashing the ROM, otherwise might have FC messages
Thanks alot i think this will help ...will try it now
but can we install twrp when in lollipop as i am now on lollipop
any ideas?
maybe these
http://bbs.gfan.com/android-7677473-1-1.html
one click Recovery installation
need to be rooted
1. extract files to computer
2 connect phone
3 turn on usb debugging
4. run Recovery.bat
---------------------------------------
old temp way, didn't say if it works on L or only KK
http://bbs.gfan.com/android-7727191-1-1.html
So...can any of you fluent Chinese speakers/readers help with the actual downloading of the ROM? It seems the rom is available at http://pan.baidu.com/s/1mg86X6o, but I get a little overloaded and can't figure out how to download from there. It seems to want me to log in, but I can't figure out if there's a non-login download ability lurking somewhere?
Do you have some screenshoots ?
Two things. First, I had the wrong link before. Correct one is: http://pan.baidu.com/s/1sjoKe4l. Second, I realized the reason is that the zip file is over 1GB and they force you to a "download butler". So the login thing is related to copying that file into your (QQ, for example) account and then you could download the file from there.
If anyone with a D858HK is interested, I was able to install this custom rom on my phone without any problems. I followed steps elsewhere to root (the one click version) and install TWRP. The rom is basically a slim version of the standard lollipop rom. If you end up deciding to install this, be aware that the Google Contact Sync app is not included within the rom and you'll need to also download the "deleted apps" zip file mentioned in the same post (link in OP). In the "deleted apps" zip, you'll want to grab the Gooogle Contact Sync apk and install that ... otherwise you can't get your contacts copied to the new rom. There were a bunch of other apks, but this one the only one so far that seemed like it shouldn't have been removed from the rom.
FYI, here are the version details of the rom:
Android version: 5.0.1
Baseband version: MPSS.DI.3.0.c6.2-00011-M8974AAAAANAZM-1
Kernel version: 3.4.0
Build number: (some chinese)1121561(more chinese)
Software version: D858HK20d-HKG-XX
So in total its not worth installing it? But anyway, thanks for your report!
silencer1979 said:
So in total its not worth installing it? But anyway, thanks for your report!
Click to expand...
Click to collapse
I guess that depends on how easy it is to remove LG's bloatware and whether or not you need all/any of it. I personally didn't care for it anyway. But yeah, other than that, nothing special about the rom.
There were a bunch of other apks, but this one the only one so far that seemed like it shouldn't have been removed from the rom.
i believe there's a thread somewhere in this forum (http://bbs.gfan.com/forum-1508-type-10913.html) regarding d858 MIUI, could someone confirm? Thanks
Edit
twrp flashh from MM
has anyone successfully flashed TWRP from an MM rom i tried it and i got bricked and i cant seem to find one for MM only for LP
Lg g3 d858hk
Hey, did you install? There is a problem or not? All programs worked fluently?
xdax1 said:
let me know if you want any explanations.
it's based on lollipop 20d
- v1.0 LED not working, and this v2.0 fixed the problem
- rooted, superSU v2.46
- once you flashed the ROM, no need to flash the ROOT again
- busybox is in the system and no app not there
- works on D857 858 and 858HK
- it's a LIGHT version, there are functions that are deleted, like weather widget for example
- including deleted app inside the ROM, and could recover yourself
- app can write data to external SD card
- split view works for 3rd party app
- smart cover function removed, user can download the "deleted app" and put back into the system to get it working
deleted apps
http://pan.baidu.com/s/1mg86X6o
HOW TO FLASH
FOR D858HK
1. ROOT
2. install TWRP 2.8.1.0
3 Reboot to TWRP 2.8.1.0 and upgrade it to 2.8.5.1
4. Flash ROM using this newest TWRP
D857 and D858
1. ROOT
2. download build.prop.zip, extract, using ES explorer to replace the one in "system" folder
3 flash D858HK 's TOT (http://bbs.gfan.com/android-7502599-1-1.html)
4.install TWRP 2.8.1.0
5. Reboot to TWRP 2.8.1.0 and upgrade it to 2.8.5.1
6. Flash ROM using this newest TWRP
Do "double wipe" after flashing the ROM, otherwise might have FC messages
Click to expand...
Click to collapse
My LG-D858HK phone hard bricked:
What happened/how I hard bricked the phone. I'd already rooted the phone with Marshmallow and then tried to flash phone TWRP by (mistakenly) using https://play.google.com/store/apps/details?id=b007.autorecd858hk when it hard bricked the phone. Now, the phone screen is black/blank and blue/red LED light flashing.
In addition, my PC doesn't recognise phone when plugged into USB port/s. Pop-up on PC screen says; “The last USB device you connected to this computer malfunctioned and windows do not recognize it.” And in Device Manager, I see a ‘yellow triangle’ next to LGE Platform Android Composite USB Device Driver.
I tried different methods to go into download mode and I’m not sure if any worked. Because, obviously, I can’t see anything on the phone screen to carry out procedures to fix phone in download mode. Moreover, I’m not even sure if the phone goes into download mode apart from a sound made from PC and the pop-up straight after.
PC always recognised phone when plugged into USB port/s before it was hard bricked.
Hello community!
First of all, I feel I have to apologize to you all since I know I have clogged the forum with a lot of requests of help about upgrading my smartphone... They are scattered all over the place so I have decided to gathered in a definitive one.
I have edited this post to make it a comprehensive guide for all the people who want to upgrade their HUAWEI P8 LITE ALICE from the stock Android 5.0.1 to the Resurrection Remix N v5.8.5. Before go any further I want you to read the following disclaimer:
PLEASE PLEASE PLEASE READ THIS!!
I am not a developer. I am not a programmer. I have been greatly helped by the user Botar230 so, unfortunately, I cannot help you in case of problems. I myself had problems and had to ask for help. The only thing I can say is to be always polite and try to explain, as best as you can, what's going on.
I will try to be as much clear as possible here but keep in mind that english is not my native language so it is possible that I might mistaking something. My apologize. I am not responsible for any damage you may do to your mobile and I am not responsible to any data loss it may occur. You should ALWAYS do a backup before proceeding. ALWAYS.
I've decided to flash Resurrection Remix N v5.8.5. because it is pre-rooted with Magisk.
BEFORE start to upgrade your mobile, read all this post twice and be sure to understood all the things I have written here. Check the links, check if you have the correct files, check if your mobile is fully charged, check if the bootloader is unlocked, check if you have the right ADB files and drivers downloaded and installed. Please do it BEFORE you start everything.
Done? Everything is fine? So, here we go!
GOAL: Moving from stock Android 5.0.1 to Resurrection Remix N v5.8.5.
MY MOBILE: Huawei P8 Lite ALICE (ALE-L21) unbranded single SIM - Build number: BalongC50B311 - Kernel 3.10.61-gcd3fde7 - EMUI 3.1
BOOTLOADER STATUS: unlocked, checked via ADB
The build number and the kernel number might differ. You should check them carefully and search around this forum how to proceed properly. Also, I totally don't know what to do if you have a double SIM phone. Sorry.
These are the files I have downloaded and put on the MicroSD before starting the whole process:
b895_update.zip
open_gapps-arm64-7.1-nano-20180702
RR-N-v5.8.5-20180302-alice-OpenKirin.zip
The file TWRP_3.1.1-0_ALICE_BL.img have to be put in the same directory where adb.exe is since you will flash it via adb command: fastboot flash recovery TWRP_3.1.1-0_ALICE_BL.img once you have entered in fastboot mode AND you have checked that your bootloader is unlocked.
Now, the next steps that worked for me are:
install TWRP_3.1.1-0 via ADB
Factory reset (Wipe -> Swipe to wipe)
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed or via sideload as suggested by Botar230. I find myself comfortable to use ADB.)
install again TWRP_3.1.1-0_ALICE_BL via ADB or via sideload
Flash RR-N-v5.8.5-20180302-alice-OpenKirin) via TWRP AND at the same time...
Flash Open Gapps via TWRP. You HAVE TO USE THE ARM64 - 7.1 VERSION!!!
Reboot your device. It is done! :good:
NOTE!! Updating the phone to b895 will take really a lot of time. Seriously. It might be scary but it's ok. It will update EMUI too.
NOTE!! When you install TWRP via ADB, the TWRP_3.1.1-0_ALICE_BL.img file MUST BE in the same directory where the adb.exe file is.
At this point, everything should be fine, working and squeaky clean!
The ROM is pre-rooted with Magisk and that's pretty cool!
At this point I think my brief tutorial is over. If you find out something important missing or wrong, please point it out! It will help other people! Thank you!
Some links about ADB that I found quite useful:
How to Install TWRP Recovery via Fastboot On Any Android Device
How to Use ADB & Fastboot Commands with your Android Device
ADB Shell
Once again I have to thank the immense patience of BOTAR230 and all the people that worked so hard to make everything possible: I mean the guys (and gals? Maybe, I don't know... ) behind the Resurrection Remix ROM, behind the TWRP project and the Open Gapps and the many more I probably forgot! Thanks everyone!
DaGreatAssyr said:
Hello community!
First of all, I feel I have to apologize to you all since I know I have clogged the forum with a lot of requests of help about upgrading my smartphone... They are scattered all over the place so I have decided to gathered in a definitive one.
Next, I am quite insecure on all the steps so I will try to make a comprehensive list and keep it updated hoping it will help all the Huawei P8 Lite ALICE users that will do the same process I am about to do. Let's proceed!
GOAL: Moving from stock Android 5.0.1 to OpenKirin's MoKee
MY MOBILE: Huawei P8 Lite ALICE (ALE-L21) unbranded single SIM - Build number: BalongC50B311 - Kernel 3.10.61-gcd3fde7 - EMUI 3.1
BOOTLOADER STATUS: unlocked, checked via ADB
Now, the next steps would be to root the mobile. My wild guess are
install TWRP_3.1.1-0_ALICE_BL via ADB
install Magisk to root Android 5.0.1
At this point I am not perfectly sure if those steps are right AND if Magisk is the right choice to root Android 5.0.1 on my mobile. Are there other ways to do that?
Once the device is rooted, the next steps should be:
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed)
install again TWRP_3.1.1-0_ALICE_BL via ADB
install again Magisk to root Android 6.0
install pa_alice-7.3.1-EOL-20180203 (or RR-N-v5.8.5-20180302-alice-OpenKirin)
That's the theory. I've used SR5-SuperSU-v2.82-SYSTEMMODE but it bricked the phone after I updated to Android 6.0 and the user Botar230 told me that it is no longer updated and used and suggested me to use Magisk instead.
The files I have are:
b895_update.zip
open_gapps-arm-7.1-stock-20180626.zip
RR-N-v5.8.5-20180302-alice-OpenKirin.zip
pa_alice-7.3.1-EOL-20180203.zip
TWRP_3.1.1-0_ALICE_BL.img
Previously, I have updated my device to Android 6.0 and installed TWRP 3.1.1-0 and everything went really good. When I tried to root the phone with SuperSU-v2.82, it bricked. Now the phone is restored to its initial conditions, brandless.
I have read THIS POST but it's pretty old and most of the link there are not working anymore.
So, if someone is kindly willingly to give me a hand (yeah, another one, I know... ) on this subject, I'd really appreciate it. Again.
Thanks in advance!
Click to expand...
Click to collapse
I didn't fully understand you, so I'll write a quick guide how to move from stock android 5.0.1 to any other custom ROM (I've read that you already unlocked your bootloader and flashed twrp so I'll skip those two)
First of all, use this version of TWRP.
1. Boot into TWRP
2. Factory reset (Wipe -> Swipe to wipe)
3. Flash B896 update (B895 is fine too)
4. Flash TWRP (Install -> Select image -> Recovery)
5. Flash a custom ROM of your choice
6. Flash Open GAPPS (I recommend flashing NANO version)
7. (Optionally) Flash Magisk if your custom ROM isn't pre-rooted (if unsure, check the root status before flashing)
Fun fact: You don't need to put every file on SD card to flash it. You can also use sideload
Botar230 said:
I didn't fully understand you, so I'll write a quick guide how to move from stock android 5.0.1 to any other custom ROM (I've read that you already unlocked your bootloader and flashed twrp
Click to expand...
Click to collapse
Hello Botar230! At the present time, I only unlocked the bootloader.
No TWRP installed so far.
Thank you for adding some steps I have missed (like the factory reset and the GApps! :good: )!!
The TWRP version I have is the same you suggested me so this is fine!
Yes, now that I think about, nearly all the custom ROM are pre-rooted and there's an option to switch the root in the setting panel but I will check it eventually.
I have make corrections in my list after your suggestion:
install TWRP_3.1.1-0_ALICE_BL via ADB
Factory reset (Wipe -> Swipe to wipe)
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed or via sideload)
install again TWRP_3.1.1-0_ALICE_BL via ADB or via sideload
install pa_alice-7.3.1-EOL-20180203 (or RR-N-v5.8.5-20180302-alice-OpenKirin)
Flash open_gapps-arm-7.1-nano-20180630
Check whether the ROM is rootable and eventually flash Magisk
The files I have are:
b895_update.zip
open_gapps-arm-7.1-stock-20180626.zip (I will not use these)
open_gapps-arm-7.1-nano-20180630.zip (I will use these one! )
RR-N-v5.8.5-20180302-alice-OpenKirin.zip
pa_alice-7.3.1-EOL-20180203.zip
TWRP_3.1.1-0_ALICE_BL.img
Everything looks good now. Btw you don't need to flash nano gapps exclusively, it's just a matter of your personal preference which one you choose.
Sent from my LG-K220 using XDA Labs
Botar230 said:
Btw you don't need to flash nano gapps exclusively, it's just a matter of your personal preference which one you choose.
Click to expand...
Click to collapse
To be honest, I don't know what to choose between all the options I have seen on the website. Let's say that if the installation works properly it's a matter of seconds to make a backup and try another Gapp. For the moment I will follow your suggestion.
That's what I have done so far:
install TWRP_3.1.1-0_ALICE_BL via ADB DONE AND OK!
Factory reset (Wipe -> Swipe to wipe) DONE AND OK!
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed or via sideload) DONE AND OK!
install again TWRP_3.1.1-0_ALICE_BL via ADB or via sideload DONE AND OK!
Everything is working fine so far but I am a little bit nervous about these one. I will take a deep breathe and I will proceed right now. I can flash the ROM and the Gapps with TWRP, right? I am mostly sure about but a confirm could ease my fear of bricking the phone again... :silly:
install pa_alice-7.3.1-EOL-20180203 (or RR-N-v5.8.5-20180302-alice-OpenKirin)
Flash open_gapps-arm-7.1-nano-20180630
Check whether the ROM is rootable and eventually flash Magisk
DaGreatAssyr said:
To be honest, I don't know what to choose between all the options I have seen on the website. Let's say that if the installation works properly it's a matter of seconds to make a backup and try another Gapp. For the moment I will follow your suggestion.
That's what I have done so far:
install TWRP_3.1.1-0_ALICE_BL via ADB DONE AND OK!
Factory reset (Wipe -> Swipe to wipe) DONE AND OK!
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed or via sideload) DONE AND OK!
install again TWRP_3.1.1-0_ALICE_BL via ADB or via sideloadDONE AND OK!
Everything is working fine so far but I am a little bit nervous about these one. I will take a deep breathe and I will proceed right now. I can flash the ROM and the Gapps with TWRP, right? I am mostly sure about but a confirm could ease my fear of bricking the phone again... :silly:
install pa_alice-7.3.1-EOL-20180203 (or RR-N-v5.8.5-20180302-alice-OpenKirin)
Flash open_gapps-arm-7.1-nano-20180630
Check whether the ROM is rootable and eventually flash Magisk
Click to expand...
Click to collapse
Yes, everything is correct.
Sent from my LG-K220 using XDA Labs
Botar230 said:
Yes, everything is correct.
Click to expand...
Click to collapse
First of all, thank you for your immense patience!!
That's what happened so far:
install TWRP_3.1.1-0_ALICE_BL via ADB DONE AND OK!
Factory reset (Wipe -> Swipe to wipe) DONE AND OK!
update the device with b895_update to get Android 6.0 and EMUI 4 (by putting b895_update on the SD card and flash it via TWRP previously installed or via sideload) DONE AND OK!
install again TWRP_3.1.1-0_ALICE_BL via ADB or via sideload DONE AND OK!
install pa_alice-7.3.1-EOL-20180203 (or RR-N-v5.8.5-20180302-alice-OpenKirin) DONE AND OK!
I had to install the open_gapps-arm64 since the system required the ARM64 but apart that...
Flash open_gapps-arm64-7.1-stock-20180630.zip DONE BUT NOT OK! - I've tried to install the NANO and the STOCK Gapps but every time I got the same error message on TWRP: "failed to mount data: operation not supported on transport endpoint". Google Play and all the Google apps cannot connect: the Google error message is always the same: "couldn't sign in". I've double checked the login and they work both on my PC and on the other phones so I'm sure they are correct. Now I'm searching what kind of error it is but I'm not finding much infos about. Plus, there is the warning message saying that "Google Play services has stopped" and it keeps popping on the screen.
Check whether the ROM is rootable and eventually flash Magisk NOT DONE YET but it seems that it is not pre-rooted.
I am searching the web to understand what's going on here.
It's probably because the custom ROM that you've chosen uses f2fs file system on /data partition instead of ext4. Try to do this:
Boot to TWRP -> Wipe -> Advanced wipe -> Choose Data -> Repair or change file system. From here you can see if the file system of /data is ext4 or f2fs. If it's f2fs, then click Change file system and choose ext4.
Before doing all of this, you should flash b895 again, do a factory reset, flash twrp, flash your custom ROM, change /data file system, and finally gapps so there will be no conflicts between old and new gapps.
Hello again!
Sorry for the silence, got some busy day but here I am.
Before doing what you told me, I've tried to do a backup with TWRP and I've been flooded with error messages:
failed to mount '/data' (Operation not supported on transport endpoint)
Unable to recreate /data/media folder
Unable to mount storage
failed to mount '/data' (Operation not supported on transport endpoint)
Unable to mount /data/media/TWRP/.twrps
And, of course, the backup process failed.
At this point I cannot do anything with TWRP.
I cannot backup, cannot flash a ROM or a ZIP.
The phone works fine, it boots and I got no problems. I can boot it via ADB too.
I'm really scared it will brick or loop sooner or later. I am keeping it turned off and wait for any other advice before proceeding since it would be quite pesky to restart from scratch again....
Following your directions I've seen that the data file system is ext3.
DaGreatAssyr said:
Hello again!
Sorry for the silence, got some busy day but here I am.
Before doing what you told me, I've tried to do a backup with TWRP and I've been flooded with error messages:
failed to mount '/data' (Operation not supported on transport endpoint)
Unable to recreate /data/media folder
Unable to mount storage
failed to mount '/data' (Operation not supported on transport endpoint)
Unable to mount /data/media/TWRP/.twrps
And, of course, the backup process failed.
At this point I cannot do anything with TWRP.
I cannot backup, cannot flash a ROM or a ZIP.
The phone works fine, it boots and I got no problems. I can boot it via ADB too.
I'm really scared it will brick or loop sooner or later. I am keeping it turned off and wait for any other advice before proceeding since it would be quite pesky to restart from scratch again....
Following your directions I've seen that the data file system is ext3.
Click to expand...
Click to collapse
Don't worry, it won't brick. Maybe the internal storage is encrypted. In order to remove encryption, go to Wipe -> Format data.
Hello Botar230! Something funny (in a very positive way) happened! I did as you told me: I booted in recovery mode and went to WIPE -> FORMAT DATA.
Then I considered to install the other ROM I had, RR-N-v5.8.5-20180302-alice-OpenKirin and it has been the best idea I could have!!! :laugh:
After I formatted the data, I rebooted in recovery mode and checked that the problems where all disappeared and they actually did. Then I flashed the OpenKirin ROM and the Nano Gapps you told me.
SURPRISE SURPRISE the OpenKirin ROM is pre-rooted with Magisk 15.3 and the installation, this time, went perfectly fine without any trouble! Plus, Magisk updated to the latest version, the 16!
As I promised, I will now update my first post on how to upgrade my mobile phone hoping it will be useful for someone else but first I want to enjoy my brand new phone!
And, of course, I want to thank you for all the support you gave me in these days! You have been really patient and kind! I am really sorry I cannot help you back since (as you have noticed...) I am not much of an expert so all I can give you is my gratitude and thankfulness! THANK YOU 1000 TIMES BOTAR!! :highfive:
You're welcome. Have a nice day! :highfive:
Sent from my LG-K220 using XDA Labs
Is anyone able to run TWRP on P580 running Oreo?
Im having problems with my Tab stuck on a black screen instead of recovery mode.
Please help.
Thanks!!
I found a solution if you don't need TWRP, only Magisk or Root. (Using sm-p580 german version P580KXU1CRJ7)
Short Version:
Install Magisk without TWRP with odin in AP section(google it)
Problem is: Once booted up it will tell you that you have to reset your device because the system recognizes that you modified something.
Solution: Just click on the reset button( Magisk will still be there afterwards).
Long Version
Flash the Oreo firmware onto your device.
Set it up (turn on USB debugging) (or dont, I believe you dont need it for download mode ?)
Unzip the AP part of the firmware you have flashed. You may need a modified version of 7-zip, I needed it, because it couldn't unzip lz4.
Google mcmilk 7 zip and download the github release (I hope I'm allowed to reference it, CREDIT goes to MILKY)
You need the boot.img.
Now install Magisk Manager apk.
Under its settings check " .img.tar" under "return of patched boot-images" (Something like that, mine is german)
Click on install in Magisk Manager apk.
Select make thing with boot img, use the boot.img you have extracted and copied onto your phone.
Magisk will create new patched boot img automatically, copy the finished one u find under your main storage in downloads to your pc.
Go into download mode and flash new boot.img with odin using the AP tab.
Now do the things I described in the Short Version
Afterwards install Magisk Manager Apk.
You need internet connection, because it will prompt you to allow installing additional stuff.
A message from some Security App will appear, that something is wrong.
And your device will get laggy and restart.
After that the lag will disapear
I like to use Bk disabler to remove bloatware/ other stuff to flash or back up your device
(Please dont remove any of the 3 phone apks, on Nougat it worked to remove two of them, but oreo will continuously give an error message <- I found out that you can uninstall two of them, but dont uninstall the storagedial-programm thats what gives the errormessage.)
Hope it will help you!
Worked !!!
Thank you dear. Its worked for mine in p585 oreo android....
Anyone can search mcmilk 7zip in google and download program to extract boot.img.lz4 and get boot.img :good:
use the last TWRP for Oreo.
old version makes black screen or red stripes.
go in download-mode (power+home+vol-) and install the last TWRP over with Odin.
for Oreo use the last Odin 3.13
it tested, i had the same problem :fingers-crossed:
Latest twrp dose not worked on my device but this solution work fine
I can confirm that this method does work. I used it on my SM-P580 yesterday. I would suggest that you first backup your all of your apps, contacts, photos, etc using SmartSwitch. You will need to restore everything after the tablet tells you that it needs to be reset because it wipes everything. After the restore, you will need to enter all of your accounts and passwords again but at least all of the data will be back.
amosdinh said:
I found a solution if you don't need TWRP, only Magisk or Root. (Using sm-p580 german version P580KXU1CRJ7)
Short Version:
Install Magisk without TWRP with odin in AP section(google it)
Problem is: Once booted up it will tell you that you have to reset your device because the system recognizes that you modified something.
Solution: Just click on the reset button( Magisk will still be there afterwards).
Long Version
Flash the Oreo firmware onto your device.
Set it up (turn on USB debugging) (or dont, I believe you dont need it for download mode ?)
Unzip the AP part of the firmware you have flashed. You may need a modified version of 7-zip, I needed it, because it couldn't unzip lz4.
Google mcmilk 7 zip and download the github release (I hope I'm allowed to reference it, CREDIT goes to MILKY)
You need the boot.img.
Now install Magisk Manager apk.
Under its settings check " .img.tar" under "return of patched boot-images" (Something like that, mine is german)
Click on install in Magisk Manager apk.
Select make thing with boot img, use the boot.img you have extracted and copied onto your phone.
Magisk will create new patched boot img automatically, copy the finished one u find under your main storage in downloads to your pc.
Go into download mode and flash new boot.img with odin using the AP tab.
Now do the things I described in the Short Version
Afterwards install Magisk Manager Apk.
You need internet connection, because it will prompt you to allow installing additional stuff.
A message from some Security App will appear, that something is wrong.
And your device will get laggy and restart.
After that the lag will disapear
I like to use Bk disabler to remove bloatware/ other stuff to flash or back up your device
(Please dont remove any of the 3 phone apks, on Nougat it worked to remove two of them, but oreo will continuously give an error message <- I found out that you can uninstall two of them, but dont uninstall the storagedial-programm thats what gives the errormessage.)
Hope it will help you!
Click to expand...
Click to collapse
Im not sure if this post belongs here, you link to the T580 TWRP, not the P580.
Is that one compatible with P580?
nill3bor said:
use the last TWRP for Oreo.
old version makes black screen or red stripes.
go in download-mode (power+home+vol-) and install the last TWRP over with Odin.
for Oreo use the last Odin 3.13
it tested, i had the same problem :fingers-crossed:
Click to expand...
Click to collapse
If I do this, will I be able to mount my SD Card as internal storage? 16gb just isnt enough on this tablet.
Do you have to be on oreo already for this to work I'm still on 7.0 and with my system modified I can't upgrade normally
This method root my P585 device but the sim card not working anymore until I odin official rom
also twrp-3.2.3-4-gtaxllte-OMNI6 not work and freeze on Samsung logo
there is no method to root android Oreo P585 Realllllly????
khatkhatik said:
This method root my P585 device but the sim card not working anymore until I odin official rom
also twrp-3.2.3-4-gtaxllte-OMNI6 not work and freeze on Samsung logo
there is no method to root android Oreo P585 Realllllly????
Click to expand...
Click to collapse
This one worked for me on a P585Y. You just have to skip the steps below.
A message from some Security App will appear, that something is wrong.
And your device will get laggy and restart.
After that the lag will disapear
Click to expand...
Click to collapse
It will also show on the Device Maintenance, just ignore the warning.
You can freeze some of the system apps to prevent it from showing on the notification again.
amosdinh said:
I found a solution if you don't need TWRP, only Magisk or Root. (Using sm-p580 german version P580KXU1CRJ7)
Short Version:
Install Magisk without TWRP with odin in AP section(google it)
Problem is: Once booted up it will tell you that you have to reset your device because the system recognizes that you modified something.
Solution: Just click on the reset button( Magisk will still be there afterwards).
Long Version
Flash the Oreo firmware onto your device.
Set it up (turn on USB debugging) (or dont, I believe you dont need it for download mode ?)
Unzip the AP part of the firmware you have flashed. You may need a modified version of 7-zip, I needed it, because it couldn't unzip lz4.
Google mcmilk 7 zip and download the github release (I hope I'm allowed to reference it, CREDIT goes to MILKY)
You need the boot.img.
Now install Magisk Manager apk.
Under its settings check " .img.tar" under "return of patched boot-images" (Something like that, mine is german)
Click on install in Magisk Manager apk.
Select make thing with boot img, use the boot.img you have extracted and copied onto your phone.
Magisk will create new patched boot img automatically, copy the finished one u find under your main storage in downloads to your pc.
Go into download mode and flash new boot.img with odin using the AP tab.
Now do the things I described in the Short Version
Afterwards install Magisk Manager Apk.
You need internet connection, because it will prompt you to allow installing additional stuff.
A message from some Security App will appear, that something is wrong.
And your device will get laggy and restart.
After that the lag will disapear
I like to use Bk disabler to remove bloatware/ other stuff to flash or back up your device
(Please dont remove any of the 3 phone apks, on Nougat it worked to remove two of them, but oreo will continuously give an error message <- I found out that you can uninstall two of them, but dont uninstall the storagedial-programm thats what gives the errormessage.)
Hope it will help you!
Click to expand...
Click to collapse
this works great! thanks!
2 side notes on the process:
1. Magisk no longer provides " .img.tar" patched files, so a tool like "Tar-tool" is required to convert the file from the ".img" type. The patched file should be renamed "boot.img" before conversion in order to be succesfully flashed by Odin.
2. like f4vr said, freeze the apps that give the error notification or just disable the specific notification. Hiding them in Magisk Hider does not seem to work
Cheers, and thanks again for the guide!
Hello Gyus,
I managed to root the device with the method posted by @amosdinh (Thank you so much). Now I'm trying to configure adoptable storage. So far I didn't achieve this goal. ADB commands doesn't work and I can't install the ASPlugin.zip needed by Root Essentials to set adoptable storage by the app.
TWRP for P585 is corrupted, gives blue/red lines screen. The dev that maintains the code is absent since march. I'm out of luck on this. If anyone have a idea to get adoptable storage on this device while using Oreo, please comment.
Thanks!
---------- Post added at 11:17 AM ---------- Previous post was at 11:11 AM ----------
artaeun said:
this works great! thanks!
2 side notes on the process:
1. Magisk no longer provides " .img.tar" patched files, so a tool like "Tar-tool" is required to convert the file from the ".img" type. The patched file should be renamed "boot.img" before conversion in order to be succesfully flashed by Odin.
2. like f4vr said, freeze the apps that give the error notification or just disable the specific notification. Hiding them in Magisk Hider does not seem to work
Cheers, and thanks again for the guide!
Click to expand...
Click to collapse
Just renaming magisk_patched.img to boot.img and adding to .tar file by 7zip worked for me.
We should ask a dev to update twrp for android 8.1
khatkhatik said:
This method root my P585 device but the sim card not working anymore until I odin official rom
also twrp-3.2.3-4-gtaxllte-OMNI6 not work and freeze on Samsung logo
there is no method to root android Oreo P585 Realllllly????
Click to expand...
Click to collapse
Same freeze for me with the Omni - can't do anything outside of access download mode
Same Problem
cmzizi said:
Is anyone able to run TWRP on P580 running Oreo?
Im having problems with my Tab stuck on a black screen instead of recovery mode.
Please help.
Thanks!!
Click to expand...
Click to collapse
I have the same problem. It just keep getting to the bad TWRP, it seems that it does not work with the SM-P580. I had to flash stock firmware to get it back to work.
luinkazofeifa said:
I have the same problem. It just keep getting to the bad TWRP, it seems that it does not work with the SM-P580. I had to flash stock firmware to get it back to work.
Click to expand...
Click to collapse
Really wish this wasn't the case. I'd actually keep this thing if it had a working TWRP.
On my SM-P580 I used Odin and TWRP I don't get the black screen but when I reboot to get into TWRP recovery mode it shows the padlock and says swipe to unlock. Tried many times bit cannot swipe and cannot get past this. All I want is to be able to use the SD card as internal storage. HELP???? Thanks!!
luinkazofeifa said:
I have the same problem. It just keep getting to the bad TWRP, it seems that it does not work with the SM-P580. I had to flash stock firmware to get it back to work.
Click to expand...
Click to collapse
thanks in advanced
where can i find stock firmware?
I've just installed magisk using TWRP via command line. P580
I've just installed magisk using TWRP via command line.
Read the entire post before trying this yourself.
I installed the latest TWRP, the one that bugs and doesn't display anything, this allows to root without wiping data. I'm running the latest korean firmware for P580.
Just do this:
1. Launch TWRP and INMEDIATELY LOCK YOUR SCREEN. (I got ghost stripes that disappeared after 2 days when testing this, work with low light so you can notice your screen whenever it tuens on) Please don't forget this point, don't [temporarily] damage your screen as I did.
2. adb push Magisk-v[Current version].zip external_sd
3. adb shell
4. twrp install external_sd/Magisk-v[Current version].zip
After this you just need to install MagiskManager-v[Current version].apk and you will be all done.
But there is one thing...
If you ever get into recovery mode, there is no way out without using adb as far as I know. You can launch download mode and cancel it but you'll boot back to TWRP.
When in twrp touching your screen or any button will wake the device up and will start burning the ghost image to your screen.
So if you know of a method for rebooting to system without using adb, please let me know.
Also a solution for this would be to flash back the stock recovery, wich may or may not force to wipe system, that something that needs to be tested tho.
Update: Ok so, you can use a handy tool called MTKroot on recovery.img.lz4 to get recovery.img, then use 7z to pack it into a tar file and flash that tar file with odin (AP, same as TWRP)
This way you will not have a 0.001% chance of random boot into recovery mode and damage your screen
I have an old Galaxy S4 that I purchased several years ago from FreedomPop. I'd like to put a custom ROM on the phone. I don't plan on placing the phone on any carrier's network. I'll just use it on WiFi for some personal tasks. I can't get the phone to boot to TWRP, so I can install a ROM. Below is what I've done. I hope someone can tell me what I'm doing wrong.
The phone is a Galaxy S4
Software Version: L720VPUGOK3
Hardware Version: L720.08
Device Name and Model Number: SPH-L720
Android Version: 5.0.1
I do have it in developer mode with USB Debugging turned on.
In the security settings, I do have Unknown Sources allowed.
I successfully used Odin to flash the "L720VPUGOK3_L720SPTGOK3_L720VPUGOK3_HOME.tar.md5" to the phone.
In the TWRP application on the phone:
I chose the device "Samsung Galaxy S4 Mini Sprint".
Back on the main screen, the "current device" shows as "serranoltespr"
I have downloaded the "twrp-3.6.2_9-0-serranoltespr.img" for flashing to the device.
Whether I try to flash it to recovery or boot, I receive the message, "Flash Failed!"
Notes:
When I run "Minimal ADB and Fastboot"
When I run "fastboot devices", nothing is returned (but I understand Samsung does not have a fastboot mode)
When I run "adb devices", I do receive "47d83255 device".
When I run the application "ReiBoot for Android" and select "One-Click to Recovery Mode"
the phone reboots to the screen shown in the attached image.
If any of these selections would help me, I'd love to know how to use it
After rebooting in recovery mode, "adb devices" in a command prompt returns nothing.
Any help getting TWRP to load, so I can install a custom ROM will be greatly appreciated.
SerenityNetworks said:
I have an old Galaxy S4 that I purchased several years ago from FreedomPop. I'd like to put a custom ROM on the phone. I don't plan on placing the phone on any carrier's network. I'll just use it on WiFi for some personal tasks. I can't get the phone to boot to TWRP, so I can install a ROM. Below is what I've done. I hope someone can tell me what I'm doing wrong.
The phone is a Galaxy S4
Software Version: L720VPUGOK3
Hardware Version: L720.08
Device Name and Model Number: SPH-L720
Android Version: 5.0.1
I do have it in developer mode with USB Debugging turned on.
In the security settings, I do have Unknown Sources allowed.
I successfully used Odin to flash the "L720VPUGOK3_L720SPTGOK3_L720VPUGOK3_HOME.tar.md5" to the phone.
In the TWRP application on the phone:
I chose the device "Samsung Galaxy S4 Mini Sprint".
Back on the main screen, the "current device" shows as "serranoltespr"
I have downloaded the "twrp-3.6.2_9-0-serranoltespr.img" for flashing to the device.
Whether I try to flash it to recovery or boot, I receive the message, "Flash Failed!"
Notes:
When I run "Minimal ADB and Fastboot"
When I run "fastboot devices", nothing is returned (but I understand Samsung does not have a fastboot mode)
When I run "adb devices", I do receive "47d83255 device".
When I run the application "ReiBoot for Android" and select "One-Click to Recovery Mode"
the phone reboots to the screen shown in the attached image.
If any of these selections would help me, I'd love to know how to use it
After rebooting in recovery mode, "adb devices" in a command prompt returns nothing.
Any help getting TWRP to load, so I can install a custom ROM will be greatly appreciated.
Click to expand...
Click to collapse
Hi, check my S4 Unified Collection & Guides.
@SPLESHER
Thank you. However, perhaps I'm not understanding the purpose of a custom ROM. I used Odin to restore the phone to the stock OS (L720VPUGOK3_L720SPTGOK3_L720VPUGOK3_HOME.tar.md5). My root access was lost, but looking at the "LineageOS on jfltespr" instructions, I saw that root was not required. So, I followed the instructions, installed LineageOS, and rebooted into recovery. I successfully received the 4 option prompt. At that point I didn't know what to do, so I chose the option to reboot. I did, but was only returned to the stock OS. I was thinking I would have a new OS that didn't contain the Google apps, but only a streamlined set of applications.
What gives? I'm trying to get rid of the FreedomPop OS and associated applications. Is this possible? If so, how do I go about it?
Note: The phone does not have a carrier plan. All I have is WiFi and USB access.
Thank you,
Andrew
PS. I wouldn't mind having a number of the Google apps and access to the play store. I followed the link to the GApps (MindTheGapps) pages and even downloaded the zip file, but I do not understand how to install it. But first things first. I'd like a fairly robust OS that gits rid of the FreedomPop stuff.
SerenityNetworks said:
@SPLESHER
Thank you. However, perhaps I'm not understanding the purpose of a custom ROM. I used Odin to restore the phone to the stock OS (L720VPUGOK3_L720SPTGOK3_L720VPUGOK3_HOME.tar.md5). My root access was lost, but looking at the "LineageOS on jfltespr" instructions, I saw that root was not required. So, I followed the instructions, installed LineageOS, and rebooted into recovery. I successfully received the 4 option prompt. At that point I didn't know what to do, so I chose the option to reboot. I did, but was only returned to the stock OS. I was thinking I would have a new OS that didn't contain the Google apps, but only a streamlined set of applications.
What gives? I'm trying to get rid of the FreedomPop OS and associated applications. Is this possible? If so, how do I go about it?
Note: The phone does not have a carrier plan. All I have is WiFi and USB access.
Thank you,
Andrew
PS. I wouldn't mind having a number of the Google apps and access to the play store. I followed the link to the GApps (MindTheGapps) pages and even downloaded the zip file, but I do not understand how to install it. But first things first. I'd like a fairly robust OS that gits rid of the FreedomPop stuff.
Click to expand...
Click to collapse
I don't know why you tag Splesher. I replied you xD
Check my guide to install custom recovery, then check my guide to install custom ROM. Everything is on the link above.
@Retrial , sorry. On my phone it appeared like splesher wrote the post. I now see it was you and his was a thumbs-up and you provided the information.
I'll take a look again at the material at the link you posted. But there is so much material and these are processes outside my experience. I confess I am kind of guessing what I need and what I need and what is unnecessary. I don't need all the Google Apps, but I might need access to the PlayStore. There are a few apps I want to install that I know are on the PlayStore. I don't know if there are other ways to get the apk files outside of the PlayStore. I don't necessarily need an OS that is constantly being developed. I just want a few working apps. I'll never be adding the phone to a carrier's network. I'll just be using WiFi. Knowing all this and that I just want to get rid of the FreedomPop OS and install a streamlined custom OS, would you mind just listing (in order) the high-level steps I need to perform?
Thanks,
Andrew
@Retrial UPDATE: I have...
Installed Bootloader and Modem
Installed TWRP (and can reboot to TWRP as needed)
Installed Magisk Root (and confirmed that I have successfully rooted the phone)
Now I have no clue what to do next. I just want a custom ROM that will get rid of the FreedomPop OS and let me install a few apps from the Google Play Store.
Thanks,
Andrew
SerenityNetworks said:
@Retrial UPDATE: I have...
Installed Bootloader and Modem
Installed TWRP (and can reboot to TWRP as needed)
Installed Magisk Root (and confirmed that I have successfully rooted the phone)
Now I have no clue what to do next. I just want a custom ROM that will get rid of the FreedomPop OS and let me install a few apps from the Google Play Store.
Thanks,
Andrew
Click to expand...
Click to collapse
No need to root if you don't want to.
So assume you are on TWRP, follow my clean installation guide.
Choose a custom ROM of your choice from my collection and follow my guide.
In TWRP wipe the mentioned partitions from my guide, format data, connect your device to pc while you are in twrp, transfer the rom and gapps and flash them.
Let me know which ROM you want to flash so I can tell you exactly the steps and which gapps to flash.
@Retrial Thanks. I have downloaded the zip files for "crDroidAndroid-11.0-20220915-jfltexx-v7.22" and "LineageOS++-19.1-V1.0". I don't know which would be best to use. Any suggestions? I can move the zip files to the SD card in the phone, but when in TWRP the phone does not appear in Windows File Explorer. I don't know why.
SerenityNetworks said:
@Retrial Thanks. I have downloaded the zip files for "crDroidAndroid-11.0-20220915-jfltexx-v7.22" and "LineageOS++-19.1-V1.0". I don't know which would be best to use. Any suggestions? I can move the zip files to the SD card in the phone, but when in TWRP the phone does not appear in Windows File Explorer. I don't know why.
Click to expand...
Click to collapse
If you have sd card you can move the files there. Make sure have samsung USB drivers installed for PC to recognize your device. (You can find them in my collection)
The LineageOS++ 19.1 is for POCO F1 not for S4. Do not flash that. Read carefully the tags and what you download.
You can choose between these:
Official LineageOS 18.1
Optimized LineageOS 19.1
Official crDroid 18.1
Official DivestOS 18.1
Let me know what you want to flash to tell you what GApps you need. But if you read my guide everything is there explained with details.
(I may answer you tommorow since it late here)
@Retrial I was able to successfully flash "Optimized-LineageOS-19.1-V7.0" and "MindTheGapps-12.1.0-arm-20220605_111643". Most functions with the new OS seem to be working well. However, installing and updating apps seems to struggle. Last night I started the install for four apps and Google Play said four apps needed updating. As of this morning only one application had been installed. The others continued to show "Pending..." I cancelled the seven remaining installs & updates, and retried with just one. It just stays at "Pending...". Thoughts on how I can get apps to install and update?
Also, one suggestion. In the steps I followed, I finally got to the bullet point "Flash ROM > GApps [Optional]", but I couldn't find instructions on how to perform the flash. I had to go to another site and tutorial on how to perform that step. If those instructions are provided in your guides, I didn't find them. Perhaps a hyperlink to them would help other users.
Thanks again,
Andrew