Stuck in Bootloop after pushing framework-res - Samsung Galaxy S (4G Model)

I accidentally pushed the wrong framework-res.apk file in adb and now im stuck in a bootloop
I have stock recovery and am rooted
I can enter download mode but I don't want to lose all my data.
What can I do?

If you didn't make a nandroid backup... You will have to re-flash your rom over again
Edited:
Just noticed your on stock... Yikes. Looks like you'll have to Odin that thing. When pushing apks. Set the permissions to rw-r-r before rebooting
And definitely watch what your pushing

Annex1 said:
If you didn't make a nandroid backup... You will have to re-flash your rom over again
Edited:
Just noticed your on stock... Yikes. Looks like you'll have to Odin that thing. When pushing apks. Set the permissions to rw-r-r before rebooting
And definitely watch what your pushing
Click to expand...
Click to collapse
I'd prefer people use the heimdall oneclick (check 'Projects' out my sig).
Odin always makes things complicated, and it's closed source.
Heimdall is open source, documented, and actively maintained.
Just a suggestion

Or try using Heimdal One-Click to flash a custom kernel only. Then find a kernel you can flash in CWM that has TWRP. Then you can copy over your original framework-res.apk in the TWRP file manager and see if it will boot.
None of that will mess with your files except framework-res.

It's been a long time since I've been on stock recovery but does ADB pick up the phone when its in recovery?

hechoen said:
It's been a long time since I've been on stock recovery but does ADB pick up the phone when its in recovery?
Click to expand...
Click to collapse
It does on the blastoff kernel in eollies oneclick

bhundven said:
It does on the blastoff kernel in eollies oneclick
Click to expand...
Click to collapse
I know it does with custom recoveries but if he can get it picked up in the stock recovery he can just push the original .apk back. Easy. If it picks it up.

hechoen said:
I know it does with custom recoveries but if he can get it picked up in the stock recovery he can just push the original .apk back. Easy. If it picks it up.
Click to expand...
Click to collapse
what does it matter? Push the apk with custom recovery. I don't know of anything you can flash with stock recovery.

bhundven said:
what does it matter? Push the apk with custom recovery. I don't know of anything you can flash with stock recovery.
Click to expand...
Click to collapse
F. I'm off topic.
You're rooted on stock recovery. Install root explorer, over write the framework-res.apk, reboot.

Thank you so much guys.
I was able to flash a custom kernal with Heimdall and I pushed the right framework-res and now everythings back to normal
I'm truly grateful for all your speedy and helpful replies.

I would advise you to flash a simple zip (take any simple mod or gapps) valid for your Android version and edit its updater script to just flash the system folder. Then add the zip a system folder with framework folder and put your right framework-res.apk,
This way you just flash, fix permissions and good to go... no Heimdall, kernel or any other change, and you're back in business.
Another even simpler way is to use our device's Aroma File Manager and simply copy the right file and fix permissions...

Related

How to root the Triumph?

