Comments (5)
The issue is that the rootAVD.sh file has Windows line endings (at least it did on my system after a git clone). After opening and doing a "save as" in Textpad with Unix line endings, it worked properly!
from rootavd.
hmm, I did just download it from git and edited it with N++.
I will check the ending settings it. Perhaps this is the reason why shakalaca used this dos2unix command.
adb -e shell "dos2unix /data/local/tmp/process.sh"
from rootavd.
Yeah, I found that note on his project README, too - I assume that's why. Not sure how dos2unix behaves if it's already unix, but might be worth incorporating it in the script?
from rootavd.
Yes absolutely! I just updated the rootAVD.sh with the unzipping into the emulator.
I will change the rootAVD.bat tonight.
from rootavd.
I am getting this error
[-] Test if ADB SHELL is working
[-] ADB connectoin possible
[-] In any AVD via ADB, you can execute code without root in /data/data/com.android.shell
[*] looking for Magisk installer Zip
[*] Cleaning up the ADB working space
[*] Creating the ADB working space
[*] Push Magisk.zip into /data/data/com.android.shell/Magisk
[-] B:\items\Projects\rootAVD\Magisk.zip: 1 file pushed, 0 skipped. 283.3 MB/s (11278270 bytes in 0.038s)
[-] Backup exists already
[*] Push ramdisk.img into /data/data/com.android.shell/Magisk
[-] C:\Users\aiden\AppData\Local\Android\Sdk\system-images\android-31\google_apis\x86_64\ramdisk.img: 1 file pushed, 0 skipped. 301.4 MB/s (3685301 bytes in 0.012s)
[-] Copy rootAVD Script into Magisk DIR
rootAVD.sh: 1 file pushed, 0 skipped. 13.9 MB/s (78955 bytes in 0.005s)
[-] run the actually Boot/Ramdisk/Kernel Image Patch Script
[*] from Magisk by topjohnwu and modded by NewBit XDA
: inaccessible or not foundl/Magisk/rootAVD.sh[7]:
: inaccessible or not foundl/Magisk/rootAVD.sh[11]:
'data/data/com.android.shell/Magisk/rootAVD.sh[14]: syntax error: unexpected 'in```
from rootavd.
Related Issues (20)
- Update for Magisk 26.1 for Shamiko-v0.7.3-174-release.zip HOT 1
- Root AVD with playstore installed HOT 1
- Magisk won't install/root on AVD API 34 (Android 14) HOT 8
- New Install google_apis location HOT 13
- android 10 HOT 22
- Images not found (Android Emulator via Visual Studio 2022) HOT 6
- Error: file C:\Users\pathtoramdisk.img not found HOT 6
- Problem installing with Pixel_3a_XL_API_25 and android 7 HOT 10
- Rooted but Magisk not available HOT 17
- Problem with fakeboot HOT 14
- how to install Magisk 26.2 HOT 9
- mac m1 run rootAVD error
- Wget stopped working HOT 1
- please add the missing else keyword between ignoring echo and actual push HOT 1
- The script doesn't check if it has permission to write. HOT 1
- Can we dump L3 winewive HOT 2
- Process stucks at message - [!] Checking available Magisk Versions HOT 2
- file "ramdisk.img" not found. HOT 1
- rooting process doesn't start HOT 5
- Zygisk is not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rootavd.