[Q] How to delete install-recovery.sh in milestone? - Motorola Droid and Milestone General

I found the following warning in a Rooting guide for Milestone:
If you applied an OTA update before, there is a script run at every system boot that checks and re-flashes the recovery when its checksum doesn't match. In such case, you have to avoid booting to android after the vulnerable recovery flash. Boot directly to recovery when RSD Lite restarts the phone (hold camera button) and from there remove the /system/etc/install-recovery.sh file.
rm -f /system/etc/install-recovery.sh
Could someone provide me detailed information on how to access the recovery and delete the install-recovery.sh file? Also does this reflashing occur on all Milestone which has received any OTA update?

Over 30 views, and still not a single reply. Come on guys, I know you are better than that...

uptheironsrafi said:
I found the following warning in a Rooting guide for Milestone:
If you applied an OTA update before, there is a script run at every system boot that checks and re-flashes the recovery when its checksum doesn't match. In such case, you have to avoid booting to android after the vulnerable recovery flash. Boot directly to recovery when RSD Lite restarts the phone (hold camera button) and from there remove the /system/etc/install-recovery.sh file.
rm -f /system/etc/install-recovery.sh
Could someone provide me detailed information on how to access the recovery and delete the install-recovery.sh file? Also does this reflashing occur on all Milestone which has received any OTA update?
Click to expand...
Click to collapse
First copy AOR to the root of sdcard.
Flash the VR. When the phone reboots and before it shows the M logo, press and hold the "x" key for a few seconds till the M logo is seen, then release. It should show you the triangle with exclamation mark. Press up volume button + camera button. It will show you recovery menu. Choose second option " apply sdcard update ".
After AOR menu is shown, choose console and type the command.
Done.

i first update my Milestone to the official 2.2.1.
Then copied the AOR 3.3 to sd card.
Then flash VR. then directly start to the recovery and flash the AOR.
After a while AOR starts and i type rm -f /system/etc/install-recovery.sh in the console and then "exit"
But i have to flash the AOR every time, because the stock recovery starts when i press camera button while startin (bootloade 90.74)

In the froyo menu, select Install Open Recovery at boot
After you select that, it will load AOR automatically if you hold the camera button (or X for 90.78 bootloader)
If you wipe caches, then you lose that so you would just Install OR at boot again

I flashed vulnerable recovery, flashed AOR and rooted my phone, and deleted the install-recovery.sh using the console command. I also selected the Install open recovery at root from the Froyo menu. However, my phone returns to the previous recovery menu every time i enter the recovery, and I have to flash AOR all over again.
Is there anyway to prevent this?

I'm having the exact same problem. Still looking for a solution. When I used root explorer to try and find install-recovery.sh BEFORE i started the whole process of trying to install VR, i couldn't find it (I previously used SuperOneClick to root after doing the official 2.2.1 update from Telus/Motorola). I suspect the file has been renamed and moved with this new 2.2.1 update.

This'll fix it but good http://forum.xda-developers.com/showthread.php?t=796679&page=26

zeppelinrox said:
This'll fix it but good http://forum.xda-developers.com/showthread.php?t=796679&page=26
Click to expand...
Click to collapse
Like someone said in that thread, I love you right now!

Related

G1 - Recovery mode Exclamation Mark Screen

