One click root/clockwork linux [OSX too!] - Epic 4G Android Development

This will install joey-krim's root and clockwork recovery 2.5.1.0
*Instructions*
1. Download the root.zip for linux/ if your on a mac download the dropbox link labeled osx
2. Extract the archive
3. Make Clickhere.sh executable/OSX_run.sh (mac version)
4. Run the script
5. ???
6. PROFIT
*Props to joeykrim and noobnl for getting us root*
*Special thanks to firon and nullghost*
here is teh macosx script havent tried it as i dont own a mac (ack) does the same thing as teh linux script, credit goes out to baggage handler for the orginal
http://dl.dropbox.com/u/10162842/OneclickOSX.zip

Appreciate it . Will try now

Thank you so much for this!

since i'm somewhat new to this mac method, am I running this clickhere.ex on my mac terminal?
sorry for the dumb q's
Chris

updated original post with osx method

I really apologize, but when I run this, it keeps saying "no such file or directory"...I'm sorry for all these petty posts. What am I doing wrong?
Chris

im sorry your gunna have to be a bit more specific, i dont have a mac so i dont know how the code is handled

ok, sorry for the vague post ;-)
So, I open the clicknere.sh, and change it to executeable.
After I do that, I click on clickhere.ex, and it opens in a terminal (Phone is plugged in, and in debug).
/root/Clickhere.ex: line 5: /Users/chris/adb: No such file or directory
/root/Clickhere.ex: line 6: /Users/chris/adb: No such file or directory
/root/Clickhere.ex: line 7: /Users/chris/adb: No such file or directory
/root/Clickhere.ex: line 8: /Users/chris/adb: No such file or directory
/root/Clickhere.ex: line 9: /Users/chris/adb: No such file or directory
please wait for the server to start again
I then type in my password, and it spits 21 more lines...all the same as above
I knew I should have kept a windows machine around

clickhere.ex?? dude you need to download the one for your operating system, osx_run.sh for mac, clickhere.sh is for linux.

Thank you. I'll give this a try when I get home. For done reason I haven't been successful with any of the other mac methods.
I'll report back soon.
Sent from my SPH-D700 using XDA App

tested it out on my roomates mac, was annoying trying to figure out how to make it executable from the gui so i just chmod it, runs just fine and he doesnt have adb installed or anything

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

ok, I got it, I forgot to change the directory...stupid! I'm really sorry for the dumb questions.
My final question about this is the final message I'm getting...
"Waiting for device continuing when found...
Cleaning up...
rm failed for /sdcard/zImage, Permission denied"
Why am I getting this??
Thank you in advance again!
Chris

yea i noticed it to, it didnt remove the zimage from the sdcard.. if you dont want it there then mount your usb and remove it via explorer

It keeps spitting back
"rm failed for /sdcard/zImage, Permission denied"
I'm clueless as usual, think i'll just toss this mac in the garbage
Chris

Everything worked and I got RM to boot into CWR. Awesome!!
Made the .sh into executable, used the chmod and then removed the .sh extension.
Ran it. Worked.
Downloaded MixUp Kernel (use any Rom Manager compatible Kernel you wish)
Powered off phone, boot into CWR (Vol down, cam, power)
Flash the Kernel.
Boot and go into Rom Manager and Flash CWR through.
Press, boot into recovery, it will boot into stock recovery for a minute, then put you in CWR and VIOLA! You're good to go to boot into CWR through RM.

How about run terminal. Cd to directory the zip extracted it to. Looks like a folder within a folder with the same name. Then ls. See how the file is named.
sudo ./osx_run.sh
Enter password. It should run. Linux command should be the same thing.

Did it work?

yes, the mac version has an error where it wont delete clockwork zimage off your sdcard. if the 6MB is very important to you then dont use this script, or just delete it off afterwards... your call

When running 'clickhere.sh' in terminal, I receive:
Code:
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
please wait for the server to start again
List of devices attached
???????????? no permissions
will continue in 5 seconds
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
Dont forget to install SuperUser from market
remove stock recovery patcher
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
installing clockwork
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
rebooting please hold
This seems to actually point to permissions on the actual device. Other than turning USB Debugging on, what other permissions need to be reviewed?
Thanks.
edit: I am rooting my Samsung Epic 4G.

