I have a N9005 which has the stock Samsung ROM, the only modification made is that it's rooted with the Odin method.
I edited the build.prop file, and the system is stuck in a bootloop (just blank screen after the animated Samsung Logo).
I made a backup of the build.prop file on the extSdCard.
What's the best way to get the phone recovered? (hopefully without doing a factory reset).
I tried using ADB but it doesn't recognise the phone (even with Samsung Drivers installed). When I boot into recovery mode the options are:
1) Reboot System Now
2) Apply Update from ADB
3) Apply Update from External Storage
4) Wipe Data/Factory Reset
5) Wipe Cache Partition
6) Apply Update from Cache
Thanks in advance for any help!
Install twrp. Mount system. Copy those build.prop from extsd into system using file manager. Then set permission as as chmod 744. Just play around in the twrp, all of the options(mount/file manager/permission) are in there.
Or flash stock rom with odin.
Sent from my SM-N920C
Is there a way to install TWRP without being in the phone? Most of the tutorials for installing TWRP requires you to install an app from the Play Store
Ok TWRP is installed, how do I go about copying the build.prop file from the backup to the /system directory
In twrp select mount. In select partition to mount list, tick system
Go back to main menu. Select advanced>file manager. Browse to the build.prop in your externalsd. Select the file. You'll be prompted with several options. Choose copy file.
Navigate to system. There is a select button. Press on it. Automatically it will prompt to copy the file.
Back to main menu. Choose permission. Navigate to system/build.prop. select it. You'll be prompted with a few options. Choose chmod 755
Reboot
Sent from my SM-N920C
Related
Hi,
I installed cm7 with the stable build 7.0.3 and for some reason couldn't get gapps to work. the n I tried to update to 7.1.0 rc but I can't for some reason. I tried reboot into recovery and install from SD on ROM manger but it wouldn't work. can someone please help me?
What kind of error messages do you get? Does it reboot and fail? Or does the install fail? Elaborate please. Or, if you don't want to answer those question but take forever to install, here goes the El Guide:
0.5: Go into settings>applications. Tick Nonmarket installs and usb debugging.
1. Backup all your data. Simple. Do this on a computer with ADB:
Code:
mkdir Backup
and
Code:
adb pull /data/app/ app/
lastly:
Code:
adb pull /data/data/ data/
2. Download CM7. Pick your version. Nightly, RC, stable. Download it to the sd card. Also google "gapps" and download the universal version, for all devices. Put that on the sd card. Also download any other things to have flashed (OC kernel, Keysmod) and put it in the sd card.
3. Boot into ClockWork Mod. (Rom Manager > Reboot into recovery) Using the volume button to navigate, go to mounts + storage, and format system, data, and cache. Go into advanced and formate dalvik cache.
4. Now hit the power button, select Install zip from sd card, choose zip from sd card, then find the cm_encore_xx_xx.zip. Select Yes to flash.
4.5: Do the same step to get to selecting the zip, but this time pick gapps. Then also flash any other things you need too. (OC Kernel, keysmod)
5: Power button> reboot device
6. Boot into CM7. Set up the installation. Now plug into the computer.
7. Make sure the nook is setup on cm7 and is at the home screen, NO OTHER ACTIVITY GOING ON.
8. Run these commands from the computer using ADB:
Code:
cd Backup
Code:
adb push app/ /data/app/
(wait, it depends how long on the amount of apps you had.)
Code:
adb push data/ /data/data/
Code:
adb reboot
System should reboot, with data & apps restored. If all you get is a bunch of force closes on boot or launching an app, redo steps 2-7 but then do this:
-begin steps for desperate people-
Go into settings>applications. Tick Non-market installs and usb debugging.
Download File Expert from the market.
Run on the computer:
Code:
adb push app/ /sdcard/install/app/
Code:
adb push data/ /sdcard/install/data/
Make sure before that there is enough space on the sd card to hold those two folders.
Now run file expert, go into the install folder, press+hold on the app folder, and select "Install all APK Packages" Now just select install for each file. Now run this adb command:
Code:
adb push data/ /data/data/
Now reboot. BAM! Apps restored. And app data too.
-end desperate people instructions-
There you have it. A [long post to type in the quick reply form] guide to install cm7 latest. Note that for most future releases, these steps won't be necessary. The only thing will be to flash cm7, gapps, and other packages. This process of backuping and stuff was becaus (for me) upgrading to a major release caused issues.
To elaborate, it does nothing. I follow verygreens method to install a new build. I put it on the SD card( file is a zipped one) and then put it in my nook color and power on. Then I reboot in recovery. It just doesn't do anything. same for gapps. I thing I may be doing it wrong. I also tried going to install from SD ( in ROM manager) and I found the build and choose it. It then shows me reboot options and I pick wipe Dalvik cache and back up existing ROM. It then reboots and does nothing.
P.S. I don't have any data on my nook color that I can't install again.
i format my Nexus 4 on twrp recovery using advance wipe and i checked all the box there, and when i rebooted its stuck on google logo, what should i do?
Well why would you do that? If you selected everything under advanced in twrp, that means that you have also wiped the system partition so there is no rom to boot into, hence why you are stuck at the google logo. You will need to use adb to copy a rom onto your phone, and then flash it via twrp. Instructions:
1. Setup adb: http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/
2. Install Koush's universal adb driver (google this for the download)
3. Put the phone into twrp
4. Download a rom on your pc and move it to your desktop. Rename it to "rom.zip".
5. Open a command prompt window and run the following commands:
Code:
adb devices
If your phones serial number shows up, continue. If not, reinstall drivers.
Code:
cd Desktop
adb push rom.zip /sdcard/
6. After its finished pushing, go to install within twrp and flash it.
when i typed in cd desktop it says "The system cannot find the path specified". and when i continue to adb push rom.zip /sdcard/ it says "cannot stat rom.zip: no such file or directory"
it worked, thanks for your help.
I hope you realized when you checked all the boxes, you checked to wipe the internal storage which holds all your personal data.
And you checked to wipe /system partition which house the operating system, of course there wouldn't be anything to boot into.
sent from xda premium app
Hi!
I just figure out how to reset device status to Official (which is teoretically from factory original).
I'M NOT RESPONDING FOR BRICKED DEVICE. USE THIS METHON ON YOUR OWN RISK.
1. Go to TWRP and connect phone to PC.
2. Open CMD/terminal and: adb shell
3. umount /sdcard
4. mount /dev/block/platform/msm_sdcc.1/by-name/persist /sdcard
5. cp /sdcard/rct.cfg /external_sd/rct.cfg
6. Copy file from MTP/external_sd to any place on PC
7. Edit file with text editor and change required lines:
change Rooted to Not rooted
delete info of files (su, sh, etc.)
delete time of root files detection
8. Save file
9. Copy rct.cfg to external_sd on MTP device
10. cp /external_sd/rct.cfg /sdcard/rct.cfg
11. Now you can unplag phone.
12. Format system, data, cache from TWRP menu (I do that, don't trying without full wipe)
13. Go to Reboot and hit shutdown
14. Confirm to shutdown without installed system
15. Skip installing root
16. Flash factory kdz with LG Flash Tool 2014.
After booting you will se status of RCT saying Official.
Thanks to @AriHell for inspiration from this thread: http://forum.xda-developers.com/lg-g3/general/tot-reset-rct-root-check-tool-t2853627
Hi there!
I've brought my rooted device from marshmallow to nougat without rooting again. And I do not need TWRP-Recovery any more. So all is on stock. I've not made a clean install, only upgraded from 6 to 7. But now there is the "Official TWRP App" I cannot uninstall. I can only deactivate it.
How can I uninstall this useless app from my actually not rooted device?
Find where it is - system/app /priv-app, other?
Use(boot only) twrp 3.+
fastboot boot twrp3xxx.img
(go to settings - un twrp app), mount - system, advanced - file manager - go to folder with app and delete file.apk, folder too. Reboot. @naturelle
in a twrp console or adb root.
rm -r /data/data/me.twrp.twrpapp
rm -r /system/priv-app/twrpapp
h/t to: sebastian-de who documented it
Didn't work
Having the same issue.
I've removed /data/data/me.twrp.twrpapp and /data/app/me.twrp.twrpapp folders. The app disappeared, but power menu still contains Fastboot and Recovery buttons. Is there any way to remove them too?
any idea?
titanium didnt work
Hi everyone.
I just f*ckd up my watch by following bad written guides.
I have no backup and I didn't manage to copy magisk-...zip to the watch, because it had an invalid format. I didn't know that i just had to rename apk to zip in a new file.
I accidently rebooted into system after installing magisk.apk resulting in never ending bootloop. Now it stucks in the bootloop unable to enter system.
Now my PC is unable to locate the device. I managed to set the following manually via that tiny display keyboard:
Now type adb shell mount data and adb shell mount system to mount the respective directories.
Get the persist.sys.usb.config file in your system using adb pull /data/property/persist.sys.usb.config /Your directory
Now open that file in a texteditor and edit it to mtp,adb and save.
Now push the file back in the device; adb push /your-directory/persist.sys.usb.config /data/property
Get the build.prop file; adb pull /system/build.prop /your-directory
Add these lines:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
I can always enter the bootloader and recovery, but I am unable to connect to the watch. I think it's because the missing RSA verification.
Is there a workaround? I dont get asked if I want to establish a connection to my pc.
I managed to get adb connected using MTP
I see my device connected via USB, but how do I get the watch back to working?
I followed these steps:
Boot into recovery by selecting it with the side buttons (switch with bottom one, select with upper button)
Select Wipe -> Advanced Wipe -> select Format Data
Reboot to recovery
Select “Install -> ADB Sideload” If you want OneOS:
Flash OneOS with adb sideload
Flash Mobvoi Apps package with adb sideload
Make a copy of your Magisk apk file to Magisk-v24.3.zip
Flash Magisk with adb sideload Magisk-v24.3.zip
Flash DM-Verity_ForceEncrpyt Disabler with adb push disabler.zip /sdcard/ and Install via TWRP
Now I stuck here in a bootloop:
Reboot & do initial setup (pair with your phone through WearOS app)
I think I now f*ckd up completely.. I tried the above steps, still hanging in the bootloop, but now I cannot reconnect ADB.
I see in the kernel logs:
[MTP] failed to start usb driver! ...
Cannot find file /sys/class/android_usb/android0/idVendor
Cannot find file /sys/class/android_usb/android0/idProduct
MTP request read returned -1 err...
Disabling MTP
Any idea how to fix this?