I am in no way new to rooting I had an evo 4g and currently have a Samsung Epic 4g touch but my friend just got this phone and he wants to put custom roms on it because he doesnt like the stock rom. If I am reading correctly all I need to do to root it is install clockwork mod is that correct? Any and all help is greatly appreciated, thanks.
61 views and not one response?
rbtrucking said:
I am in no way new to rooting I had an evo 4g and currently have a Samsung Epic 4g touch but my friend just got this phone and he wants to put custom roms on it because he doesnt like the stock rom. If I am reading correctly all I need to do to root it is install clockwork mod is that correct? Any and all help is greatly appreciated, thanks.
Click to expand...
Click to collapse
First I would download a rom and put it on the sdcard (as well as gapps for cm7), then you put it in download mode, hook it up to your computer, open the mobile partition and rename the recovery something like recovery.bak, then put it CWM and make sure its named reovery make sure that it has the .img extension. After that boot into CWM volume buttons and power button and go to backup and restore and backup. Then do a wipe and flash one of the roms.
marc12868 said:
First I would download a rom and put it on the sdcard (as well as gapps for cm7), then you put it in download mode, hook it up to your computer, open the mobile partition and rename the recovery something like recovery.bak, then put it CWM and make sure its named reovery make sure that it has the .img extension. After that boot into CWM volume buttons and power button and go to backup and restore and backup. Then do a wipe and flash one of the roms.
Click to expand...
Click to collapse
Thanks allot! You dont have a how to video by any chance do you? I feel allot more comfortable when I have step by step on screen instructions.
rbtrucking said:
Thanks allot! You dont have a how to video by any chance do you? I feel allot more comfortable when I have step by step on screen instructions.
Click to expand...
Click to collapse
go to the all root section on android forums motorola trimuph section. http://androidforums.com/triumph-all-things-root/
marc12868 said:
go to the all root section on android forums motorola trimuph section. http://androidforums.com/triumph-all-things-root/
Click to expand...
Click to collapse
Hey how come when I try to download that gingerbreak my antivirus recognizes it as a trojan and wont let me download it? Should I just turn off my antivirus or is this really a bad file? I dont wanna brick my friends phone.
rbtrucking said:
Hey how come when I try to download that gingerbreak my antivirus recognizes it as a trojan and wont let me download it? Should I just turn off my antivirus or is this really a bad file? I dont wanna brick my friends phone.
Click to expand...
Click to collapse
It shouldn't be a bad file... But if you are installing a custom rom then you don't even have to download and use gingerbreak, since the bootloader is unlocked and all the custom roms already have root permission.
marc12868 said:
It shouldn't be a bad file... But if you are installing a custom rom then you don't even have to download and use gingerbreak, since the bootloader is unlocked and all the custom roms already have root permission.
Click to expand...
Click to collapse
So basically all I need to do is put clockwork mod on here like you said in your first post?
rbtrucking said:
So basically all I need to do is put clockwork mod on here like you said in your first post?
Click to expand...
Click to collapse
Also when you say make sure the recovery file has the .img extension do you mean I should rename the file recovery.img or just leave it as recovery because when I go to the properties of the file it does say file type is .img Also should I unzip it? Sorry for the all the questions but rooting my epic was allot easier than this and I just wanna make sure I have everything all set right.
rbtrucking said:
Also when you say make sure the recovery file has the .img extension do you mean I should rename the file recovery.img or just leave it as recovery because when I go to the properties of the file it does say file type is .img Also should I unzip it? Sorry for the all the questions but rooting my epic was allot easier than this and I just wanna make sure I have everything all set right.
Click to expand...
Click to collapse
Yea you should just have to put CWM mod into the mobile partition by booting into download mode. And don't rename it if it already has the .img file extension. Yes you have to unzip it, or just take the recovery file out and put it in the mobile partition don't put the whole zip there. And questions are fine. And just rooting the triumph is as easy as downloading and installing gingerbreak and rooting it so it's easy to root, it's just installing a custom rom that gets a little more difficult, but is still failry easy. But like I said if your installing a custom rom there's no need to root it.
marc12868 said:
Yea you should just have to put CWM mod into the mobile partition by booting into download mode. And don't rename it if it already has the .img file extension. Yes you have to unzip it, or just take the recovery file out and put it in the mobile partition don't put the whole zip there. And questions are fine. And just rooting the triumph is as easy as downloading and installing gingerbreak and rooting it so it's easy to root, it's just installing a custom rom that gets a little more difficult, but is still failry easy. But like I said if your installing a custom rom there's no need to root it.
Click to expand...
Click to collapse
I put clockwork mod on there but for some reason I cant boot into recovery I tried power + vol up and it just boots normally.
rbtrucking said:
I put clockwork mod on there but for some reason I cant boot into recovery I tried power + vol up and it just boots normally.
Click to expand...
Click to collapse
You have to use both volume buttons plus power.
marc12868 said:
You have to use both volume buttons plus power.
Click to expand...
Click to collapse
Alright thank you very much!! Got everything up and running with CM7! I really appreciate all the help!! Couldn't have done it without you!!
rbtrucking said:
Alright thank you very much!! Got everything up and running with CM7! I really appreciate all the help!! Couldn't have done it without you!!
Click to expand...
Click to collapse
No problem! Happy to help!
Simple install Gingerbreak & run the app, presto Triumph is rooted & busybox is installed done deal. Then do the clockwork imgage copy & paste in downloader mode & your good to go
jaaydogg said:
Simple install Gingerbreak & run the app, presto Triumph is rooted & busybox is installed done deal. Then do the clockwork imgage copy & paste in downloader mode & your good to go
Click to expand...
Click to collapse
You don't even need to root if you flashing a custom rom though. Only if your gonna stay on the stock rom.
marc12868 said:
You don't even need to root if you flashing a custom rom though. Only if your gonna stay on the stock rom.
Click to expand...
Click to collapse
Hmm I usually boot into recovery from cwm program...Does not work on triumph, say's error occurred while running privileged commands. Going to try holding buttons to get into recovery, and that did not work guess it's ginger break for me. edit used it and a ok here is the link to the new gingerbreak guide
http://androidforums.com/triumph-all-things-root/455603-guide-rooting-your-motorola-triumph.html
Every time I try to buy CWM it dosent seem to support my phone. Which version of CWM did you install?
Device using Xda Premium