Related

Sideloading Samsung Captivate

How to sideload for samsung captivate?
1. Download Terminal Emulator from android market (or any terminal).
2. Go to this post on your samsung captivate.
3. Copy this Below
su cd /dbdata/databases/com.android.providers.settings
sqlite3 settings.db
update secure set value = "1" where name = "install_non_market_apps";
.quit
reboot
4. Your phone will reboot and you can sideload. try to download an app from pandaapp.com.
5. Success!!!!!!!!!! Made very easy compared to using Android SDK.
-I dont claim to find this. But i havent seen this on youtube or any where else-
Hope You Luck!
-Jordan5555
Thanks for the info!
Sent from my GT-I9000 using XDA App
It's explained Tip: Enable Non Market App Installs on the Samsung Captivate]here[/url, I used a little variation on that method:
Can I suggest an even easier way of editing and manipulating the settings.db file? I used a combination of Root Explorer, SQLite Editor and Dropbox, modified from this link. You zip and copy settings.db from your Captivate to Dropbox, then you can edit it in Firefox, zip it, copy it back, and manipulate it from there - or I found I could copy the file to another folder I created (modified market), edit the file in there with SQLite, save the file and then copy it back to the original folder following their directions. The one thing you have to be careful of is making sure you're mounted R/W instead of R/O in Root Explorer or you'll get errors, something like 'permission denied'.
The Sideload Wonder Machine is nice, but I'm not always at my computer when I find something I want to try, this method made sideloading totally contained on the Captivate. Works a charm
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i tried the first method by copying the code and i got "Permission Denied" so then i just typed in the first line. got the same "Permission Denied"
is there a step i need to do first?
sorry if there is something obvious i should do first, i'm a bit of a noob
gisxer said:
i tried the first method by copying the code and i got "Permission Denied" so then i just typed in the first line. got the same "Permission Denied"
is there a step i need to do first?
sorry if there is something obvious i should do first, i'm a bit of a noob
Click to expand...
Click to collapse
What are you using, Root Explorer? You have to click the r/w at the top of the screen to enable writing. If it's r/o, that means read only.
Root Explorer? no, just Terminal Emulator and pasted the code into the Terminal window. i take it that's not what it meant
gisxer said:
Root Explorer? no, just Terminal Emulator and pasted the code into the Terminal window. i take it that's not what it meant
Click to expand...
Click to collapse
Ah, no, I see, you're referring to the first method. I dunno, I used what I posted, and it worked well.
nevermind lol
sorry should have mentioned that. the method posted by jordan5555 got the error
Permission denied (Jordans mthd)
Sent from my SAMSUNG-SGH-I897 using Tapatalk
While the process described here isn't technically sideloading, it is enabling installation of non-market applications without being attached to a computer, a.k.a. De-crippling . I have already simplified this process into one click, with no need for running any console commands or downloading the android SDK. Check out One Click De-Cripple for Captivate here.
BTW, your phone will need to be rooted before this process will be successful.
rafter109 said:
While the process described here isn't technically sideloading, it is enabling installation of non-market applications without being attached to a computer, a.k.a. De-crippling . I have already simplified this process into one click, with no need for running any console commands or downloading the android SDK. Check out One Click De-Cripple for Captivate here.
BTW, your phone will need to be rooted before this process will be successful.
Click to expand...
Click to collapse
Having to be rooted is why I went wit the method I posted above - because at the time I wasn't ready to root. What that method did do is force me to learn a bit about Android file structure and how to 'fiddle around' with the innards of the system. Eventually, of course, I got brave, rooted, and it's been all customizing from then on.
Of course, once you've rooted and gone to a custom ROM you never have to worry about all this again
Cant you just use the sideload wonder machine? Worked for me when I didn't have the "install_non_market_apps" file changed.
yentlequible said:
Cant you just use the sideload wonder machine? Worked for me when I didn't have the "install_non_market_apps" file changed.
Click to expand...
Click to collapse
Sure, but then I have to be at my computer to load anything. I far prefer what I did, so it's just plain done. Plus I don't want the constant reminder that AT&T has crippled my phone - a phone I'm paying way too much for monthly.
reinbeau said:
Sure, but then I have to be at my computer to load anything. I far prefer what I did, so it's just plain done. Plus I don't want the constant reminder that AT&T has crippled my phone - a phone I'm paying way too much for monthly.
Click to expand...
Click to collapse
Good point... The only reason I used the sideload wonder machine in the first place was to get root explorer on my phone since the market was not working. After that I just modified the database file.

