Successfully rooted my grandfather's old Lenovo K6 Power to install kali nethunter for a project, but it was on android 6 and termux requires android 7+. i didnt realize this at the time and so I tried to update my software, but instead of rebooting and installing the new os, it booted into TWRP recovery, that i'd previously flashed to install magisk and what not. since the system upgrade from device settings didn't work i decided to flash a custom rom based on android 8.1 (LineageOS 15.1) so that i wouldn't have to update via official ota updates, and i wiped the phone to ensure a clean install, but i didn't think to take a backup since there wasn't any real data on the phone. i think i accidentally wiped the system partition along with everything else because now when i try to run 'df -t /dev/block/' the output is completely blank, unlike other working partitions. along with this, the LineageOS installer says it failed because it tried to mount the system partition to /system but there was no such partition (something along those lines). when i go to the reboot menu in TWRP it warns me that no OS is installed. do i flash a raw android 8 rom onto the device and install LineageOS on top of that?
Is there a way to restore the original system partition on an android device using adb or TWRP?
350 Views Asked by Adi B. At
0
There are 0 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in ADB
- How can I build ADB ARM myself?
- Android studio crash, nothing in logcat
- adb screen size changes after reboot
- I want to find fingerprint interface bound by adb
- Connected device (the doctor check crashed)
- Internet wifi video streaming at low speed
- installing 'xiaomi notes.apk' through adb on chromebook getting error
- In Android emulator with sdk 30 or higher, hosts file is reset to default
- react-native android app compile problems
- How to change the "Carrier name" of the Android virtual device (emulator)
- Android Fastboot, infinite bootloop on phone
- adb bugreport get nothing
- ADB doesn't see the device (LD PLayer emulator)
- Understanding virtual to physical memory translation in Android
- How to wait until Android Studio virtual machine is fully loaded
Related Questions in ROOT
- Cannot locally connect to MySQL
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- editing pass option in /etc/fstab with ansible
- Pyroot: TGraph TypeError: none of the 12 overloaded methods succeeded
- Status read failed Too many links on Ream me 8 pro root device
- window overlay in tkinter python with switch function
- Where is the "root" of a Visual Studio project?
- Android's Google services error, something with Magisk and Zygote SIGABRT (SIGNAL 6)
- Laravel app inside Wordpress website run on app folder and not in app/public folder?
- web.config oldsite to newsite 301, domain/root to new page AND old pages to oldpages
- How can i get root permission only for application
- How to combine Tkinter with pygame (Tkinter window -> pygame screen -> another Tkinter window)
- save files on aws ec2 with vscode
- How to move app icons using script/commands on android?
- How can I execute a sudo command in a macOS app and persist root user privileges?
Related Questions in RECOVERY
- Recover DB after mirroring
- Can I access the database of an existing application in a new application in my android phone?
- Recover Python script from memory, I screwed up
- 'Run a program' option in windows service pannel for failure recovery
- Git - revert deleted untracked files
- Import of excuting jar doesn't work in eclipse
- Find files in unallocated space between partitions of an example image
- android , push file via adb shell
- Backup android to ubuntu from recovery mode
- C++ - How to recover istream if self defined extractor fails
- How to recover checked out file in Clearcase?
- The CWM recovery that I created is always crashing
- Powershell & bcdedit: Identify recovery partitions
- Restore deleted files in visual studio code in the code management menu
- Linker error:undefined reference to '__android_log_print'
Related Questions in CUSTOM-ROM
- Can't flash stock rom - cache - partition table issue
- Rom building repo sync errors, file not found, cannot fetch
- Not able to connect android device over wifi with adb without a wire
- Gcam not working on my Custom GSI-installed phone
- Asus Zenfone 8z OEM Unlocking option is missing
- How to go into fastboot in realme device?
- How to solve this error: build/make/core/artifact_path_requirements.mk:30: error: Build failed
- Android Source Compiling Error, globs-build.ninja emp
- how to determine which LUN my OnePlus 8Pro rom image files reside in?
- What's the difference between android-security and android-platform tag in aosp source
- Recover data without correctly installed OS
- How to integrate MapMyIndia SDK in AOSP 13?
- can we build custom ROM for touch table(27" inch monitor) having Android os?
- Is there a way to restore the original system partition on an android device using adb or TWRP?
- Start service from system app in a custom rom
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?