I keep on losing ClockworkMod?

I followed this guide,
http://wiki.cyanogenmod.com/wiki/Ne...de#Installing_the_ClockworkMod_Recovery_Image
and for some odd reason I keep on losing clockwork(goes straight to stock android recovery.) I have root still.. any advice?
Thanks!
Rename /system/etc/install-recovery.sh to something else
Harbb said:
Rename /system/etc/install-recovery.sh to something else
Click to expand...
Click to collapse
Is this normal?
Yes, normal for all stock ROMs.
Harbb said:
Yes, normal for all stock ROMs.
Click to expand...
Click to collapse
Oh I see. So re-naming is the best way to go i guess?
Also if i dont, I'm guessing ill have to flash clockwork everytime when I install a new rom or restore? and What if I get stuck in a bootloop or something? I'll have to reflash clockworkmod through adb?
xamadeix said:
Oh I see. So re-naming is the best way to go i guess?
Also if i dont, I'm guessing ill have to flash clockwork everytime when I install a new rom or restore? and What if I get stuck in a bootloop or something? I'll have to reflash clockworkmod through adb?
Click to expand...
Click to collapse
Just rename the script. All it does is flash stock recovery at every boot.
madd0g said:
Just rename the script. All it does is flash stock recovery at every boot.
Click to expand...
Click to collapse
okay. is there a nexus s4G tutorial for this?
nevermind, found it. thanks!
That script is run on every boot, replacing recovery if it is not currently stock. It does nothing else (you can open the script and read it in a text editor for proof of this).
Since you would be rooted anyway, feel free to literally just open up something like Root Explorer, ES File Manager, etc, and rename install-recovery.sh to something like install-recovery.sh.bak. It is exactly like renaming a file on your PC, and your problem will be solved after you flash CWM one more time.
Harbb said:
That script is run on every boot, replacing recovery if it is not currently stock. It does nothing else (you can open the script and read it in a text editor for proof of this).
Since you would be rooted anyway, feel free to literally just open up something like Root Explorer, ES File Manager, etc, and rename install-recovery.sh to something like install-recovery.sh.bak. It is exactly like renaming a file on your PC, and your problem will be solved after you flash CWM one more time.
Click to expand...
Click to collapse
Yup! I fixed it haha. Now Its time to flash away.

Booting ICS 4.0.4 overwrites recovery