[Q]How to install apps to android sdk emulator

Forgive my noobness, but can domeone explain step by step how to install an app on the Android sdk? For example, I want to test doing this with launcherpro, so please explain how.
Sent from my always stock, EB13 Epic, awaiting EC05.
Two things first.
Your thread title, well sorry to say it sucks . Thread titles should give information about thread. Every second thread is called "please help" people get bored by that and don't even look into them anymore. A good title enables people to take one look and know wether they can help or not.
This should probably go to Questions&Answers too .
Now that i ranted a bit lets get to your question.
You can't install anything on the android sdk.
You can install something on the emulator provided by the sdk.
I guess thats what you meant?
typing "adb -help" into the console gives us this:
Code:
adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)
You could try that command to install LauncherPro on the emulator.
Is this what you wanted to know?
Dark3n said:
Two things first.
Your thread title, well sorry to say it sucks . Thread titles should give information about thread. Every second thread is called "please help" people get bored by that and don't even look into them anymore. A good title enables people to take one look and know wether they can help or not.
This should probably go to Questions&Answers too .
Now that i ranted a bit lets get to your question.
You can't install anything on the android sdk.
You can install something on the emulator provided by the sdk.
I guess thats what you meant?
typing "adb -help" into the console gives us this:
Code:
adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)
You could try that command to install LauncherPro on the emulator.
Is this what you wanted to know?
Click to expand...
Click to collapse
Yes, I meant the emulator, and where do I type this exactly? Thanks for the help.
Sent from my always stock, EB13 Epic, awaiting EC05.
try command prompt
johnston9234 said:
try command prompt
Click to expand...
Click to collapse
Wow, I didn't realize how much I didn't know about windows. Command promt?
Sent from my always stock, EB13 Epic, awaiting EC05.
Alright do this:
Windows Key + R
type cmd
press enter
navigate to your android sdk directory for example on my computer c:\android\
here is an extract from my cmd:
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\darken>cd c:\android\platform-tools
c:\android\platform-tools>adb install
Android Debug Bridge version 1.0.26
/... here goes some information .../
Any questions left ?
Dont think so, will try this later. Thanks guys.
Sent from my always stock, EB13 Epic, awaiting EC05.
K I typed this minus the quotes
"C:\users\(user name retracted)>c:\android\platform-tools\adb install [-l] [-r] [-s] c:\android\launcherpro-0.8.3.apk"
It says; "* daemon not running. Starting it now on port 5037 *
* daemon started successfully*
Error: device offline"
What should I do?
Sent from my always stock, EB13 Epic, awaiting EC05.
--creating a virtual devices (recommended froyo) and enter the following commands in sequence
CD C:\android-sdk-windows\tools--> go to directory and check here .apk file
Code:
adb start-server
android list avd
emulator -avd [emu name]
--refresh command window and enter the following command
Code:
adb install [apk name].apk
--or
CD C:\android-sdk-windows\tools--> go to directory
following command
Code:
adb start-server
adb devices
adb remount
adb install [.apk name].apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sorry bad english...
ALPTEKÄ°N_ said:
--creating a virtual devices (recommended froyo) and enter the following commands in sequence
CD C:\android-sdk-windows\tools--> go to directory and check here .apk file
Code:
adb start-server
android list avd
emulator -avd [emu name]
--refresh command window and enter the following command
Code:
adb install [apk name].apk
--or
CD C:\android-sdk-windows\tools--> go to directory
following command
Code:
adb start-server
adb devices
adb remount
adb install [.apk name].apk
sorry bad english...
Click to expand...
Click to collapse
Edit: it didn't work, the list of devices won't show, its just an empty space.
Its ok about the English, I'm pretty sure I can do what you said, I just have to replace the names of your folders with mine.
Sent from my always stock, EC05 Epic 4G
Add the first post if you can get a positive result
ALPTEKÄ°N_ said:
Add the first post if you can get a positive result
Click to expand...
Click to collapse
Will do. I figured out I could just use the android browser within the emulator to download apps and I can install them just like on my phone. I still want to know how to do this.
Sent from my always stock, EC05 Epic 4G

