Can someone make TWRP for Casper VIA A4? - Intel

Hi guys.
I'm using Casper VIA A4 and I want root. I rooted with a friend already. But he had prepared the TWRP himself and he had mistakes. a part such as /data gives an error, and although my device is rooted at the moment, it is still read-only.
My Android version: 10
This is my stock ROM: https://androidfilehost.com/?fid=7161016148664852901
Build number: https://androidfilehost.com/?fid=7161016148664852901
Features of my device (That's not English but maybe you may need): https://www.epey.com/akilli-telefonlar/casper-via-a4.html
Also info, the adb shell appears as A5 Pro when I enter the water commands. I think my phone was made with the template of another phone.

Related

Kali NetHunter 3.0 on Nexus 7 (2013) - flo

Hello there !
After a long time of searching I wasn't able to find anywhere a proper guide to install Kali Nethunter on Nexus 7, mainly the lasted release of it (3.0) on newer androids (6.0+) or CM13, so I decided to make this quick guide to cover some aspects that it thought would be important if you wanna jump into this.
First things first:
Disclaimer: I AM NOT RESPONSIBLE FOR ANY LOST YOU HAVE, PLEASE REMEMBER TO ALWAYS BACKUP YOUR SENSITIVE INFORMATION AND PERSONAL DATA!
What is NetHunter: Kali nuthunter is based on Kali linux and has most of built-in tools to security audits and penetration testing. More information can be taken here: world wide web dot kali dot org/kali-linux-nethunter/
History: I've been trying to install nethunter on mu nexus 7 without succeed for the past 3 days. Last year I had already accomplished this task in another version of nethunter (1.2) and android (CM12). Recently, I decided to go back to security works and realize that offensive security have been working it's ass off and since than released a newer version, and I was already in stock Marshmallow (6.0.1) android, so downgrading wasn't an option for me.
I tried to install nethunter(Like in the past) with a tool called MultiRom (Available for free in PlayStore), that allows you to run multiple roms on your device (dual-boot feature like). But unfortunately I couldn't. I just couldn't and it was driving me crazy.
Got errors like:
Slow boot (on secondary rom - Nethunter)
Missing root (Supersu)
Freezing
So if you are facing this problems here is the solution I have to make it works.
Solution:
Install the last stock rom for your device (In my case, Nexus 7-flo that can be found at developers dot google dot com/android/nexus/images)
Then use fastboot to apply your stock rom (Attention: This step will format all your DATA!):
Code:
$ adb reboot bootloader
(Remember to enable USB DEBUG)
once in bootloader run:
Code:
./flash-all.sh
After flashing the stock rom, proceed to ROOT you device. (If you don't know how, you should not be messing with any of this, but if you want to anyways.... google it!)
Then, after rooting your device install busybox(for free in playStore)* and install its components.
Now, install a custom recovery (For this, I will use TWRP)
Go back to you bootloader screen with the comment before mentioned and run the following command:
Code:
fastboot flash recovery your_recovery.img
Then, copy the Nethunter file downloaded from world wide web dot offensive-security dot com/kali-linux-nethunter-download/[/url] to your device and flash it with the help of your recovery (TWRP or CM Recovery).
Luckily, if everything goes as expected you should succeed in installing nethunter 3.0 on your Nexus 7 device (May be applied to other Nexus devices)
Bottom Line: Try installing Nethunter on your stock rom, instead of a custom one. Then, if you want to, you always can install Multirom and install a secondary ROM like CM13 to be your daily use ROM.
Any Questions and suggestions are welcome, sorry in advance about any english mistake (Non-native speaker here!).
*: Optional Step, can be done later.
So your external card is detected? I wiped everything and reflashed about a gazillion times, all works fine except it simply won't detect my card. I guess I can try older Android version as i've only tried 6.0.1 so far... doubt that would do the trick though

How do I root / update my Huawei Ascend G7-L01?

Hello there! I have been trying to find a working root / update for my model for quite a while now but I cannot
find anything that would work with my model... The numbers are always different from those that uploaders say
it works on. Can you help me root my phone and find a working update since there was no official update for my
country (Slovenia) for Lollipop. It can be a custom ROM too, I don' care as long as it will run faster than current version
which is preinstalled with a lot of crap and runs slow.
Here are the details: (let me know if you need anything else)
Model number: G7-L01
Android version: 4.4.4
EMUI version: 3.0
Baseband version: 11060009
Build number: G7-L01V100R001C00B263
Custom version: CUSTC432D001
Thank you for your time!
You can try with Kingo Root, I used it and my G7-L01 now are rooted.
Good luck
Dave96 said:
Hello there! I have been trying to find a working root / update for my model for quite a while now but I cannot
find anything that would work with my model... The numbers are always different from those that uploaders say
it works on. Can you help me root my phone and find a working update since there was no official update for my
country (Slovenia) for Lollipop. It can be a custom ROM too, I don' care as long as it will run faster than current version
which is preinstalled with a lot of crap and runs slow.
Here are the details: (let me know if you need anything else)
Model number: G7-L01
Android version: 4.4.4
EMUI version: 3.0
Baseband version: 11060009
Build number: G7-L01V100R001C00B263
Custom version: CUSTC432D001
Thank you for your time!
Click to expand...
Click to collapse
kingroot.apk
Hello Dave, I have done this a week ago. I summarize the steps you must take.
Prepare your phone to interact with the upgrade tools: you must enable developer mode in the phone and enable usb debugging. it’s easy, do a search in google to find the specific actions (I can’t post url’s there yet)
Dowload and install in your pc the tools for doing the job: you need two tools for doing the work, adb and fastboot, both come with android studio so you can download it to have the tools. If you are using Linux probably you can also install them from your package manager without having to install the full android studio.
Download your ROM and recovery: the recovery is some kind of rescue OS from where to boot the system and apply later the ROM, I have used as recovery the Recovery TWRP that is referred in a post called ‘[ROM][5.1.1][Unofficially | CM12.1 For Huawei Ascend G760] [2016-01-16]’. As ROM I have used the more recent in those referred in the ‘[ROM][6.0.1][Unofficially | CM13.0 For Huawei Ascend G760] [2016-04-01]’ post.
Download gapps: probably you can’t live without google apps (play store, etc) so download the suitable version from opengapps dot org.
Save your data: you are about to lose your data so make a copy of all data that is not saved automatically in the cloud.
Apply recovery: the fun starts, open a shell with root (or admin in Windows, I suppose), connect the phone to the pc with an usb cable, give permissions in the phone to the pc when it asks about it. Reboot the phone in boot mode with ‘adb reboot bootloader’, apply the recovery image with ‘fastboot flash recovery twrp-xxxxxxxx.img’, reboot in recovery mode mode with ‘adb reboot recovery’
Apply rom and gapps: transfer the rom and gapps to the phone with ‘adb push cm-13.0-xxxx.zip /sdcard/’ and ‘adb push open_gapps-arm-6.0-xxxxx.zip /sdcard/’, in the phone do a wipe->factory reset, and after that do an install from the main menu. Install first the cm-13.0 ROM and later the open_gapps. Those will take some time, when finish reboot the phone from the main screen
Boot and configure: if all has gone ok the phone will boot, configure apps and later you have some time configuring it and restoring the data
Seems easy, but what is easy is doing something wrong or forgetting something and ending with a bricked phone. So if your life depends on that phone or you are not sure to have the skills to troubleshoot things when going wrong better stay were you are now
Good luck

Newb needs help rooting, unlocking Bootloader and getting a Custom ROM for ALE-L21

Hey there,
I need help, hope you have some for me . I want to use the 6.0.1. OpenKirin OmniROM on my phone and struggle even figuring out a way to get there.
I just bought a used ALE-L21 DualSIM phone with the B602 Build and EMUI 4.0.3 installed. The device is not rooted, nor has its bootloader been unlocked. The EMUI update service does not offer me any patches.
Could someone please line out to me which steps I have to take in order to root my ALE-L21 and get this ROM to work?
Disclaimer: No, I'm not just a lazy moron who does not want to read other topics on this forum - I'm a mere user with less-than-average knowledge of Android development or stuff like that. And I just can't make complete sense of the various posts I've found, since English is not my mother tongue and there seems to be a whole bunch of ways to do certain things with a phone. Well, since obviously I don't want to brick my new phone, I'm not too sure how to best puzzle together the pieces this Forum offers me. It would be insanely helpful if I could get a list that reads out something like:
1. Action - Source (for needed files, e.g.) - Result, on to step 2
2. Action - Source (for needed files, e.g.) - Result, on to step 3
3. ... and so on...
Okay, just so you see that I'm not entirely lost, I'm gonna show you the picture which is currently in my mind.
From what I understand so far, there's the following steps to get there (please rectify or rearrange steps as far as needed):
1. Update the device to Vanilla EMUI 4.1, Build B895 or B896 (I am currently downloading the B896 Build from this forum - which one is recommended? My phone is DualSIM)
2. Unlock Bootloader (What's the best way to do it? Huawei CS? Heard it's not even sure you get an answer. DCUnlocker? Wants money... Please help me clarify)
3. get TWRP 3.1.1.0 (I already have the IMG file, how do I get it to run on my phone?)
4. Root the device (I'd like to go with MAGISK, does anyone have a link for a MAGISK build confirmedly working on ALE-L21?)
5. Do some magic with TWRP (Which steps exactly?)
6. Flash the ROM Zip file via TWRP
7. Flash Gapps via TWRP
Is that about it?
As I said, please feel free to add to/adjust my list!
Thanks in advance,
Pako
If you haven't already install minimal adb tools on computer (windows) found here :
http://bit.ly/2jxX4ya
You then need to unlock bootloader using minimal adb tools and the unlock code
Unlock Code:
http://bit.ly/2z9EFhV
Unlock Bootloader Method in this thread here:
http://bit.ly/2oIASBs
After you are done unlocking the bootloader
Install twrp find that here :
http://bit.ly/2ok9BTi
There was a tool that was here somewhere to install twrp but I will link to my copy here
http://bit.ly/2ATBgRP
What you do is put the twrp image file in data folder
then change the name of the twrp file to TWRP_3.1.1-0_ALICE.img or
edit the install.bat file line data\fastboot.exe flash recovery data\TWRP_3.1.1-0_ALICE.img to the name of your twrp file
Once twrp is installed then you can pick which rom you want
The 6.0 roms arent going to be supported anymore so i suggest going for 7.0 ROM
I'm on AOSPA which is the cleanest and has good battery life
To install 7.0 rom you need B895 or B896 found here on the first post:
http://bit.ly/2jypIij
this is installed through twrp (which is accessed when Phone is off by holding volume up + power then let go once it vibrates or connect the phone to the computer and then type adb devices then adb reboot recovery in minimal adb tool)
once in twrp you need to install the B895.zip or B896.zip file then reboot your phone will boot into emui
you need to install twrp again as B895 or B896 wipes it
After installing twrp you can then install any custom rom of your choice
let the rom boot and then go back into twrp and install gapps found here: "http://bit.ly/1JOWjUqi recommend nano or even pico pick am64 7.1
I would also recommend installing Galactic forced deepsleep http://bit.ly/2ANVdbS
Hey there,
thank you very, very much for your comprehensive walkthrough! (Almost*) everything worked to perfection and I am now a happy user of OpenKirin's OmniROM 6.0.3. mod! Yeah, no 7.x... but I'd prefer to wait with that until the "issues" section of AOSPA does not contain any relevant things anymore. OmniROM seems to have no issues anymore, so I'm content with my choice. I will now follow your last advice and flash the Deep Sleep Mod to improve my device's battery life, and then I'm just happy.
* = The only issue I encountered was when having flashed TWRP, the device booted to the crappy EMUI eRecovery instead of TWRP. I solved this issue using this advice from another thread.
So, once again, thank you! All you xdaDevs, keep on developing ways to improve people's lives with their android devices!
Cheers,
Pako

Moving from stock Android 5.0.1 to Resurrection Remix N v5.8.5.

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

I need help flashing TWRP (so I can install a custom ROM)

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

Categories

Resources