Using SU from here:
http://androidsu.com/superuser/
Superuser-3.0.7-efghi-signed.zip
Using CWM from here:
http://download.clockworkmod.com/recoveries/
recovery-clockwork-touch-5.8.0.2-crespo4g.img
Phone is a Nexus S 4G on Sprint running ICS 4.0.4
**************************************************
**************************************************
Strange issue with fresh clean Nexus S 4G:
Fresh upgrade to 4.0.4
Boot to bootloader - unlock bootloader
Flash recovery with CWM
Boot into ICS, enable USB storage, drop SU zip file
Boot into bootloader, pick recovery - goes into stock recovery??
So I boot back into bootloader, reflash CWM, boot into recovery, install from zip, install SU zip, done
Root works, but it looks like every time I boot into ICS after I flash CWM, the boot process takes longer. After ICS boots up, I reboot, try to go into recovery, the bootloader is overwritten back to stock. I can't get the CWM recovery to stick.
Am I doing something wrong?
Check in /system/etc and look for install-recovery.sh & in /system look for recovery-from-boot
Either delete them or change them to chmod 000
Again, the files are:
Install-recovery.sh
recovery-from-boot
They are overwriting the custom recovery upon reboot
snandlal said:
Check in /system/etc and look for install-recovery.sh & in /system look for recovery-from-boot
Either delete them or change them to chmod 000
Again, the files are:
Install-recovery.sh
recovery-from-boot
They are overwriting the custom recovery upon reboot
Click to expand...
Click to collapse
I just renamed "Install-recovery.sh" to "Install-recovery.sh.bak"... seems no problem
cdljl2005 said:
I just renamed "Install-recovery.sh" to "Install-recovery.sh.bak"... seems no problem
Click to expand...
Click to collapse
Thank you, anyone else verified that this works for the 4g version? I feel nervous about modifying system files like this.
It definitely works, see this .
lordazoroth said:
Thank you, anyone else verified that this works for the 4g version? I feel nervous about modifying system files like this.
Click to expand...
Click to collapse
obermotz said:
It definitely works, see this .
Click to expand...
Click to collapse
Awesome, thank you so much!

how to update to 4.4.x after this... New to android