Root, Recovery and Rom the Kurio 7

Hey guys, I spent the last week looking for a clear guide on how to install a custom rom on the Kurio 7 (Not the Kurio 7 S)
I have taken all of these demos and put them together into one guide. I take no credit for the information found here all I did was organize it in hopes it will help someone.
Here are the reference links to the original work-
Root: http://androidforums.com/general-tablet-talk/671444-root-kd-kurio-7-a.html
Play Store: https://www.youtube.com/watch?v=4WSuFvjyeRc
Recovery:http://forum.xda-developers.com/showthread.php?t=1802268
Rom and Gapps: http://www.slatedroid.com/topic/57538-rom-aokp-jelly-bean-android-412-allwinner-a10/
Disclaimer: You are doing this at your own risk, I am not responsible at all for your device. Just because it worked for me does not mean you will have the same outcome.
Download all of the files found here...
Lets get started: Bold = On the Tablet
1. Access the Android system (Done through parental controls)
2. Enable USB Debugging in Developer Options
3. Unzip and run the bat file found in Android Root.zip (Follow on screen instructions)
4. Extract the Install_google_play_allwinner.rar and run Install_Google_Play (Follow on screen instructions)
5. Open Google Play and download a Terminal Emulator
6. Extract and copy the contents of Kurio Recovery to your Tablet (not inside a subfolder)
7. Copy the files Kurio Rom and Kurio Gapps to your Tablet (not inside a subfolder)
8. Open Terminal Emulator and run the following commands
su
cd /mnt/sdcard
sh install-recovery.sh
sh reboot-recovery.sh
9. Select "Wipe data/factory reset, Wipe dalvik cache, & Wipe battery stats"
10. Select "install zip from sdcard" -> "choose zip from sdcard" and flash, in this order, Rom Then Gapps
11. Reboot your System
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Known Issues:
My daughter has been using it for a week and only noticed that the built in home and back buttons do not work. But the Roms has built in soft keys so she doesn't complain.
I hope this helps someone out there.
Reminder
I am not a developer, feel free to report bugs to but I will not be able to help resolve these bugs.
Link for files is down
Is there any chance you could repost the dropbox files? The link is 404. Thanks.
Does it work?
I have tried many times but it didn't work though.
What I'm gonna do now?
Please let me know?
Doesn't work
Hi,
I have tried rooting my Kurio 7 using the ICS_Root_Unlocker script in that Android_Root_1.0 zip file, but I get a ton of errors:
failed on '/data/local/tmp' - Permission denied link failed File exists
Press any key to continue . . .
/system/bin/sh: can't create /data/local.prop: Permission denied
Press any key to continue . . .
uid=2000(shell)gid=2000(shell)groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
Press any key to continue . . .
remount failed: Permission denied
failed to copy 'files\su' to '/system/xbin/su': Read-only file system
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Removing changes except ROOT...
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
Installing superuser...
failed to copy 'files\superuser.apk' to '/system/app/superuser.apk': Read-only file system
Press any key to continue . . .
My Kurio 7 is running Android 4.4.2 KitKat (the tablet is only a year old and already has Google Play on it) whereas the script appears to be for ICS, could this be the problem?
Anyone know how to adapt the script to work with KitKat?
Anyone have a kurio 7 ROM .IMG file?

[Q&A] [ROOT] [TOOL] Easy Ace Root Tool