1. I had a rooted phone with CyanogenMod 4.1.9999
2. I downloaded Original System Image (signed-dream_devphone_userdebug-img-14721.zip) from http://developer.htc.com/adp.html
3. I updated the phone with the zip file
Now I'm getting an exclamation screen when I try to get into recovery scree (Pressing Home button during boot)
I tried to downgraded using RC29 Image: http://android-roms.googlecode.com/files/DREAIMG-RC29.zip - Followed first 6 steps from http://forums.tmonews.com/index.php?topic=8970.0
I'm not able to update or do anything with the phone now.
PLEASE HELP!!!!
my guess would 2 be push alt+l and a list of options will come up! Also dont use the system image from htc.com use the recovery image 2 go back 2 whatever version you want it 2... make sure u wipe before you downgrade/upgrade
please move
sorry to be the one to point this out...but please ask these questions in the q&a section as it is not development related
garok89 said:
sorry to be the one to point this out...but please ask these questions in the q&a section as it is not development related
Click to expand...
Click to collapse
I'm sorry for posting it here. I'm not able to move it to Q&A section. If there is an option, please let me know how.
law_ren_ce said:
my guess would 2 be push alt+l and a list of options will come up! Also dont use the system image from htc.com use the recovery image 2 go back 2 whatever version you want it 2... make sure u wipe before you downgrade/upgrade
Click to expand...
Click to collapse
Thanks law_ren.
I get 3 options when i press Alt+L
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
I renamed the android 1.6 system image to update.zip
[snap]
Verifying update package...
E:No signature (5 Files)
E:Verification failed
hifake said:
Thanks law_ren.
I get 3 options when i press Alt+L
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
I renamed the android 1.6 system image to update.zip
[snap]
Verifying update package...
E:No signature (5 Files)
E:Verification failed
Click to expand...
Click to collapse
The same happens with recovery image signed-dream_devphone_userdebug-ota-14721.zip
I say flash another recovery.img via fastboot.
Hi I have a problem like you....my G1 load only in recovery mode(Hold power=recovery, hold home+power=recovery, camera+power=recovery)
Did you fix your G1??? Please help me fix it
EvGeNN2007 said:
Hi I have a problem like you....my G1 load only in recovery mode(Hold power=recovery, hold home+power=recovery, camera+power=recovery)
Did you fix your G1??? Please help me fix it
Click to expand...
Click to collapse
I haven't fixed it yet. Am not able to place the recovery image using fastboot - my phone is not recognized by the computer
Work around I've found for flashing the recovery image if you can't figure out fastboot (I've never got it to work) is like this:
1. Follow the root procedure.
2. Install the most recent CM rom without using the HTC image (reason I do this is he's got some linux commands built into his ROM that aren't installed in the vanilla android build).
3. Download the cm-recovery-1.4.img to your sd card (or whichever recovery image you like)
4. Run terminal commands like so:
$su root (the reason I do this is it gives you higher level access to the system than just su, and I've found it doesn't work with just su for some reason)
#flash recovery /sdcard/cm-recovery-1.4.img
#reboot
5. Hold your home key as it powers up, and you should have the new recovery image installed.
Of course, I'd say do a full wipe, then install the ROM, and go through the fix permissions and clear cache.
JonnyFlash said:
Work around I've found for flashing the recovery image if you can't figure out fastboot (I've never got it to work) is like this:
1. Follow the root procedure.
2. Install the most recent CM rom without using the HTC image (reason I do this is he's got some linux commands built into his ROM that aren't installed in the vanilla android build).
3. Download the cm-recovery-1.4.img to your sd card (or whichever recovery image you like)
4. Run terminal commands like so:
$su root (the reason I do this is it gives you higher level access to the system than just su, and I've found it doesn't work with just su for some reason)
#flash recovery /sdcard/cm-recovery-1.4.img
#reboot
5. Hold your home key as it powers up, and you should have the new recovery image installed.
Of course, I'd say do a full wipe, then install the ROM, and go through the fix permissions and clear cache.
Click to expand...
Click to collapse
Am not even able to access terminal. I get the following 3 options only
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
hifake said:
Am not even able to access terminal. I get the following 3 options only
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
Click to expand...
Click to collapse
You won't be able to use terminal from recovery until you have a thirdparty recovery image installed. The steps I've listed are for a working phone, and I'm sure that's where part of your problem is. I'd suggest doing a wipe (Alt+W) and going through the root process again. When you get the CM Rom, change the name of it to update.zip, then try the steps I mentioned. I'd suggest having a separate SD card with just DREAMIMG.nbh installed on it for emergencies (especially if you're going to partition your main card).
Thanks
2) Install the most recent CM rom without using the HTC image(What is it? Can explane?)
4) Terminal as i understand its Telnet?
Can i do works a boot mode and then downgrade it to RC29?? Because after it i'll know what to do... Thanks!
EvGeNN2007 said:
Thanks
2) Install the most recent CM rom without using the HTC image(What is it? Can explane?)
4) Terminal as i understand its Telnet?
Can i do works a boot mode and then downgrade it to RC29?? Because after it i'll know what to do... Thanks!
Click to expand...
Click to collapse
Basically to get this working you're going to need to downgrade to RC29 first - so follow the root instructions.
CM = CyanogenMod ROM. To get his working fully you need two roms, which are the HTC Developer ROM and the 4.x ROMs he created (reason being legal distribution of software), but for my instructions, on his ROM page, you're going to skip his instructions, just download his ROM, rename it to update.zip and just flash it from the stock recovery, just so you can get to the terminal once the phone boots up and load terminal (it's in the programs tray). When another screen pops up asking if you want to allow it to use SU functions (it will as soon as you type "su") hit allow.
Terminal is a program downloadable from the Market, it's included with the CM ROM.
His instructions for install are not going to work unless you have a thirdparty recovery image, which at this point from the description, the triangle with the exclamation point is the default system recovery image.
CM Rom page
You should be able to find the Root posts and choose a customed recovery image, there's about 4 or 5 really good ones, I use Cyanogen's, thus my instructions on how to flash it.
You're fortunate that you're getting to the stock recovery, means your phone isn't bricked.
JonnyFlash said:
You won't be able to use terminal from recovery until you have a thirdparty recovery image installed. The steps I've listed are for a working phone, and I'm sure that's where part of your problem is. I'd suggest doing a wipe (Alt+W) and going through the root process again. When you get the CM Rom, change the name of it to update.zip, then try the steps I mentioned. I'd suggest having a separate SD card with just DREAMIMG.nbh installed on it for emergencies (especially if you're going to partition your main card).
Click to expand...
Click to collapse
I have successfully installed RC 29
FW 1.0
Baseband 62.33.20.08H_1.22.12.29
Kernel: 2.6.25-01843-gfea26b0
Build: kila-user 1.0 TC4-RC29 115247
But Am not able to download telnet (or any other app) from market. I have tried several times with wifi & Cell data .
hifake said:
I have successfully installed RC 29
FW 1.0
Baseband 62.33.20.08H_1.22.12.29
Kernel: 2.6.25-01843-gfea26b0
Build: kila-user 1.0 TC4-RC29 115247
But Am not able to download telnet (or any other app) from market. I have tried several times with wifi & Cell data .
Click to expand...
Click to collapse
Not sure what you mean? Telnet for these intents and purposes is basically just a command. The page on how to root has become pretty convoluted at this point. The part where it tells you to type 'telnetd' is just running a script which is an exploit in the old releases of android. You won't be messing with Terminal really until you get to the point where you've updated the rom. From this point, I'd suggest downloading this root.apk from your browser, install it, allow it, follow the instructions step by step in the program.
My problem consist of that i can't turn on my phone and i can't get into bootloader...only recovery can you give me a link for RC29 download and then install it from recovery on my g1 from recovery.
Thanks!
EvGeNN2007 said:
My problem consist of that i can't turn on my phone and i can't get into bootloader...only recovery can you give me a link for RC29 download and then install it on my g1 from recovery.
Thanks!
Click to expand...
Click to collapse
You're probably going to need a card reader...here's the instruction for rooting with a download for the RC29.
http://forum.xda-developers.com/showthread.php?t=442480
I know all this steps but i Tell that i CAN'T get into boot mode and in boot downgrade from DREAMIMG.nbh to RC29... In that All my problem...
How can i flash to RC29 from Recovery Mode?
EvGeNN2007 said:
I know all this steps but i Tell that i CAN'T get into boot mode and in boot downgrade from DREAMIMG.nbh to RC29... In that All my problem...
How can i flash to RC29 from Recovery Mode?
Click to expand...
Click to collapse
You don't...with the DREAMIMG.nbh or any .nbh file you start up the phone holding power+camera. The recovery mode looks for an update.img file. You'll make it through, don't get frustrated.
Here's a more updated rooting guide:
http://forum.xda-developers.com/showthread.php?t=553416

Just loaded Cyano ROM (newest), reboot is taking too long.

Hello!
I followed this guide and read the comments of everyone, and it's a reliable guide to rooting and installing a new ROM. The rooting went perfect, so I decided to go further and load cyanogen's latest ROM.
Power off your phone.
Boot into recovery mode. (Press and hold the Home key, then hit the power button).
Before you flash a rom file, perform a wipe. Press Alt+W to wipe the data and cache folders. You must wipe when going form different builds of Android.
Wait for the wipe to finish and the recovery image to display again, then select “apply any zip from sd”. Flash the zip file of your choice.
After flashing any zip you should be able to reboot your system and watch it load to the home screen.
After changing Android builds, it came take several minutes for the first boot. If you phone hangs on the animated Android logo, this is because you did not perform a wipe. If you are stuck in a boot loop, return to the recovery image and make sure you wipe.
Click to expand...
Click to collapse
-Taken from the guide
At the first time I rebooted it took me back to recovery, so using logic I rebooted again and now it is stuck at the T-Mobile G1 screen (the one before it normally shows the android)...
I know it's supposed to take several minutes.. but 30minutes is ridiculous -.-"
Can somebody please help me out before I do something stupid and remove the battery? Thanks so much..
You need to read a bit more then, because you would have learned that you have to install the 1.6ADP fro Htc before installing a cyanogen rom, that is one of the things you would know if you followed the guide in his thread...
-Best Regards
http://androidandme.com/2009/08/news/how-to-root-a-t-mobile-g1-and-mytouch-3g-android-phone/
Don't think so It didn't say anything in this guide about that and several comments below recently show that they succeeded with the process..
tk112190 said:
http://androidandme.com/2009/08/news/how-to-root-a-t-mobile-g1-and-mytouch-3g-android-phone/
Don't think so It didn't say anything in this guide about that and several comments below recently show that they succeeded with the process..
Click to expand...
Click to collapse
You have to listen to cyanogen plus that might be a different rom like enom or something.Cyanogen has a different maybe tricky install method.
You need to goto his thread.
-Go to http://developer.htc.com/adp.html
-DL the 1.6 "recovery image" the file name is - signed-dream_devphone_userdebug-ota-14721.zip
-Then DL CyanogenMod-XXXX
-put them both on your SD card
-Boot up into Amon_RA recovery by rebooting and holding the home button, do a wipe.
-update using any zip to that "recovery image" (signed-dream_devphone_userdebug-ota-14721.zip)
(it should auto reboot install radio then reboot again and load back up to the CMrecovery img screen)
-Then update any zip usig CyanogenMod (update-cm-xxxx-signed.zip)
-Then reboot the phone
Thanks a lot man.
I found the 1.6 ADP file and I have it downloaded onto my computer. Is there anyway I can put this on my SD card? It won't let me.. :/ If I could somehow get this on there, run it.. and THEN run the cyanogenrom.zip I think it could work again?
You need to delete the partitions with console while in recovery mode.
1.console
3.parted dev/block/mmcblk0
4.print
rm 1
rm 2
rm 3
quit
reboot recovery
Dont rename any of the files just leave them.
Now try it on your pc.
You need to delete the partitions with console while in recovery mode.
1.console
3.parted dev/block/mmcblk0
4.print
rm 1
rm 2
rm 3
quit
reboot recovery
Dont rename any of the files just leave them.
Now try it on your pc.
Thanks a lot for the help, I really appreciate it.
I took your advice and did those steps and it rebooted me into recovery like you commanded. I plugged it via USB into my computer hoping that the computer would recognize it and let me put the file on the SD card - but to no avail.
What is the next step I can take?
http://code.google.com/p/sapphire-port-dream/
I loaded the radio first...
and then I loaded the SPL...
and then I loaded the ROM...
I didn't go out of order. Was the problem that I didn't have the 1.6 ADP on my SD?
@Ace42: If I get a card reader and add the 1.6 ADP (signed-dream_devphone_userdebug-ota-14721.zip) to my sd card.... and load it. Can you tell me what to do from there?
Do I load that zip and then reload the ROM?
You may want to try Dwang1.13 rom. I don't think his rom requires the extra step to get the google apps.

[Q] Can't remove install-recovery.sh

Hello all,
I'm having a problem with the stock recovery. I have tried installing G.O.T. Open Recovery 2.01 and the install is OK, and I can do stuff in the menus, but every time I reboot, the stock recovery comes back. I followed the instructions by nadlabak on how to remove the script that reinstalls the stock recovery (android.doshaska.net/rootable, sorry the forum isn't allowing me to post the actual link as I'm a new user), but it doesn't work. There is no error message, just nothing happens. Can someone help? Thanks.
Xenobio said:
Hello all,
I'm having a problem with the stock recovery. I have tried installing G.O.T. Open Recovery 2.01 and the install is OK, and I can do stuff in the menus, but every time I reboot, the stock recovery comes back. I followed the instructions by nadlabak on how to remove the script that reinstalls the stock recovery (android.doshaska.net/rootable, sorry the forum isn't allowing me to post the actual link as I'm a new user), but it doesn't work. There is no error message, just nothing happens. Can someone help? Thanks.
Click to expand...
Click to collapse
Can you describe in detail what you did?
Method 1: command line
1. Booted into recovery
2. Installed GOT Open Recovery
3. Immediately after that (without rebooting, as it would have caused the stock recovery to be reinstalled) went into console and typed "rm -f /system/etc/install-recovery.sh"
4. Nothing happens, the command line # symbol just appears on the next line
5. Went back to main menu and rebooted, stock recovery came back
Method 2: script
1. Downloaded the "Disable_recovery_check_by_OTA.zip" file from the page mentioned previously
2. Unzipped and copied the .sh file to my sdcard in the OpenRecovery scripts folder
3. Step 1 and 2 like above
4. Went to the "Miscellaneous > Run script" menu
5. Ran "Disable_recovery_check_by_OTA.sh"
6. It says "-- Shell script..." then the path and filename of the script, then it says "Done" on the next line
7. Went back to main menu and rebooted, stock recovery came back
I also tried something after removing the install-recovery.sh...if I reboot into recovery (press and hold X immediately after selecting "Reboot" from the GOT main menu), I get Open Recovery back. But, if I reboot into Android and then turn it off and then boot into recovery, it's the stock recovery.
But every time you can use openrecovery right? If so, that's normal behavior. We can't replace recovery.
did you try to put the script into the init folder? I'm not sure anymore if its that one, but one of these folders contains a bunch of script that will be executed on boot up.. it worked for me (once) before i bricked my phone.. lol
Xenobio said:
Hello all,
I'm having a problem with the stock recovery. I have tried installing G.O.T. Open Recovery 2.01 and the install is OK, and I can do stuff in the menus, but every time I reboot, the stock recovery comes back. I followed the instructions by nadlabak on how to remove the script that reinstalls the stock recovery (android.doshaska.net/rootable, sorry the forum isn't allowing me to post the actual link as I'm a new user), but it doesn't work. There is no error message, just nothing happens. Can someone help? Thanks.
Click to expand...
Click to collapse
I am sure there is a way. OpenRecovery from G.O.T is slightly differrent, try to use the one from nadlabak and see what happens....?

Thrill 4G Clockwork mod Instructions for New Rooters

If you are new to rooting your phone, there are simple ways to go about getting clockwork mod onto your LG thrill
You can root it easily with the 1 click root tool (I dont have the link on hand) after installing the LG Drivers from the LG Website.
Then, Download Rootexplorer, Rom manager (which i think is installed with 1 click root along with superuser)
First thing, download the recovery.img here after installing ADB guide is located here
After downloading recovery image, go to your pc's user folder C:\users\yourname and move it to there, that way there is no mistaking its location for adb
Now, on your phone you first need to go into root explorer, go to the /data folder, long click and go to permissions and select all available boxes and also make sure your device is in R/W mode not R/O mode.
Run CMD as administrator and do the following:
adb push recovery.img /data
then type:
SU
(this makes superuser active)
then:
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
then after clockwork is flashed to finalize the settings type:
rm /data/recovery.img
reboot
Presto, Clockwork Mod is installed, remember you can access the clockwork menu via rom manager menu, or 3D+Volume Down +Power releasing the power button when the LG screen appears.
I will soon post onto this, how to update to gingerbread just making sure it works well on my own first. also, working on ICS as well.
Hope this helps anyone who has had trouble with it!
kobos311 said:
If you are new to rooting your phone, there are simple ways to go about getting clockwork mod onto your LG thrill
You can root it easily with the 1 click root tool (I dont have the link on hand) after installing the LG Drivers from the LG Website.
Then, Download Rootexplorer, Rom manager (which i think is installed with 1 click root along with superuser)
First thing, download the recovery.img here after installing ADB guide is located here
After downloading recovery image, go to your pc's user folder C:\users\yourname and move it to there, that way there is no mistaking its location for adb
Now, on your phone you first need to go into root explorer, go to the /data folder, long click and go to permissions and select all available boxes and also make sure your device is in R/W mode not R/O mode.
Run CMD as administrator and do the following:
adb push recovery.img /data
then type:
SU
(this makes superuser active)
then:
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
then after clockwork is flashed to finalize the settings type:
rm /data/recovery.img
reboot
Presto, Clockwork Mod is installed, remember you can access the clockwork menu via rom manager menu, or 3D+Volume Down +Power releasing the power button when the LG screen appears.
I will soon post onto this, how to update to gingerbread just making sure it works well on my own first. also, working on ICS as well.
Hope this helps anyone who has had trouble with it!
Click to expand...
Click to collapse
All of this is already posted as is the instructions on how to update to gingerbread.
i have install CWM by as your guide. but when i use Rom Manager to Back up , message pop up that install CWM first to complete this action. i am new to these things.
Thanks

Tried to Install TWRP, I think I deleted Android...

I was following originally this guide by a user who posted steps that would basically allow me to move all of my apps from my internal storage to external SD card. The link to the thread I had posted about this can be found here: http://forum.xda-developers.com/lg-l90/general/internal-memory-storage-help-t3171582/post62245649
I managed to root my phone using the KingRoot method, right after, I installed Flashify, flashed the TeamWin Recovery Project, and right after, it automatically rebooted me. After that, I went to the reboot section, clicked on recovery, and than, it loaded me to an icon where the Android logo is opened from its belly with a red triangle with the ! mark inside the red triangle.
I am assuming that my Android OS was deleted, as I see I now have 3 GB of free internal storage space. I originally was running everything on stock. Is there any solution here? I did manage to install CM12.1, but I forgot to flash GAPPS, thus I had to manually download the Flashify and KingRoot APK's and ended up deleted CWM12.1 as it just seemed buggy.
At this point, I want to just go back to my normal Android, I am fine with using Stock, as long as I have free storage. Though, if using another ROM would be better (where battery life improvements and overall faster performances is always acceptable). I don't want to brick my phone, as it so far seems to be working.
I currently don't have any other backup phone on me, so I would love to solve these issues ASAP as I do need my phone to make calls and answer SMS Text Messages.
Thanks!
What is your L90 variant?
You probably messed just the system and boot, CM12.1 and other custom roms currently runs with KitKat bootstack, and you may flashed them with Lollipop bootstack. Try to boot holding PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). If you aboot is fine, you'll be shown a white screen asking if you wan't to reset your phone. If you still have your stock recovery, your phone will actually be reseted to stock, if you changed the recovery to TWRP or CWM, it will boot into them.
From the recovery you can create the right .zip to flash stock system and boot images retrieved from your kdz of your phone with LG Fimrware Extract. If you are able to flash them back, you won't need Kingroot, since your bootloader is unlocked, you can root your phone straight from the recovery with SuperSU flashable zip.
If none of the two options happen, you probably messed your aboot or recovery partition.
F. Gacrux said:
What is your L90 variant?
You probably messed just the system and boot, CM12.1 and other custom roms currently runs with KitKat bootstack, and you may flashed them with Lollipop bootstack. Try to boot holding PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). If you aboot is fine, you'll be shown a white screen asking if you wan't to reset your phone. If you still have your stock recovery, your phone will actually be reseted to stock, if you changed the recovery to TWRP or CWM, it will boot into them.
From the recovery you can create the right .zip to flash stock system and boot images retrieved from your kdz of your phone with LG Fimrware Extract. If you are able to flash them back, you won't need Kingroot, since your bootloader is unlocked, you can root your phone straight from the recovery with SuperSU flashable zip.
If none of the two options happen, you probably messed your aboot or recovery partition.
Click to expand...
Click to collapse
I think I did mess with my stock recovery boot, and instead TWRP is set as my boot. When I pres the VOLUME down and Power button, I get prompted to a White screen that says "Erase all user data and restore default settings?", after I select "Yes", and "Yes" again, it shows "Factory Reset Performing". Than a quick animation of the Android logo with gears running behind it, after that it looks like it reboots, but right back to Team Win Recovery Project. From there, when I select Reboot, and recovery, it just shows the Android logo with the red triangle.
What are my options from here? I should mention, when I select the option "Reboot" in TWRP and go to "Recovery", it does say "No OS Installed!" , after swiping it than says "Install SuperSU? Your device does not appear to be rooted. Install SuperSU Now?".
Is there a proper way to also root the device, since it seems to be rooted, even though I swipe to install SuperSU?
EDIT: I also have a LG L90 D415.
If TWRP is booting, you are fine. TWRP is your new recovery, takes place of the stock LG recovery.
I don't know how many variants L90 have, you are D415RD or its a different model? If it's the same D415 you said, you can flash the D415RD zip with TWRP from this topic: http://forum.xda-developers.com/lg-...flashablestock-zip-kk-l-via-recovery-t3137255 (use Lollipop if you were at LL before, use KitKat if it was KK. You cannot downgrade to KK if you were on LL before, they are different bootstacks).
I suggest before flashing, wipe > adv wipe > dalvik/system/data/internal storage (your internal sd data will be wiped)/cache - do NOT format sdcard, it's your microSD with the necessary zip files to go back to stock. Go back and format data, type yes. Go back to home menu, reboot > recovery so your data get remounted and accessible again (ignore warnings saying there is no android installed and asking to install super user). Install > select the zip and wait. You can also flash SuperSU to get root (do after flashing the rom): https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
F. Gacrux said:
If TWRP is booting, you are fine. TWRP is your new recovery, takes place of the stock LG recovery.
I don't know how many variants L90 have, you are D415RD or its a different model? If it's the same D415 you said, you can flash the D415RD zip with TWRP from this topic: http://forum.xda-developers.com/lg-...flashablestock-zip-kk-l-via-recovery-t3137255 (use Lollipop if you were at LL before, use KitKat if it was KK. You cannot downgrade to KK if you were on LL before, they are different bootstacks).
I suggest before flashing, wipe > adv wipe > dalvik/system/data/internal storage (your internal sd data will be wiped)/cache - do NOT format sdcard, it's your microSD with the necessary zip files to go back to stock. Go back and format data, type yes. Go back to home menu, reboot > recovery so your data get remounted and accessible again (ignore warnings saying there is no android installed and asking to install super user). Install > select the zip and wait. You can also flash SuperSU to get root: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Click to expand...
Click to collapse
Ah okay, great, so I can easily fix this solution Just a question here - after performing this, when I go back to Stock, would it be recommended to just stick with it? I did some searching for fast Lollipop ROMs, and there are only a few out there from my search...
Also - Next time, is there a better way to do all of this? I was originally trying to install Xposed as a previous user had posted on these forums, that it allowed you to do a multitude of things additional to the whole Link2SD access.
Stick to the stock ROM.
TWRP is the best way of doing all of this, there nothing more easy than simply booting TWRP recovery and flash a zip file. Forget LG recovery and KDZ flash, TWRP is much better. TWRP allow to flash select partitions, thus preserving your unlocked bootloader and custom recovery.
If you are talking about all the partition format and reboot things I said, that actually is not really necessary, but since you tried to make some other changes other than simply flashing a new rom, I just wanted to make sure you were making a clean flash and first boot to avoid any obscure errors.
I don't know what is the current development status of Xposed in android LL and the recovery flasheable zip for our L90, but the last time I checked it wasn't stable and could lead to lots of FC to an unbootable system, so I just skiped any modification at this level.
F. Gacrux said:
Stick to the stock ROM.
TWRP is the best way of doing all of this, there nothing more easy than simply booting TWRP recovery and flash a zip file. Forget LG recovery and KDZ flash, TWRP is much better. TWRP allow to flash select partitions, thus preserving your unlocked bootloader and custom recovery.
If you are talking about all the partition format and reboot things I said, that actually is not really necessary, but since you tried to make some other changes other than simply flashing a new rom, I just wanted to make sure you were making a clean flash and first boot to avoid any obscure errors.
I don't know what is the current development status of Xposed in android LL and the recovery flasheable zip for our L90, but the last time I checked it wasn't stable and could lead to lots of FC to an unbootable system, so I just skiped any modification at this level.
Click to expand...
Click to collapse
YES! I was able to boot back into Stock ROM, but further more, I have root access via SuperSU! I was able to do the Link2SD method, and removed a bunch of the bloatware pre-installed on the ROM, it all works now! Thanks a lot for helping on all of this!
After spending literally my whole day trying to get my phone root acces, I think I will stick to Stock, everything works, and I don't want to kill another day trying to accomplish a miniscule achievment, since I already have Root access.
Now, one of my last questions: is there an appropriate way for me to boot into TWRP? Every time I reboot, I go straight to my ROM, not sure how to go back to TWRP (in the case I ever need to flash something again).
Otherwise, my phone works, and I was able to achieve my original goal of freeing up internal space.
Any cool tips or advice you recommend to possibly speed up or just enhance the Stock ROM now that I have root access?
Sent from my LG-D415 using XDA Free mobile app
I recommend to remove the software after flashing in TWRP, before doing the first boot, just mount /system and open ADB. If you do this after install, there is probably a lot of .dex files and app data remaining taking precious storage.
For example, if you update Youtube, Gmail and other pre-installed apps, after update they won't be removed, instead the new version will be renamed to something like com.google.youtube-2 and the previous version will remain in /system, you can notice this if you go to your app list in setting and try to uninstall, android will say that the version will be reverted to the stock one that shipped in the stock rom.
Here's a list of stuff and apps I removed before booting:
rm /system/usbautorun.iso
rm -r /system/app/Books
rm -r /system/app/ChromeWithBrowser
rm -r /system/app/Drive
rm -r /system/app/Gmail2
rm -r /system/app/GoogleTTS
rm -r /system/app/Hangouts
rm -r /system/app/LGSearchWidgetProvider
rm -r /system/app/Maps
rm -r /system/app/Music2
rm -r /system/app/Newsstand
rm -r /system/app/PlayGames
rm -r /system/app/PlusOne
rm -r /system/app/Street
rm -r /system/app/talkback
rm -r /system/app/Videos
rm -r /system/app/YouTube
rm -r /system/apps/bootup/LGBoxnet
rm -r /system/apps/bootup/LGFlashlightWidget
rm -r /system/apps/bootup/LGSmartWorld
rm -r /system/priv-app/LGBrowser
rm -r /system/priv-app/LGDictionary
rm -r /system/priv-app/LGEmail
rm -r /system/priv-app/LGFileManager
rm -r /system/priv-app/LGMemo
rm -r /system/priv-app/LGQTranslator
rm -r /system/priv-app/Velvet
rm -r /system/vendor/carrier/system/LGRemoteCall
rm -r /system/vendor/carrier/system/rspermlge
rm -r /system/vendor/overlay/com.android.browser
rm -r /system/vendor/overlay/com.lge.email
rm -r /system/vendor/overlay/com.lge.filemanager
rm -r /system/vendor/overlay/com.lge.lgworld
Of course, this is MY case, I removed applications that I thought not to be necessary to me. Apps such as Gmail, Youtube and etc I installed the most recent version from play store. Note that some apps cannot be removed or your cannot go past the setup wizard (the first screen after the first boot) e.g.: webview.
Don't try to install Xposed Framework, you will end with a lot of FC that will render the system unusable, I tried and didn't worked, but I had a TWRP backup and was just a matter of reverting everything.
Also, disable automatic system update. If you leave this checked in the settings and your phone updates, you will end in a soft brick.
To go to recovery you have 2 ways:
1 - Install Android Terminal Emulator, type su, then reboot recovery.
2 - Turn off your phone. Hold PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). Don't worry, since you have TWRP recovery installed instead of LG recovery, your data won't be reseted, instead it will boot into TWRP.
I personally don't like the this second method because it's a good way to worn out your pwr and vol buttons, my previous phone was a LG Optimus 2x and the pwr/wake button became almost unusable after some time, I need to press very hard to work, use this second method only if you cannot boot into recovery from the OS.
To avoid always typing those command in Android Terminal Emulator, you can create a shortcut widget, just type reboot recovery in the argument, name the shortcut and it's done, everytime you tap the shortcut it will automatically open the terminal and reboot the phone. Don't forget to configure the app. to open always with su or the shortcut won't work (reboot command needs superuser access).
Xposed framework works in our L90 Lollipop, as long as you follow those steps I found @ reddit: https://www.reddit.com/r/LGL90/comments/3f8ycw/guide_how_to_install_xposed_framework_on_lollipop/
If you skip disabling the apps mentioned and clearing cache and dalvik, you will end in a infinite number of force closes and crashes, rendering the system unusable.
Of course, like always, do a system/boot/data backup with TWRP, if anything goes wrong, you'll be able to go back.
After the first boot a window will be shown saying that android system is updating some stuff, this will take a few minutes don't worry.
I installed LG Pie Support module to remove that annoying home google search ring when swiping from navigation buttons to screen.
Lollipop Memory Leak Fix module seems to have no effect tbh.

Categories

Resources