First of all, I have been reading this forum for about two weeks and just registered in order to get some help as I do not want to break my one week old nexus 5.
From my reading, the updates can be done in quite different ways and because of that I want to be sure what I should do.
I started by:
- root the mobile with cf-auto root. It did everything for me, got the superuser icon automatically
- installed clockwork mod and I have the custom recovery. By the way, I made a backup with it but where was it written? I want to copy it to my pc.
- other than that, I have installed some root only apps like rom manager, greenify, root Explorer, etc. I supported those developers with purchase. Those guys deserve it.
Anyway, i am looking for the safe way to update to 4.4.1. I read some members saying they lost root after the update, others lost something else (I am referring to the thread on nexus 5 general forum).
Can you help me? What path shall I go? Thanks a lot.
To update you'll basically have to go back to stock in a way. By that I mean you can either flash the System.img file from the Factory Image and then update using the update files for 4.4.1 by flashing it in recovery (via Sideload) and then just root again. OR you can install an updated "Stock" 4.4.1 image from the development section and root that.
cesar.maranhao said:
- installed clockwork mod and I have the custom recovery. By the way, I made a backup with it but where was it written? I want to copy it to my pc.
Click to expand...
Click to collapse
Hi, your backups are in /mnt/shell/emulated/clockworkmod/backup/
Copy to your PC with 'adb pull /mnt/shell/emulated/clockworkmod/backup'
Cheers
shotta35 said:
To update you'll basically have to go back to stock in a way. By that I mean you can either flash the System.img file from the Factory Image and then update using the update files for 4.4.1 by flashing it in recovery (via Sideload) and then just root again. OR you can install an updated "Stock" 4.4.1 image from the development section and root that.
Click to expand...
Click to collapse
i sense i am getting somewhere but how do i do that? i am new to this and been reading a lot but the first time all seems very vague. i need a little more help from you!
lets assume i want to just apply the 4.4.1 update (maybe this is the easiest way for now). how do i do it?
also, after the update succeds, i need to root again correct? what happens to all the apps i have right now with root permissions? do they stop working until i root again and give them root privileges again? can i use the cf auto root again?
also, i am on ART, i thought of letting you know since that can cause some problems updating(??)
finistere said:
Hi, your backups are in /mnt/shell/emulated/clockworkmod/backup/
Copy to your PC with 'adb pull /mnt/shell/emulated/clockworkmod/backup'
Cheers
Click to expand...
Click to collapse
thanks!
one more thing...
can't i copy that folder like a regular folder? just copy paste?
or move that folder (with root explorer) to my dropbox folder?
cesar.maranhao said:
i sense i am getting somewhere but how do i do that? i am new to this and been reading a lot but the first time all seems very vague. i need a little more help from you!
lets assume i want to just apply the 4.4.1 update (maybe this is the easiest way for now). how do i do it?
also, after the update succeds, i need to root again correct? what happens to all the apps i have right now with root permissions? do they stop working until i root again and give them root privileges again? can i use the cf auto root again?
also, i am on ART, i thought of letting you know since that can cause some problems updating(??)
Click to expand...
Click to collapse
If you want to apply the new update it all depends on your current setup. I gave you vague options because I don't know what you've done to your phone. If you've only rooted and not changed any of the files in system then it's easy to just flash the update with the recovery. You can download the update and then start recovery (look it up). Once in recovery start ADB sideload and connect to your PC (this assumes you already have working ADB, if not.... look it up ). To sideload you just need to adb sideload filename.zip. You can probably use WugFresh's Toolkit to also sideload but I generally don't use those so dunno what they do these days. Much easier to learn and understand what it does then do it yourself.
If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery.
cesar.maranhao said:
thanks!
one more thing...
can't i copy that folder like a regular folder? just copy paste?
or move that folder (with root explorer) to my dropbox folder?
Click to expand...
Click to collapse
You can just copy it, no need to use ADB but this is why it's good to know how to use ADB.
shotta35 said:
If you want to apply the new update it all depends on your current setup. I gave you vague options because I don't know what you've done to your phone. If you've only rooted and not changed any of the files in system then it's easy to just flash the update with the recovery. You can download the update and then start recovery (look it up). Once in recovery start ADB sideload and connect to your PC (this assumes you already have working ADB, if not.... look it up ). To sideload you just need to adb sideload filename.zip. You can probably use WugFresh's Toolkit to also sideload but I generally don't use those so dunno what they do these days. Much easier to learn and understand what it does then do it yourself.
If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery.
You can just copy it, no need to use ADB but this is why it's good to know how to use ADB.
Click to expand...
Click to collapse
thanks for the reply. i am reading on the adb sideload right now... i already have the update zip inside the platform tools. however, in the command prompt, it says my device is unauthorized (i have both the usb debugging and unknown sources ticked). the nexus 5 is connected as MTP.
any clues?
about what i have done to my nexus, i applied the cf autoroot, installed clockwork mod... nothing much besides some play store apps..
as for this paragraph:
"If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery. "
i have never done it, hence all these questions!
cesar.maranhao said:
thanks for the reply. i am reading on the adb sideload right now... i already have the update zip inside the platform tools. however, in the command prompt, it says my device is unauthorized (i have both the usb debugging and unknown sources ticked). the nexus 5 is connected as MTP.
any clues?
about what i have done to my nexus, i applied the cf autoroot, installed clockwork mod... nothing much besides some play store apps..
as for this paragraph:
"If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery. "
i have never done it, hence all these questions!
Click to expand...
Click to collapse
You do it from Recovery. So just copy the file to the phone in some folder. You can't update the phone with it running. So reboot to CWM and then choose Install from ZIP then find the file on your storage and then choose update. That may or may not work as I said depending.
-----------------
Plenty of these questions around... check them out first.
http://forum.xda-developers.com/showthread.php?t=2561198
http://forum.xda-developers.com/showthread.php?p=47369234
http://forum.xda-developers.com/showthread.php?t=2561076
shotta35 said:
If you want to apply the new update it all depends on your current setup. I gave you vague options because I don't know what you've done to your phone. If you've only rooted and not changed any of the files in system then it's easy to just flash the update with the recovery. You can download the update and then start recovery (look it up). Once in recovery start ADB sideload and connect to your PC (this assumes you already have working ADB, if not.... look it up ). To sideload you just need to adb sideload filename.zip. You can probably use WugFresh's Toolkit to also sideload but I generally don't use those so dunno what they do these days. Much easier to learn and understand what it does then do it yourself.
If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery.
You can just copy it, no need to use ADB but this is why it's good to know how to use ADB.
Click to expand...
Click to collapse
cesar.maranhao said:
thanks for the reply. i am reading on the adb sideload right now... i already have the update zip inside the platform tools. however, in the command prompt, it says my device is unauthorized (i have both the usb debugging and unknown sources ticked). the nexus 5 is connected as MTP.
any clues?
about what i have done to my nexus, i applied the cf autoroot, installed clockwork mod... nothing much besides some play store apps..
as for this paragraph:
"If you have a custom recovery you might just be able to flash the update with the recovery like you normally flash any zip in recovery. "
i have never done it, hence all these questions!
Click to expand...
Click to collapse
shotta35 said:
You do it from Recovery. So just copy the file to the phone in some folder. You can't update the phone with it running. So reboot to CWM and then choose Install from ZIP then find the file on your storage and then choose update. That may or may not work as I said depending.
-----------------
Plenty of these questions around... check them out first.
http://forum.xda-developers.com/showthread.php?t=2561198
http://forum.xda-developers.com/showthread.php?p=47369234
http://forum.xda-developers.com/showthread.php?t=2561076
Click to expand...
Click to collapse
yes, i have been reading those topics and many others.. i managed to solve the adb device unauthorized anyway. just flashed the 4.4.1 zip file under clockwork mod recover.. android is upgrading at the moment. lets see if everything is work as it should.
No need to sideload adb bla bla..
copy the OTA zip into the phone, and just flash it in CWM (install file from internal storage).. 1 minute and done.
You'll get error status 7 at checking if you changed something in system (apart from rooting), else you shouldn't have any problem.
RusherDude said:
No need to sideload adb bla bla..
copy the OTA zip into the phone, and just flash it in CWM.. 1 minute and done.
You'll get error status 7 at checking if you changed something in system (apart from rooting), else you shouldn't have any problem.
Click to expand...
Click to collapse
yes, everything is fine. 4.4.1 loaded fine without any errors. i have root checker and when i tested, it says i do not have proper root access. i also lost my clockwork mod recovery.
i am now checking into it to see what needs to be done to gain root access again and get the custom recovery as it was before the update.
cesar.maranhao said:
yes, everything is fine. 4.4.1 loaded fine without any errors. i have root checker and when i tested, it says i do not have proper root access. i also lost my clockwork mod recovery.
i am now checking into it to see what needs to be done to gain root access again and get the custom recovery as it was before the update.
Click to expand...
Click to collapse
You need to flash the recovery again via fastboot (youll lose it every time, unless you flash the flashable recovery ZIP just after flashing the OTA and before rebooting the phone).You'll have this problem every OTA unless you flash the zipped version everytime.
I'd recommend the easy way to root, get the SuperSU binaries and flash them through the custom recovery and you're done..
RusherDude said:
No need to sideload adb bla bla..
copy the OTA zip into the phone, and just flash it in CWM (install file from internal storage).. 1 minute and done.
You'll get error status 7 at checking if you changed something in system (apart from rooting), else you shouldn't have any problem.
Click to expand...
Click to collapse
RusherDude said:
You need to flash the recovery again via fastboot (youll lose it every time, unless you flash the flashable recovery ZIP just after flashing the OTA and before rebooting the phone).You'll have this problem every OTA unless you flash the zipped version everytime.
I'd recommend the easy way to root, get the SuperSU binaries and flash them through the custom recovery and you're done..
Click to expand...
Click to collapse
i see. things are starting to make sense for me.
before reading you post, i tried to get the clockwork mod recovery through the Rom Manager App. it failed. i am now looking for those files you mentioned.
EDIT: i am at the clockworkmod recovery website... is the file i want an IMG?
cesar.maranhao said:
i see. things are starting to make sense for me.
before reading you post, i tried to get the clockwork mod recovery through the Rom Manager App. it failed. i am now looking for those files you mentioned.
EDIT: i am at the clockworkmod recovery website... is the file i want an IMG?
Click to expand...
Click to collapse
You'd only be looking for the supersu binaries, since you already have the recovery IMG from te previous time, right? (the one that you need for fastboot).
EDIT: Yes, IMG files are for fastboot, ZIP files for recovery.
RusherDude said:
You'd only be looking for the supersu binaries, since you already have the recovery IMG from te previous time, right? (the one that you need for fastboot).
EDIT: Yes, IMG files are for fastboot, ZIP files for recovery.
Click to expand...
Click to collapse
but how do i install it? when i go into recovery it only gives me 4 options:
reboot system now
apply update from adb
wipe cache/factory reset
wipe cache partition
i am lost
cesar.maranhao said:
but how do i install it? when i go into recovery it only gives me 4 options:
reboot system now
apply update from adb
wipe cache/factory reset
wipe cache partition
i am lost
Click to expand...
Click to collapse
That's the stock recovery, you can't do nothing from there.
You need to flash the recovery via fastboot (didn't you do that the first time to get your custom recovery..?)
Check this tutorial mate: http://forum.xda-developers.com/showthread.php?t=2507905
RusherDude said:
You'd only be looking for the supersu binaries, since you already have the recovery IMG from te previous time, right? (the one that you need for fastboot).
EDIT: Yes, IMG files are for fastboot, ZIP files for recovery.
Click to expand...
Click to collapse
RusherDude said:
That's the stock recovery, you can't do nothing from there.
You need to flash the recovery via fastboot (didn't you do that the first time to get your custom recovery..?)
Check this tutorial mate: http://forum.xda-developers.com/showthread.php?t=2507905
Click to expand...
Click to collapse
no, i got the custom recovery when i installed clockworkmod recovery from the play store. i am now reading the thread you linked me! thanks!
cesar.maranhao said:
no, i got the custom recovery when i installed clockworkmod recovery from the play store. i am now reading the thread you linked me! thanks!
Click to expand...
Click to collapse
done it! i now have root again and the clockworkmod custom recovery! nice!
:good:
RusherDude said:
You need to flash the recovery again via fastboot (youll lose it every time, unless you flash the flashable recovery ZIP just after flashing the OTA and before rebooting the phone).You'll have this problem every OTA unless you flash the zipped version everytime.
I'd recommend the easy way to root, get the SuperSU binaries and flash them through the custom recovery and you're done..
Click to expand...
Click to collapse
from where can i get the flashable clokwork mod recovery zip file?
i am going to apply the 4.4.2 update now and will be doing it this way:
from the recovery apply the 4.4.2 zip. after this apply the supersu zip. i want to install the custom recovery zip too so when the phone restarts everything will be configured. is this possible?
RusherDude said:
You need to flash the recovery again via fastboot (youll lose it every time, unless you flash the flashable recovery ZIP just after flashing the OTA and before rebooting the phone).You'll have this problem every OTA unless you flash the zipped version everytime.
I'd recommend the easy way to root, get the SuperSU binaries and flash them through the custom recovery and you're done..
Click to expand...
Click to collapse
well, it seems i haven't lost my custom recovery. was it because i installed the supersu before rebooting?

[Q] how to reflesh stock kernel?

Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Alexandar92zr said:
Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Click to expand...
Click to collapse
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Hammer_Of_The_Gods said:
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Click to expand...
Click to collapse
ok so i just download the zip and flash trough twrp right?
rootSU said:
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Click to expand...
Click to collapse
oh ok did not know that im quite new to this, but now i know thanks for information.
Alexandar92zr said:
ok so i just download the zip and flash trough twrp right?
Click to expand...
Click to collapse
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Hammer_Of_The_Gods said:
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Click to expand...
Click to collapse
thanks man i clicked on that thanks button
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
The Gingerbread Man said:
Return to stock romz
Franco's kernel changes these system files below, so to change them back you can remove the .bak extension, or fastboot system.IMG and boot.IMG from a Google factory image which is probably easier and faster.
1 - Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so
2 - Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
3 - Reboot to the boot loader and flash stock Kernel by downloading the Nexus images and then fastboot flash boot boot.img
...
Click to expand...
Click to collapse
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
May i suggest you start reading up before you get into serious rouble. Read the first 4 threads in the General section.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Hammer_Of_The_Gods said:
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Click to expand...
Click to collapse
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not want do do something wrong
Alexandar92zr said:
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not wont do do something wrong
Click to expand...
Click to collapse
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Hammer_Of_The_Gods said:
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Click to expand...
Click to collapse
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Alexandar92zr said:
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Click to expand...
Click to collapse
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Hammer_Of_The_Gods said:
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Click to expand...
Click to collapse
thanks i will look into this.
I made a stock kernel backup on Franco app and used it to restore back to stock kernel after using Franco was this process ok
Sent from my Nexus 5 using xda app-developers app

Categories

Resources