Q&A for [ROOT] [TOOL] Easy Ace Root Tool
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
Problem using Easy Ace Root Tool
I was using Easy Ace Root Tool to unlock the bootloader since this seems like the most updated method. I can tell it worked because there's a green "UNLOCKED" word on the top of the recovery screen. But I don't believe I completed the whole process. When I was using the tool, I encountered an issue after the step where I pasted the Unlock code into the token folder. The command prompt message stated that I will be prompted by the phone to do something and I have to answer "Yes". My phone never prompted me to do anything. It was just displaying the recovery screen the whole time. I chose to Reboot the phone and it did a factory reset. I used Root Checker to see if the root was successful and it said I do not have root access.
I'm assuming that there are still more steps to follow so that the tool will install CWM and SU for me, correct?
At this point, what can I do? I tried twice already to rerun the tool and unlock the bootloader but I encountered the same issue where my phone did not prompt me to answer "Yes" to a question...
My phone is running GB 2.3.5 but it was running Froyo when I first bought it new in June 2011 (if this makes any difference).
Solved
I was reading around the forums here and noticed someone had a similar issue. Turns out the CWM was installed without my notice. I downloaded a zip of the latest SuperSU like another user said and installed it from the CWM recovery. According to Root Checker, I'm rooted now.
It's weird because I know for a fact that the Easy Ace Root process didn't 100% finish.
This has been very informative and helpful!
It can't find the fre3vo file that's in the path it's looking for.
There is no antivirus on this system.
The file is there.
Everything worked fine up to this point.
It's actually stopped there, after several retries, this is where it repeatedly fails on me at.
Running in VM because host OS is linux, and the tool is designed for Windows OS.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please Help Me
I'm having an issue getting root, first two steps are cake, but root wont go through. After tweaking the cmd file a bit to get it to find fre3vo this is the error I get.
Achieving Temp Root
231 KB/s (9704 bytes in 0.041s)
Locating access point...
This device does not support this exploit.
This device does not support this exploit.
The exploit has failed.
Pushing Busybox, SU and Superuser
174 KB/s (536 bytes in 0.003s)
1561 KB/s (380532 bytes in 0.238s)
1962 KB/s (1372660 bytes in 0.683s)
Trying to gain Perm Root
mount: permission denied (are you root?)
/system/xbin/busybox: cannot open for write: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
failed to copy 'tools\su\su' to '/system/bin/su': Read-only file system
failed to copy 'tools\su\Superuser.apk' to '/system/app/Superuser.apk': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
Unable to chmod /system/bin/su: No such file or directory
rm failed for /system/xbin/su, Read-only file system
link failed Read-only file system
FIND: Parameter format not correct
rm failed for EasyAceRoot.cmd, No such file or directory
Perm Root achieved...
Press any key to continue . . .
Click to expand...
Click to collapse
For anyone interested, here is the tweak I made to the cmd file to find fre3vo:
Original:
echo Achieving Temp Root
echo.
adb push /tools/tmp/fre3vo /data/local/tmp
Click to expand...
Click to collapse
Tweak:
echo Achieving Temp Root
echo.
adb push tools\tmp\fre3vo /data/local/tmp
Click to expand...
Click to collapse

bootloop at lock screen

