[Q] Kernal Questions - One (M7) Q&A, Help & Troubleshooting

I'm having trouble finding a kernel for my sprint Htc one with android 5.0.2, any suggestions?
Also, if I backed up my /system, installed a kernel, restored my backup, would I still have the stock kernel or the one I flashed?
Thanks!

Lifehags said:
I'm having trouble finding a kernel for my sprint Htc one with android 5.0.2, any suggestions?
Also, if I backed up my /system, installed a kernel, restored my backup, would I still have the stock kernel or the one I flashed?
Thanks!
Click to expand...
Click to collapse
boot.img is the kernel
backing up /system will not backup the kernel
backing up boot.img will

clsA said:
boot.img is the kernel
backing up /system will not backup the kernel
backing up boot.img will
Click to expand...
Click to collapse
Thanks!

Related

[TOOL] 11/Nov r2: BackToEXT3 - for converting your device, er, back to EXT3

If you have been using a EXT4 ROM and you want to restore a stock ROM that only has EXT3 support, it's a bit of a faff. Introducing BackToEXT3.
This ClockworkMod update zip simply converts your /system, /data and cache partitions back to EXT3. It wipes them both in the process, so you need to have an existing backup / ROM to restore to.
r2 - DOWNLOAD - MD5: 90a891b9199913655dd622127bba3f70
HTH!
P
You never stand still^^
Thanks!
Formel-LMS said:
You never stand still^^
Thanks!
Click to expand...
Click to collapse
Call me Mr. Productivity.
P
OK, Mr. Productivity
But I think, you love this phone very much, isn't it?
It's not bad!
P
You are amazing....Paul
After installing FR12 custom ROM Vanilla Edition on my phone, I wanted to get back to stock so I installed - back to ext3 zip. Then when I tried to restore the stoc ROM, I got the error MD5 mismatch!
I want to specify that I tried a custom ROM before but with ext3, and I had no problem to return to the stock ROM.
Tool worked fine for me. fr10 back to stock.
Md5 error probably means ur nandroidbackup is damaged
Sent from my LG-P990 using XDA Premium App
adair said:
After installing FR12 custom ROM Vanilla Edition on my phone, I wanted to get back to stock so I installed - back to ext3 zip. Then when I tried to restore the stoc ROM, I got the error MD5 mismatch!
I want to specify that I tried a custom ROM before but with ext3, and I had no problem to return to the stock ROM.
Click to expand...
Click to collapse
Here you go: http://tinyurl.com/5v3zqcj
Edit: To late, and I've always wanted to do that. Bah
Sent from my HTC Legend using XDA Premium App
Thanks MaBlo, I usually search everything on Google, but this time I forgot, lol.
Sorry guys, please correct me if I'm wrong as I'm trying to get it back to stock.
1. Copy img to ext SD card
2. Reboot into recovery e.g. CWM
3. update BackTOEXT3 image with CWM
4. run nandroid to restore stock image
Am I right? I keep getting stuck at the LG screen
bobbyice said:
Sorry guys, please correct me if I'm wrong as I'm trying to get it back to stock.
1. Copy img to ext SD card
2. Reboot into recovery e.g. CWM
3. update BackTOEXT3 image with CWM
4. run nandroid to restore stock image
Am I right? I keep getting stuck at the LG screen
Click to expand...
Click to collapse
maybe you need the newest Baseband version (20110622)if ofcourse if you didnt already install it
bobbyice said:
Sorry guys, please correct me if I'm wrong as I'm trying to get it back to stock.
1. Copy img to ext SD card
2. Reboot into recovery e.g. CWM
3. update BackTOEXT3 image with CWM
4. run nandroid to restore stock image
Am I right? I keep getting stuck at the LG screen
Click to expand...
Click to collapse
What "img" are you talking about? Nandroid restore is for restoring a previous backup, not for flashing a rom image.
If you want to flash a stock rom image, you need to use smartflash or nvflash, unless you want to flash the 0622 one, which someone made available in CWM format. (Not completely stock though, as it is prerooted etc.)
::Trym
ok solved, if anyone could delete this post
Updated to include cache partition.
P
Thank you thank you THANK YOU! I needed to restore and this did the trick! I need to return the phone since it's defective. You saved me life!
link not working...
Working on a pc. Thanks paul
Sent from my Optimus 2X using xda premium
please tell me is there any flashable which can convert to ext4?
It will be useful to convert from ext3 to ext4 before restoring a nandroid backup which was taken earlier from EXT4.
cmahendra said:
please tell me is there any flashable which can convert to ext4?
It will be useful to convert from ext3 to ext4 before restoring a nandroid backup which was taken earlier from EXT4.
Click to expand...
Click to collapse
You don't need that. CWM automatically converts from ext3 to ext4 (if the backup is ext4), but not the other way round.

