Got a new mod or a new flashable zip ? Just installed it and Got bootloop ?
Don't worry here there are few way to recover from it.
# This thread is created cuz few members don't know there is file manager present in recovery and few don't know how to use it.
First step for all process
# Open recovery
# Mount > System
# Return to home screen in recovery
# Advanced > file manager
Flashable zip gone wrong
# unzip the flashable zip file
# checkout what files it has
# now open System and checkout the same files in flashable zip
# delete the files that are present in flashable zip in the system partition.
# Reboot
Manually installed app using file manager with rw-r-r permission
# open the recovery file manager and open the place where you placed the app
# Just delete it
# Reboot
Build prop
# edited the build prop ? Now got stuck in bootloop?
# open recovery file manager > system > build.prop > delete
# copy the original build.prop and paste it in the > System
# Reboot
Disclaimer:
# I'm not responsible for any damage to your device.
# Proceed at your own risk
# This method does not works in all condition
# in case if a file is over written in system and you delete it - it can also cause bootloop.
# Proceed with caution.
# Hit like if this is useful to you !!
Related
*** WARNING: This is a risky procedure that could damage your phone - PROCEED AT YOUR OWN RISK ***
*** ONLY INSTALL THE LATEST VERSION AVAILABLE -> beta ***
Hello everyone,
I've succesfully ported the CyanogenMod Clockworkmod recovery for Optimus Chic Some details:
-> Url flash_image: MEGAUPLOAD
-> REQUIREMENTS:
-- ROOT
-- ADB
-- KNOW HOW TO CHECK THE MD5SUM OF A FILE -> HowToMD5SUM - Guide for Windows and Linux
The Recovery can be installed as follow:
Download recovery.img from the link above
IMPORTANT: Check MD5SUM - This is to ensure that during the download / copy the file is not corrupted
Copy recovery.img to the SD
download Flash_image, unzip and copy it to SD
Now you must install the recovery through ADB (the commands must be entered one by one in the shell, waiting a couple of seconds between one and another.
Code:
$ adb remount
$ adb shell
# cat /sdcard/flash_image> /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# flash_image recovery /sdcard/recovery.img
# reboot recovery
Note: the command
Code:
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
could give you an error "File not found", ignore it.
If all goes well, the menu with a cheerful hat ClockworkMod background confirms that the boot recovery occurred in CW.
Also ignore the error below: "E: bad boot message" is not a real error.
The recovery functionality is simple:
- The volume keys to scroll
- The back button to go back
- The power button to select a menu item.
If you have problems, you can select Advanced / Error Reporting. This will generate a log into SD (recovery.log). You can use it to understand the problem.
---------------------------------------- Changelog - --------------------------------------------------------
v1 -beta 29/10/2011 (old)
Initial Release.
-> Link: MEGAUPLOAD MD5SUM: eb0facd4905f78ea2d2af519705ef130 (recovery.img)
Original Thread : [TEST] Custom Recovery per LG Optimus Chic - Clockwork 5.0.2.7 - Androidworld.it
Thanks to:
markolino631
Disclaimer:
Neither I nor XDA consider ourselves responsible for any damage caused to the telephone,
install this recovery at your own risk.
Post Reserved for future updates.
Please give me feedback about recovery functionalities.
for al of you stuck on airplane mode while using bsnl/mtnl sim here is the solution:
(1st method )-
first download teminal from android market
than open terminal and type :
su
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
delete from system where name = 'airplane_mode_on';
.exit
exit
reboot
(2 method) -
download sqlite manager , root explorer
using root explorer goto /data/data/com.android.providers.settings/databases and copy settings.db , paste in sdcard root.
now open this settings.db file in sqlite editor and delete this row :- 'airplane_mode_on'
now copy this file from sdcard root and paste it in
/data/data/com.android.providers.settings/databases
now set appropriate permissions on the file file settings.db otherwise you will be boot loop struck
now reboot .....
(method 3)-
copy attached settings.db file below to goto /data/data/com.android.providers.settings/databases
set appropriate permisions
& reboot
well u r done
hope this fixes ur problem.......
required files are attached below......
to set permisions long press the file for options click on permission n set appropriate permissions
thats good buddy.
This sounds similar to http://forum.xda-developers.com/showthread.php?t=1408472#post20910541
sorry bro i din saw it!!!!!
vishal24387 said:
thats good buddy.
Click to expand...
Click to collapse
thanks dude....
Awesome Thread !!!!!
Would this also work on ICS ROMs for I9000 ?
Been facing the same issue on every other custom ICS ROMs..
Would appreciate any help ......
Why dont you do a nandroid backup and give it a try?
hello all,
this recovery is not ported by me, xda's senior member fun_ have ported this to many devices, and we using the one which is compatible with paladin, many many thanks to him, a link to original thread is here
requirements:-
1. a rooted phone, you can root your tab here
2. cwm recovery image which you can get here
steps:-
1. open file manager which can have root access
2. go to system and rename recovery.cpio.img to recovery.cpio.img.bak
3. put downloaded recovery in /sdcard
4. open terminal emulator
5. type su
6. type "inand_flash_image recovery /mnt/sdcard/recovery.cpio.img" (if you have put it in flash then replace sdcard with flash)
7. then boot into recovery by holding menu and power button together or by typing "reboot recovery" in terminal emulator
how to control recovery:-
# power button is used to select options
# menu button will take you up
# home button will get you down when pressed
some notes you should keep in mind:-
1. back button do not work in recovery
2. never try the key test option else you will get stuck
3. backup do not work for boot, xboot, mbr areas
4. do not flash any rom available for paladin, basic etc. devices (or you will have a hard bricked tablet)
a simple step to enable on-screen back button
as soon as you booted into recovery, press menu then home then again menu, a message will appear saying enabled ( can be done in every screen)
Cwm
Nt able to rename recovery.cpio.img to recovery.cpio.img from andro zip, es file explorer,terminal . . ? Any solution?
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
dheeraj (dhlalit11) said:
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
Click to expand...
Click to collapse
failed - read only file system . . . ? . . Any other way to rename this file
pbhasin21 said:
failed - read only file system . . . ? . . Any other way to rename this file
Click to expand...
Click to collapse
tab is not rooted root it first
http://forum.xda-developers.com/showthread.php?p=29100664
dude i followed ur steps, used root explorer to rename to bak, and then tried, i get kcrc32 file size not same. and then when i boot to recovery the whole screen goes berzerk with curtain falls and doesn't do anything. i renamed the bak file into normal and flashed it and got the old recovery.. could you tell me what im doing wrong? used your recovery.cpio.img 3.5mb file in my sdcard... doesnt work..
rooted karbonn smart tab
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
dheeraj (dhlalit11) said:
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
Click to expand...
Click to collapse
yup i got it twice, kcrc32 not same.
then i entered reboot recovery. thats when the screen goes all curtainfall like a crash, and recovery doesn't load. i had to use the reset pin and power button to turn on the tab again.. perhaps the img is not compatible with my tab?
btw mine is Karbonn Smart Tablet 2.
http://ncarry.nimbuzz.com/karbonn/product.php?product_id=2212
but when i purchased, it came with android 4.0 ics. everything else is same as in that page..
it is different
and I think that's why recovery is not booting
any suggestions mate? perhaps another ainol tab is similar to karbonn st2?
What if there is no "recovery.cpio.img" file in the system folder? This is after having root permissions...nothing has been done otherwise. I do not have a recovery file to rename and am unsure if it should still go in the system folder or not. It doesn't even have a file extension (I had to transfer it to my laptop just to check, and there's no .img or .zip...nothing.)
Also I keep getting the following message in terminal emulator when attempting to run the command:
sh: inand_flash_image: not found. The image file is in the /mnt/sdcard/Download folder. The full instance is:
[email protected]:/ $ su
[email protected]:/ # inand_flash_image recovery /mnt/sdcard/Download/recovery.cpio.img
sh: inand_flash_image: not found
127|[email protected]:/ # inand_flash_image
sh: inand_flash_image: not found
Any help?
Today I've brought my first 4.4.* device, a nexus 7 from 2012. I did installed cwm (with some efforts, though. It seemed that cwm would not install if bootloader was not unlocked). In file manager I cannot acces backup path.
Code:
[email protected]:/sdcard # cd clockworkmod
[email protected]:/sdcard/clockworkmod # ls
[email protected]:/sdcard/clockworkmod #
In the real sdcard path I found only the log (in file manager) adb still shows nothing
Code:
[email protected]:/storage/emulated/0 # cd clockworkmod
[email protected]:/storage/emulated/0/clockworkmod # ls
[email protected]:/storage/emulated/0/clockworkmod #
I find the same folder structure in several paths : /storage/sdcard0, /storage/emulated/legacy.
I think i'm failing to understand the FS of kitkat. The backups are present (in cwm they are shown as being located in /sdcard/clockworkmod but I cannot find them. What am I missing here?
le : I found the path. It is /mnt/shell/emulated/cwm.
Thanks
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS
Code:
# knox_bit_warranty:0x1
#
# Your warranty is now void
#
# You have been warned.
#
# I will laught at you if you point the finger at me.
Hello everyone, in this guide I will be showing you how to edit android HOST file. There will be more methods in this guide, make sure you have allready unlocked the OEM and have installed root_privlages
Unlocking the bootloader and rooting
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
I will be updateing this guide regulary so make sure to chek it.
FIRST METHOD
First method is by useing Android Debugging Bridge (ADB). Make sure you SDK platform tools ready on your pc.
1. Open a terminal window in the install folder of platform tools.
2. Pull the hosts file out of the phone to your PC
Code:
adb pull /system/etc/hosts C:\platform-tools
Ofcourse you can change the location of where you want the fille to be pulled to.
3. Once you have pulled the hosts file to the desired location you can edit it. I will share my hosts file I use on my PC, you can take stuff frome there and integrated it in to yours. But don't put #, " and usles text, It will not like it.
4. After you have edited the host file to your needs, you need to send it back to your phone.
Code:
adb shell
su
mount -o rw,remount /system
adb push C:\platform-tools\hosts /system/etc/
After you type SU a prompt for root_privlages will apear on your phone, allow the shell to have root_privlages. mount -o rw,remount /system will disable SYSTEM on READ_ONLY
5. After pushing the HOSTS file to your phone put SYSTEM back to READ_ONLY
Code:
mount -o ro,remount /system
6. Enoy.
SECONED METHOD
Doesn't require root but requires TWRP to be installed.
1. You will need SDK platform tools
2. Open a terminal windows in the install folder of platform tools.
3. Pull the HOST file from the phone
Code:
adb pull /system/etc/hosts C:\platform-tools
Ofcourse you can change the location of where you want the fille to be pulled to.
4. Once you have pulled the hosts file to the desired location you can edit it. I will share my hosts file I use on my PC, you can take stuff frome there and integrated it in to yours. But don't put #, " and usles text, It will not like it.
5. Transfer your version of the HOSTS file to your sd_card, either by file explorer or ADB
Code:
adb push C:\platform-tools\hosts /sdcard
6. Boot in to TWRP and tap on mount, uncheck the option SYSTEM PARTITIONS ON READ_ONLY
7. Once READ_ONLY is disabled on SYSTEM partition go in to advanced then in to file manager. Copy your hosts file from external_sd card to system\etc\
8. Reboot and enoy.
THIRD METHOD
Requires SDK platform tools and root_privlages
1. Open terminal window in install folder
2. Run shell with super user
Code:
adb shell
su
You will get a pop up on your phone for shell asking root_premisions you want to click allow.
3. Remount system and get in to folder of host file
Code:
remount system
cd system
cd etc
4. Display the host file in terminal window
Code:
cat hosts
5. Manualy edit host file, this is with a example ip
Code:
echo "127.0.0.1 google.com" >> hosts
6. You should see this now after running cat hosts
Code:
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 google.com
7. Exit shell by typing exit
FOURTH METHOD
Useing a app on your phone which is the easiest way. Requires root_privlages.
Wount be writeing that, I will link a video that will show you how to do it.
Credits goes to him for that video.
FIFTH METHOD
You can use a terminal emulator app on your phone and manualy do everything, same as THIRD METHOD.
Requires root_privlages
LINKS:
Unlocking the bootloader and rooting
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
Installing TWRP and LInageOS
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
what are bloat ips and how do i add?
also how much of the host file is necessary
Seems the solution is not working for me,
I'm on Android 11 and it seems I cannot remount because I need to disable dm-verity first.
But when I run adb disable-verity, I got following error:
Code:
verity cannot be disabled/enabled - USER build
Any idea how to make it work?
LAST_krypton said:
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS
Code:
# knox_bit_warranty:0x1
#
# Your warranty is now void
#
# You have been warned.
#
# I will laught at you if you point the finger at me.
Hello everyone, in this guide I will be showing you how to edit android HOST file. There will be more methods in this guide, make sure you have allready unlocked the OEM and have installed root_privlages
Unlocking the bootloader and rooting
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
I will be updateing this guide regulary so make sure to chek it.
FIRST METHOD
First method is by useing Android Debugging Bridge (ADB). Make sure you SDK platform tools ready on your pc.
1. Open a terminal window in the install folder of platform tools.
2. Pull the hosts file out of the phone to your PC
Code:
adb pull /system/etc/hosts C:\platform-tools
Ofcourse you can change the location of where you want the fille to be pulled to.
3. Once you have pulled the hosts file to the desired location you can edit it. I will share my hosts file I use on my PC, you can take stuff frome there and integrated it in to yours. But don't put #, " and usles text, It will not like it.
4. After you have edited the host file to your needs, you need to send it back to your phone.
Code:
adb shell
su
mount -o rw,remount /system
adb push C:\platform-tools\hosts /system/etc/
After you type SU a prompt for root_privlages will apear on your phone, allow the shell to have root_privlages. mount -o rw,remount /system will disable SYSTEM on READ_ONLY
5. After pushing the HOSTS file to your phone put SYSTEM back to READ_ONLY
Code:
mount -o ro,remount /system
6. Enoy.
SECONED METHOD
Doesn't require root but requires TWRP to be installed.
1. You will need SDK platform tools
2. Open a terminal windows in the install folder of platform tools.
3. Pull the HOST file from the phone
Code:
adb pull /system/etc/hosts C:\platform-tools
Ofcourse you can change the location of where you want the fille to be pulled to.
4. Once you have pulled the hosts file to the desired location you can edit it. I will share my hosts file I use on my PC, you can take stuff frome there and integrated it in to yours. But don't put #, " and usles text, It will not like it.
5. Transfer your version of the HOSTS file to your sd_card, either by file explorer or ADB
Code:
adb push C:\platform-tools\hosts /sdcard
6. Boot in to TWRP and tap on mount, uncheck the option SYSTEM PARTITIONS ON READ_ONLY
7. Once READ_ONLY is disabled on SYSTEM partition go in to advanced then in to file manager. Copy your hosts file from external_sd card to system\etc\
8. Reboot and enoy.
THIRD METHOD
Requires SDK platform tools and root_privlages
1. Open terminal window in install folder
2. Run shell with super user
Code:
adb shell
su
You will get a pop up on your phone for shell asking root_premisions you want to click allow.
3. Remount system and get in to folder of host file
Code:
remount system
cd system
cd etc
4. Display the host file in terminal window
Code:
cat hosts
5. Manualy edit host file, this is with a example ip
Code:
echo "127.0.0.1 google.com" >> hosts
6. You should see this now after running cat hosts
Code:
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 google.com
7. Exit shell by typing exit
FOURTH METHOD
Useing a app on your phone which is the easiest way. Requires root_privlages.
Wount be writeing that, I will link a video that will show you how to do it.
Credits goes to him for that video.
FIFTH METHOD
You can use a terminal emulator app on your phone and manualy do everything, same as THIRD METHOD.
Requires root_privlages
LINKS:
Unlocking the bootloader and rooting
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
Installing TWRP and LInageOS
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...
forum.xda-developers.com
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
Click to expand...
Click to collapse
Thanks, I will be thankfully glad that I seccseed, Fir 1st Method via twrp recovery>file terminal,mount system>file maneger>cd /system/host/etc, but Ihave lost the host of the host refer to gms [email protected]#$# auto update, someone has made that in past and now a days the battery work by the rulz of android 9 eco system
great write up, third method worked for me on Android 12 with root.
tealtadpole said:
Seems the solution is not working for me,
I'm on Android 11 and it seems I cannot remount because I need to disable dm-verity first.
But when I run adb disable-verity, I got following error:
Code:
verity cannot be disabled/enabled - USER build
Any idea how to make it work?
Click to expand...
Click to collapse
the easiest way is to get and use a vndklite image.
you can google: "vndklite vs vndk" to learn more about it.
here it is from Google for a head start: https://source.android.com/docs/core/architecture/vndk
I cannot solve my one issue and very dipressed, I highly for you to see the given link and plz replay me for my Issue.