hi, i have a s10e (sm-g970f) im a noob btw plz hlep
last night it was working fine but now when i turned on the phone it started bootlooping on the lock screen (boot animation shows before i can do anything)
ive already tried booting into safe mode, remove lock screen, power off, waiting, remove sd card/sim card but the loop still continues
its rooted with magisk 25.2 on pixel experience plus (android 13) with twrp 3.7.0_9-1
bootloader is unlocked
before ive flashed disable dm verity and force encrypt thing so its not encrypted
magisk modules:
systemless hosts
magiskhide props config
universal safetynet fix
shamiko
substratum
pixelify
lsposed
pixel 6 pro (raven) props
is there a way to fix this without wiping data/apps bc ive already done that like 20 times and its annoying
theres a last_kmsg log attached idk if its important
someone help
thanks
edit: kmsg log not uplaoding
video of bootloop imgur.com/a/y9NXjNn
why you have done this 20 times?
first, twrp backup /data and copy files to PC. next, try to boot magisk core only.
Code:
adb pull -a /sdcard
adb shell touch /cache/.disable_magisk
no luck, same bootloop is still there
get logcat from boot-loop and share via pastebin.com maybe there is hint for cause
how do i do that?
when i try to get logcat from adb its stuck on - waiting for device -
I was assuming you already enabled usb-debugging and authorized adb previously.
However, you can enable from TWRP. you can place adbkey.pub directly.
- find the %UserProfile%\.android\adbkey.pub file
- use the little shell script (you can view as text file and have a look into what it actually does)
- copy in TWRP
Code:
adb push adbkey.pub /cache
adb push adbguard.sh /data/adb/service.d
adb shell
cd /cache
rm .disable_magisk
cat adbkey.pub >> /data/misc/adb/adb_keys
chmod 0755 /data/adb/service.d/adbguard.sh
- now reboot and try again adb logcat
- if it works, reboot one more time and redirect logcat to text file
Code:
adb logcat > logcat.log
ive enabled usb debugging,
ive also tried modifying boot.img from this thread (https://forum.xda-developers.com/t/how-to-logcat-when-bootloop.3490228)
im pretty sure twrp is decrypted how do i place adbkey thing
logcat file too big for pastebin
logcat
edit: text file didnt upload so i put in zip
edit 2: lots of errors and stuff
edit 3: aaaaaaaaaaaaa
20000 lines... well no clue where to start. will have a look into tomorrow. just a quick look in begin of log there is something wrong with keystore. how did you remove lock screen?
also only guesswork, but maybe try to disable zygisk (have to figure out) as I can see some related errors. maybe related to bootanimation crash.
Code:
E Zygote : Zygote failed to write to system_server FD: Connection refused
can you adb pull /data/adb/magisk.db?
hmm alright
i removed lock screen by looking in some xda forums deleting some lock screen files, hopefully it wasnt bad :/
(i removed lock screen after bootloop started)
aIecxs said:
can you adb pull /data/adb/magisk.db?
Click to expand...
Click to collapse
here
okay I don't know if there is easier way, but you can modify magisk.db and disable zygisk. TWRP should have sqlite3 binary in path already, so just skip first three lines and the /cache/ prefix.
(only in case it's missing)
New SQLite3 Binary v3.42.0 for ALL devices
I built the latest stable SQLite3 binary for ARM devices. I built it as I have an app that I requires it, and distribute it with my app TeMeFI , as a lot of people asked to not have to install it as a separate step. TeMeFI app does a LOOOOOT of...
forum.xda-developers.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
adb push sqlite3 /cache
adb shell
chmod 0755 /cache/sqlite3
/cache/sqlite3 /data/adb/magisk.db '.mode column' '.headers on' 'select * from settings'
/cache/sqlite3 /data/adb/magisk.db "UPDATE settings SET value = 0 WHERE key = 'zygisk'"
/cache/sqlite3 /data/adb/magisk.db '.mode column' '.headers on' 'select * from settings'
Don't know if that circumvent anything, that's just trial and error. But you can undo by SET value = 0 any time.
uh how do i get sqlite thing working?
it says /sbin/sh: /cache/sqlite3: No such file or directory
im total noob
lol
edit: ill try do other stuff tmrw ima go sleep
inside twrp 'adb shell' just type 'sqlite3' instead '/cache/sqlite3'
(I had sleep for 8 hours right before now see you tomorrow)
ok i tried disabling zygisk but it doesnt work
that day i turned on airplane mode and turned off phone, idk if thats causing problems
anyways back to sleep
the log is full with errors, it will probably take more time to fix than start from scratch and restore backup. you can however use logcat-colorize to make it readable.
I can help extracting data.f2fs.win files and restore apps data manually, in case you are interested.
Hmm ok
I have this old twrp backup with Google authenticator on it but I just can't seem to restore it
The other apps/stuff on the phone isn't as important
If I try to fix the bootloop, it will probably take too long
you have TWRP so make backup now #2
ive made a backup, but:
i have this half backup that the really noob past me decided to cancel, i dont know if its still needed
and this ab file that was made when i did smt like adb backup --twrp so its like a twrp backup, but its an adb backup
ill try and usethis https://github.com/TeamWin/Team-Win-Recovery-Project/issues/898#issuecomment-1062793000
ok now i have these files
ok now restoring

Categories

Resources