[Q] ROM Backup

Can someone explain how to do a stock carrier rom backup so it can be later (or if something goes wrong during installation of custom rom) restored via odin.
how to do that and which odin version should i use.
Thanks in advance,
Regards
Ummm...U can't make backups with Odin u can do it with CWM but not on stock....
So no backup but u can flash stock rom via Odin when you are done...
ANDROIDCUSTOMIZe said:
Ummm...U can't make backups with Odin u can do it with CWM but not on stock....
So no backup but u can flash stock rom via Odin when you are done...
Click to expand...
Click to collapse
yea i know but i have locked phone and my provider gave me with something like "their custom rom" which is still stock but locked. so if something goes wrong with flashing sutom roms with network i want to have solution for coming back. that's the problem
ANDROIDCUSTOMIZe said:
Ummm...U can't make backups with Odin u can do it with CWM but not on stock....
So no backup but u can flash stock rom via Odin when you are done...
Click to expand...
Click to collapse
We can backup stock rom with CWM...-_-
AnnoyingZlatan said:
yea i know but i have locked phone and my provider gave me with something like "their custom rom" which is still stock but locked. so if something goes wrong with flashing sutom roms with network i want to have solution for coming back. that's the problem
Click to expand...
Click to collapse
Rooted+CWM installed in your phone?
Use cwm recovery to backup your stock rom.
Root your phone, instalar cwm and do a backup.
To restore it you need first to convert the file System to rfs, and then restore the backup through cwm. This is because custom roms use ext4 file system and if you don't convert it, cwm won't restore your backup.
dxppxd said:
Use cwm recovery to backup your stock rom.
Root your phone, instalar cwm and do a backup.
To restore it you need first to convert the file System to rfs, and then restore the backup through cwm. This is because custom roms use ext4 file system and if you don't convert it, cwm won't restore your backup.
Click to expand...
Click to collapse
i know that, but how to do that "convertion" (manually or there's program) from ext4 to rfs after backup in cwm where to find backup file, please explain
To convert system to rfs you must flash a full package firmware via odin
Sent from my GT-S5830 using Tapatalk 2 Beta-5
AnnoyingZlatan said:
i know that, but how to do that "convertion" (manually or there's program) from ext4 to rfs after backup in cwm where to find backup file, please explain
Click to expand...
Click to collapse
I use cf-root ext4 Manager app, easy. There is also a way with adb commands, I don't have the link right now. Google is your best friend (and big brother)
dxppxd said:
I use cf-root ext4 Manager app, easy. There is also a way with adb commands, I don't have the link right now. Google is your best friend (and big brother)
Click to expand...
Click to collapse
O, please give me link for that app. does that go like this:
install apk as any other
convert
do i have to have some special kernels or i can install it on custom rom
EDIT: http://forum.xda-developers.com/showthread.php?t=1158197 this is the link from ketut. do i have to flash whole cf root kernel or i can just install the app on my custom rom's kernel??
AnnoyingZlatan said:
O, please give me link for that app. does that go like this:
install apk as any other
convert
do i have to have some special kernels or i can install it on custom rom
EDIT: http://forum.xda-developers.com/showthread.php?t=1158197 this is the link from ketut. do i have to flash whole cf root kernel or i can just install the app on my custom rom's kernel??
Click to expand...
Click to collapse
Well, if you are going to use cf-root ext4 manager to restore a stock backup its probably recommended to use cf-root kernel, and you will lose the custom rom you're using, so why do you care if it's just the app or the entire kernel?
I don't know if just the app will work, but it's irrelevant. Just Flash a custom rom with cf-root applied, or Flash the cf-root kernel, convert to rfs and you're good to go. You'll restore a backup and basically wipe any custom rom you were previously using.
Otherwise, a Odin one package will revert your file system to rfs, and wipe cwm recovery (so you need to root and istall cwm afterwards and then restore backup)
1. Root your phone
2. Install CWM
3. Backup your Current ROM*
4. Install yuour Custom ROM, and if something happen
5. Flash Stock ROM with odin
6. Root your phone
7. Install CWM
8. Restore your Current ROM*
Make sure you didn't wipe anything in your SD card..
CMIIW
Backup via CMW via recovery
dxppxd said:
Well, if you are going to use cf-root ext4 manager to restore a stock backup its probably recommended to use cf-root kernel, and you will lose the custom rom you're using, so why do you care if it's just the app or the entire kernel?
I don't know if just the app will work, but it's irrelevant. Just Flash a custom rom with cf-root applied, or Flash the cf-root kernel, convert to rfs and you're good to go. You'll restore a backup and basically wipe any custom rom you were previously using.
Otherwise, a Odin one package will revert your file system to rfs, and wipe cwm recovery (so you need to root and istall cwm afterwards and then restore backup)
Click to expand...
Click to collapse
So, first I have to make nandroid backup, I did that.
EDIT : Ok, I have installed cf root kernel, but now how to convert system file to rfs and do backup.. Thanks in advance
Ext4 Manager app will convert your file System to rfs, so do it before restoring backup.
The other way, Flash a Odin one package, root, install cwm and restore.
AnnoyingZlatan said:
So, first I have to make nandroid backup, I did that.
EDIT : Ok, I have installed cf root kernel, but now how to convert system file to rfs and do backup.. Thanks in advance
Click to expand...
Click to collapse
3 ways to do it:
1.EXT4 Manager App
2.Flash Cf-root
3.Flash Odin full package file.
Sent from the year 3000 using a SGA where sheep's are not present.
dxppxd said:
Ext4 Manager app will convert your file System to rfs, so do it before restoring backup.
The other way, Flash a Odin one package, root, install cwm and restore.
Click to expand...
Click to collapse
Thanks, so i just after converting that system file to rfs, do a restore in cwm?
Download .md5 file for stock n flash it via odin 4.38 with Cooper
Sent from my GT-S5830 using xda premium
Yes, once you converted to rfs your stock backup can be restored.
Uhh... Yes you can................
PulseDroid said:
Ummm...U can't make backups with Odin u can do it with CWM but not on stock....
So no backup but u can flash stock rom via Odin when you are done...
Click to expand...
Click to collapse
You can do that, just make sure you root with odin, or the z4root app

Stock kernel Q

Hi all,
Running ARHD 12.0 and installed the latest bullet proof kernel. Just wondering: if I were to reinstall ARHD without a data wipe would that restore the stock kernel?
If not, what is the latest stock kernel and where can I find it? I understand that there is an older stock kernel floating around that isn't as stable as the one out with the official 4.22.
Thanks as always,
Joel
Sent from my HTC One using xda premium
Schneijs said:
Hi all,
Running ARHD 12.0 and installed the latest bullet proof kernel. Just wondering: if I were to reinstall ARHD without a data wipe would that restore the stock kernel?
If not, what is the latest stock kernel and where can I find it? I understand that there is an older stock kernel floating around that isn't as stable as the one out with the official 4.22.
Thanks as always,
Joel
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
No
reflashing ROM wont flash stock kernel
Stock kernel can only be flashed by running RUU or flashing OTA or FROM NANDROID BACKUP(made at the time when you had stock kernel)
If you didnt make nandroid before flashing bullet proof kernel then wait till 4.2.2 STOCK kernel "STARTS FLOATING AROUND"!!!
HIT THANKS IF I HELPED YOU
prunzzz said:
No
reflashing ROM wont flash stock kernel
Stock kernel can only be flashed by running RUU or flashing OTA or FROM NANDROID BACKUP(made at the time when you had stock kernel)
If you didnt make nandroid before flashing bullet proof kernel then wait till 4.2.2 STOCK kernel "STARTS FLOATING AROUND"!!!
HIT THANKS IF I HELPED YOU
Click to expand...
Click to collapse
Incorrect. ARHD has a kernel in it; reflashing the rom WILL replace the kernel. OP can flash ARHD 12.0 without data wipe in recovery, or "fastboot flash boot boot.img" in bootloader after removing boot.img from the ARHD zip.
If you have a nandroid, all you would have to do is advance restore /boot partition.
cee43ja1 said:
Incorrect. ARHD has a kernel in it; reflashing the rom WILL replace the kernel.
If you have a nandroid, all you would have to do is advance restore /boot partition.
Click to expand...
Click to collapse
Ya
you are right
i forgot that arhd has kernel
my fault
cee43ja1 said:
Incorrect. ARHD has a kernel in it; reflashing the rom WILL replace the kernel. OP can flash ARHD 12.0 without data wipe in recovery, or "fastboot flash boot boot.img" in bootloader after removing boot.img from the ARHD zip.
If you have a nandroid, all you would have to do is advance restore /boot partition.
Click to expand...
Click to collapse
Thanks! This is what I found, as well. I wrote down the bullet kernel ID info then dirty flashed ARHD and found that the kernel had indeed been returned to stock!
Thank you both for the information!
J

Big world of Kernels.... and iHackers ROM

So as you all no, Ive unlocked my Bootloader and Rooted my phone.
Now i am trying to install the iHackers 2.1 ROM but am coming into confusion. I have not installed any other apps for the rooted device, i have a clean device with "Philz advance Recovery Kernel" Installed. That is all!
If i go through the process of installing the iHackers 2.1 ROM will this delete "Philz Advance Recovery"? As i think Philz recovery is a kernel
and iHackers wants me to install their Kernel. Correct? so the iHackers will replace philz recovery?? Am i right or wrong?
If im right then how would i install ROMS/WIPE DATA/CLEAR CACHE and that after ive installed the iHackers ROM???
At the end of the tutorial iHackers give they say install my desired Kernel after the Stock Kernel step. Is this were i replace "Philz Recovery"?
I here people installing DOOM's(Something) Kernel at this point. But does that mean they have lost the recovery Kernel?? Its confusing.
I would like the Doom Kernel everyone is using aswell as iHackers ROM as well as A Recovery Kernel lol, Not asking for much am i ! LOL
Could some help clear this up please, i have read many documents on here and havent wrapped my head round it yet. THANKS
The procedure should be like that, complete the iHackers procedure to install the room. After you did that if you lost the recovery you can flash any kernel with recovery via Flashtool, it's your choice. The recovery it's implemented in Kernel so don't get confused, after you install any rom you can flash any custom kernel with any recovery.
eclyptos said:
The procedure should be like that, complete the iHackers procedure to install the room. After you did that if you lost the recovery you can flash any kernel with recovery via Flashtool, it's your choice. The recovery it's implemented in Kernel so don't get confused, after you install any rom you can flash any custom kernel with any recovery.
Click to expand...
Click to collapse
Hi again mate...
So if i follow the steps for the iHackers ROM and decide i dont like it how do i revert back to the stock version i have (Which i have backedup via the CWM Recovery) if ive deleted it by switching kernels?
l-_-M4r5h411-_-l said:
Hi again mate...
So if i follow the steps for the iHackers ROM and decide i dont like it how do i revert back to the stock version i have (Which i have backedup via the CWM Recovery) if ive deleted it by switching kernels?
Click to expand...
Click to collapse
A nandroid backup and then a restore would be the easiest and recommended
shem2409 said:
A nandroid backup and then a restore would be the easiest and recommended
Click to expand...
Click to collapse
and if its to late for that? I backed up something when i had CWM installed but after changing to the iHackers Kernel that has now gone and im stuck with this. i prefer my stock! im not smart enough for this stuff!
Any help to revert back?
l-_-M4r5h411-_-l said:
and if its to late for that? I backed up something when i had CWM installed but after changing to the iHackers Kernel that has now gone and im stuck with this. i prefer my stock! im not smart enough for this stuff!
Any help to revert back?
Click to expand...
Click to collapse
Install kernel with CWM and restore what you backed up before.
eclyptos said:
Install kernel with CWM and restore what you backed up before.
Click to expand...
Click to collapse
Cheers Mate
Thats all from me now, im happy with my stock kernel and deleted bloatware haha. THANKS

Cannot Restore Apps in Titanium Backup using Android 6.0

I'm having trouble restoring apps+data in Titanium Backup after flashing Android 6.0. I'm rooted (Supersu 2.50 plus modified boot.img provided by Chainfire).
When I restore the apps+data, the progess is stuck at 0%. I'm suspecting there's something wrong with my BusyBox, any thoughts?
Thanks
I think you have to manually set up the right folder in "preference".
Sent from my Nexus 6 using XDA Free mobile app
Well, Titanium Backup does pick up the backup folder location and I could verify the backup files successfully. I've also tried installing Hellscore Kernel, still stuck at 0% during restore.
make sure youre using the latest version of titanium back up 7.2.2
its working for me
Goto menu preferences select another app processing mode
Sent from my SM-T800 using Tapatalk
I think I also tried the "indirect" app processing mode in the latest TB (downloaded from Google Play). I can't seem to restore the apps in 6.0, not even flashing update.zip created by TB.
Good thing I had a 5.1.1 nandroid backup, went back to that.
Any solution please? Here is happening the same..
I wrote before it was working for me, but that was when i had ElementalX kernel, now that i flashed modified boot by chainfire and root with 2.50 superuser. Its not working for me either.
Loved to hear if anyone solved this. @ayang02
torecdude said:
I wrote before it was working for me, but that was when i had ElementalX kernel, now that i flashed modified boot by chainfire and root with 2.50 superuser. Its not working for me either.
Loved to hear if anyone solved this. @ayang02
Click to expand...
Click to collapse
So the solution would be to flash the ElementalX kernel instead of the chainfire one? If I want to flash the ElementalX kernel, I have to flash the stock kernel before, or I can do it from the chainfire one? What are the main differences between both kernels?
Thanks
mtebele said:
So the solution would be to flash the ElementalX kernel instead of the chainfire one? If I want to flash the ElementalX kernel, I have to flash the stock kernel before, or I can do it from the chainfire one? What are the main differences between both kernels?
Thanks
Click to expand...
Click to collapse
I had ElementalX with 2.49 SU was working fine but when i tried to flash chainfire's boot image and Su 2.50 i was stuck at boot loop and had to flash factory image all over again.
I dont recommend you to try and do that. Although it might work. i dont know.
Did any of y'all factory reset and wipe internal storage? I read wiping the SD card will make it work
---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------
I can't find the exact post about it but it worked for me. Just make sure to backup all files to a computer before hand
I got it to work. Chainfire updated his boot.img for Nexus 6 and Titanium Backup also came out with a new version today. So I basically did a dirty flash from my 5.1.1 backup without wipe and everything worked for me. I didn't wipe this time, so the scenario is a bit different from my original post.
What I did:
1) I was using the latest bootloader + radio already, so I didn't flash those
2) Only Flashed system.img, Chainfire's boot.img, and cache.img
3) Install SuperSU 2.50 in TWRP
4) Reboot to System and waited for apps to upgrade
Some thoughts:
1) If your Titanium Backup has trouble finding the backup files, manually change the backup location to the correct one.
Titanium Backup's restore works for me now.
If SELinux is set to permissive Apps restore.
ldkud50 said:
If SELinux is set to permissive Apps restore.
Click to expand...
Click to collapse
i have SuperSU2.50 and elementalX 6.01 and still stuck at 0% a did try a lot of things... any other sulution then wipe SD card guys?
EDIT:
ok this works
su
setenforce 0
Click to expand...
Click to collapse
in terminal emulator
it will not survive reboot but still better solution then nothing
THANKS ldkud50 !
castaway1 said:
i have SuperSU2.50 and elementalX 6.01 and still stuck at 0% a did try a lot of things... any other sulution then wipe SD card guys?
Click to expand...
Click to collapse
What I did was to download all apps manually, and then restore only data. It worked.
TItanium Backup 7.1.2.1
boot.img from chainfire
SuperSU 2.49
pls help
me too having problem with titanium bkp. I had backup all my apps with data on 5.1.1 and flashed 6.0.1 rom. Now titanium bkp doesn't detect my bkp.
Tried many things like
copy bkp files to internal,
just made an app bkp and copy my bkp files to that folder etc.
still my TB doesn't detect my old bkp
cerico76 said:
I think you have to manually set up the right folder in "preference".
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
ldkud50 said:
If SELinux is set to permissive Apps restore.
Click to expand...
Click to collapse
Yes, that worked!

Categories

Resources