Related
Hi guys,
I'd like to downgrade from Android 3.2 (build HTJ85B) to Android 3.0.1 (build HWI69), since this was the last version that allowed me to flash a new kernel without getting stuck at the Motorola logo. The Xoom is rooted, using the rootboot.img floating around here. Is it just a matter of flashing the stock boot, system, recovery, and userdata images back onto the Xoom? Or is there more to it than that? This will effectively unroot the phone too, correct, since it will be wiped clean? Thanks in advance for any help!
mattberman said:
Hi guys,
I'd like to downgrade from Android 3.2 (build HTJ85B) to Android 3.0.1 (build HWI69), since this was the last version that allowed me to flash a new kernel without getting stuck at the Motorola logo. The Xoom is rooted, using the rootboot.img floating around here. Is it just a matter of flashing the stock boot, system, recovery, and userdata images back onto the Xoom? Or is there more to it than that? This will effectively unroot the phone too, correct, since it will be wiped clean? Thanks in advance for any help!
Click to expand...
Click to collapse
Look, there's obviously something else going on with your Xoom that is not related to the Honeycomb version you have updated to. My suggestion is to very logically figure out what may have happened to get you stuck so we can get you unstuck.
Of course, if you go to the Moto Dev site you can download the stock images for your Xoom model (be careful to choose the correct model) and flash them through fastboot.
Don't relock.
You can reroot at HC3.01 or you can OTA update to 3.1/3.2 as desired and then root.
It's all up to you.
I know there's something else wrong, but for the life of me I cannot figure out what it is. I've tried different kernels (stock, Tiamat, different branches of each), but whenever I try to build and flash a new kernel, I get stuck at the Motorola logo, and have to reboot and reflash the older rootboot.img from these forums. I tried different mkbootimg offsets (it should be 0xe19f8000 for the Xoom I believe, correct?) and different ramdisks, but still the same problem. Unless there is some other special step I missed for building Xoom kernels, I'm out of ideas, and I know I had better luck building and flashing kernels on Android 3.0.1, so this is sort of my final fallback method.
These are the steps I took to get where I am:
1. Upgrade Android 3.2 OTA (build HTJ85B) for US WiFi Xoom (which is my model)
2. Unlock Xoom via fastboot
3. Copy su files over for root access
4. Build 2.6.36.3 kernel from source tree (many different branches, etc like mentioned above)
5. Extract ramdisk and combine with zImage kernel output using mkbootimg (tried both no offset and offset=0xe19f8000, which I found after digging around on the Xoom)
6. Flash new boot image via fastboot and reboot. This is when I get stuck a Motorola logo..
Any advice?
mattberman said:
I know there's something else wrong, but for the life of me I cannot figure out what it is. I've tried different kernels (stock, Tiamat, different branches of each), but whenever I try to build and flash a new kernel, I get stuck at the Motorola logo, and have to reboot and reflash the older rootboot.img from these forums. I tried different mkbootimg offsets (it should be 0xe19f8000 for the Xoom I believe, correct?) and different ramdisks, but still the same problem. Unless there is some other special step I missed for building Xoom kernels, I'm out of ideas, and I know I had better luck building and flashing kernels on Android 3.0.1, so this is sort of my final fallback method.
These are the steps I took to get where I am:
1. Upgrade Android 3.2 OTA (build HTJ85B) for US WiFi Xoom (which is my model)
2. Unlock Xoom via fastboot
3. Copy su files over for root access
4. Build 2.6.36.3 kernel from source tree (many different branches, etc like mentioned above)
5. Extract ramdisk and combine with zImage kernel output using mkbootimg (tried both no offset and offset=0xe19f8000, which I found after digging around on the Xoom)
6. Flash new boot image via fastboot and reboot. This is when I get stuck a Motorola logo..
Any advice?
Click to expand...
Click to collapse
Quick question: are you using CWM Recovery to flash the zip files, and if so what version of recovery do you have installed?
The version which works best for the Xoom is v3.2.0.0 R4c. However if you "updated" through Rom Manager to v4.0.0.X, that version is incompatible with the external sdcard and if you are trying to flash from your internal sdcard, it will seem like it's working but will not work, will just hang or revert to previous state. So maybe I'm really off base...you seem to know a lot...but I've seen similar problems caused by that bad recovery version.
I'm not using CWM at all, since I still don't have an SD card to use (I'm waiting on an order from a few weeks back). So that is probably not the issue. I hope to test using CWM after my card arrives, maybe that will fix the issue, but I doubt it.
Edit: Also, just to clarify, I'm not flashing any zip files, just the boot image .img files.
mattberman said:
I'm not using CWM at all, since I still don't have an SD card to use (I'm waiting on an order from a few weeks back). So that is probably not the issue. I hope to test using CWM after my card arrives, maybe that will fix the issue, but I doubt it.
Edit: Also, just to clarify, I'm not flashing any zip files, just the boot image .img files.
Click to expand...
Click to collapse
So you are decomposing the zip files and flashing image files through fastboot? Because you know you can't flash zip files through fastboot.
mattberman said:
Hi guys,
I'd like to downgrade from Android 3.2 (build HTJ85B) to Android 3.0.1 (build HWI69), since this was the last version that allowed me to flash a new kernel without getting stuck at the Motorola logo. The Xoom is rooted, using the rootboot.img floating around here. Is it just a matter of flashing the stock boot, system, recovery, and userdata images back onto the Xoom? Or is there more to it than that? This will effectively unroot the phone too, correct, since it will be wiped clean? Thanks in advance for any help!
Click to expand...
Click to collapse
Worst logic EVAR
mattberman said:
I'm not using CWM at all, since I still don't have an SD card to use (I'm waiting on an order from a few weeks back). So that is probably not the issue. I hope to test using CWM after my card arrives, maybe that will fix the issue, but I doubt it.
Edit: Also, just to clarify, I'm not flashing any zip files, just the boot image .img files.
Click to expand...
Click to collapse
Annnnd here is the problem....flash in a custom image would be a good start to fixing ur trouble. Search solarnz custom clockwork recovery image and flash through fastboot
rockhumper said:
Annnnd here is the problem....flash in a custom image would be a good start to fixing ur trouble. Search solarnz custom clockwork recovery image and flash through fastboot
Click to expand...
Click to collapse
He doesn't have his microsd card yet. But might as well get ready.
okantomi said:
So you are decomposing the zip files and flashing image files through fastboot? Because you know you can't flash zip files through fastboot.
Click to expand...
Click to collapse
Sorry if I was unclear, I am not using any zip files anywhere in the flashing process, except when dealing with the ramdisk. I've done this many times before with other devices, I'm not completely new to the process.
rockhumper said:
Worst logic EVAR
Click to expand...
Click to collapse
How is that bad logic? If something isn't working as it should, go back to the last stable point when it did.
rockhumper said:
Annnnd here is the problem....flash in a custom image would be a good start to fixing ur trouble. Search solarnz custom clockwork recovery image and flash through fastboot
Click to expand...
Click to collapse
I could try this but how would that help? Do I need a custom recovery image to flash a new kernel? It won't work with stock? I'll give it a shot, thanks for the input. Okantomi, he's talking about the recovery .img file (flashed via fastboot), and not the .zip via CWM (I think).
Just get a 2gb or 4gb sd card, or borrow one from a phone, it's pretty simple...
To go back just grab the stock images from my sticky. Fastboot flash them, wipe cache and start over.
Sent from my PG86100 using Tapatalk
I have a quick question. I wanted to install a certain ROM and was required to use their Boot File. I installed it and I then installed the ROM. All is great, however I was wanting to return to Stock and flashed the Stock Boot.img. My question is, what if I want to now stay with the custom ROM. Whats the harm? On top of that, how can I verify that the Boot was flashed?
Thank you
Boot.img contains the kernel and some other stuff to help the phone boot.
The worse that could happen is the phone wont boot. To fix this just flash the correct boot.img
If you want to stay on a custom ROM, Just reflash the boot.img and then the ROM. you can swap back and forth from stock to custom as many times as you want. Just make sure you have the right boot.img(s) in case it fails to boot.
Great. I askked because I flashed a custom boot.IMG and then a custom rom. Then went back to stock Rom without flashing a new boot and it worked fine. Is therw a way to see what boot.IMG is currently flashed.
Sent from my HTC VLE_U using xda premium
Hello,
I don't know if this is the correct place to write this, but if not please advise me as I'm new in this fields.
Some time ago I decided to root my Jelly bean HTC One S (S4). To do that I used the HTCDEV method and follow this post step-by-step witch I thank to all developers involved: http://forum.xda-developers.com/showthread.php?t=1583427
It worked well and the only thing I done different was installing TWRP 2.6.3 recovery instead CWM.
Lately I decide to install a custom kernel (Bulletproof 1.4), essentially because I wanted to fix refresh rate/crash of HDMI output among other good things that this kernel provide. Here started my problems. I download the zip file, file copy it to phone memory through usb and then restart the phone to bootloader, enter in recovery and flash it with TWRP. After that my phone don't boot and was stuck in bootloop.
As I previous made a backup of my system through TWRP I thought it would be enough to restore it, but then my sdcard was unreachable and I found no way to access it. At this point I had also the copy of the backup I done with recovery in my laptop. With the phone in bootloader screen (witch I'm still able to reach) I can see the phone in devices although not accessible. So the only way I found to fix my phone was format the sdcard though windows copy the backup to sdcard via and then make make a restore via TWRP. It somehow worked and I was able to back to system.
I checked the kernel and it changed to bulletproof 1.4+. Nevertheless the performance of the phone decreased at the point that he almost freezes sometimes (no restarts) and also can't acess phone storage via usb in windows. When I plug it to computer it beeps as a normal device inserted and htc one s device appears but I can't see any of the contents inside it.
After some days, I decided to install Busybox app and somehow that app makes some miracle and the phone got something better in terms of performance, but never as it was before the installation of the kernell. Even know the phone has some freezes, but Can someone help me recovering the normal phone performance?
more info:
I'm factory unlocked
HTC ONE S (S4)
HBoot 2.15
S-ON
RADIO 1.11.50.05.28
TWRP 2.6.3
Thanks a lot in advance and sorry my bad English.
You have you're stock rom?
http://forum.xda-developers.com/showthread.php?t=2082451
Download rom. Open it.
Copy "boot.img" to computer. (Because you're S-ON)
1.save you're data from phone to PC.
2.put the rom from above link in SD CARD
2.reboot bootloader
3.factory reset
4.wipe all except SD CARD.
5.flash rom from recovery
6.reboot bootloader
7.Fasboot USB will apear when you conect to PC
8."Fastboot flash boot boot.img" with command promt. (without this you're phone wont start)
First of all thanks for your quick reply and sorry the later answer...
I have some backups of all the system done with TWRP made immediately after rooting the phone and before flash the custom kernel. One of those backups I used to help me bring phone again to life however in the end with performance and usb problems I mention before. Can I use this? If yes should I take some specific step? (I watched the files of the TWRP backup and they are all .win and .md5, is this normal? can I use it as you mention?)
If I use some of the rom you point me (or eventually my backup) in the end flash boot.img I will be replacing the custom kernel I installed right? If so and if everything goes right I will still be rooted but with stock kernel right? I watched the roms available from the link you gave me how do I choose from them, I suppose will be some of the Europe, probably Ville_Europe_3.16.401.8_OTA_UPDATE_Stock_Rooted_ODEX, however how do I know if those match with my radio/Hboot version version which are 1.11.50.05.28 /HBoot 2.15.
I know I probably did some stupid questions, but as you may noticed I'm a lot "green" here.
First use backup.
OTA is an update. Find the one before that. Must be the one compatible with the region that you live.
http://www.androidfilehost.com/?w=files&flid=2484
I choose LITE. Then OTA:
http://www.androidfilehost.com/?w=files&flid=2489
Don't forget!
comand promt : fastboot flash boot boot.img
Thanks a lot man for the help, it worked...
Had some issues with the OTA installation as in the first try phone stuck on HTC boot screen, but on second try it worked, thanks a lot!!
Have on more question, if possible, now I'm again on stock kernel which as mhl hdmi problems (phone outputs 1080p 24hz which makes it slow and some times freezes)... so would you recommend me some custom kernel? just want to fix that. The buletproof 1.4 was ok in that point but last time I flashed it phone enters in bootloop and the rest you already know.
Can you tell the correct steeps to install a custom kernel, should I flash it through recovery, clear all cache in recovery and then flash the boot.img file of the kernel via fastboot? or should I use some market app like "kernel manager" or "flash image gui"
Hi, is there any ROM's like the ones you point me already with Heartbleed vulnerability fix from HTC? I mean a stock, odex, rooted rom's made after the update release from HTC? With those ones how can I apply the fix?
thanks in advance.
HD or full HD ask's alot from a phone. I guess that is the problem...
Hi,
About my last post (the heartbleed issue), I don't know If it was the best solution but still on 4.1.1 and used the patch from http://forum.xda-developers.com/showthread.php?p=51830870, tested it with the heartbleed detector and look like it's ok now.
After that I flashed again the bulletproof 1.4 now with Flash Image Gui, not via recovery (my previous try I used twrp, but as I'm s-on probably boot.img wasn't flashed well or flashed at all, and probably from there started my problems). After this try phone runs good and fluid most of the time. However I noticed that when use a browser (chrome/dolphin or even the stock browser) or turn on gps and mobile data after been some time without connection he becomes very slow (not all times but somehow frequent).
After that I flash the last bulletproof 2.1 (again with Flash Image Gui), thinking it might be due to the fact that version 1.4 still have some problems.
After installation and in the beginning the system was fluid, but then again even with this version sometimes lags a lot when browsing. Do you know what may cause that?
About hdmi with this kernel, if the phone isn't passing for a period o lag I mention before it runs very fluid in 720p 60hz.
thanks advance for for your time!
Somewhat new to this, but I successfully rooted my 6633 which has stock 4.4.4 (Which I re-installed the stock firmware fresh). Afterward I Installed TWRP and attempted to create a custom recovery (I could never boot into recovery and tried many times and many ways), and assume I must at least create a custom recovery. Anyway, in attempting to create the recovery I tried to flash the img file. However, I could not find an image for the 6633 and (stupidly) flashed the image for the z3c. But other than freezing the phone the first time I shut it down, everything on the phone works fine. But a recovery was never created. I then found an img for the 6633 and tried to flash it but simply got an error message saying that "Failed remote: image is not a boot image". Apparently either the original mistakenly loaded (z3c) image won't let me flash another over it (unlikely, since it may have never even loaded) or (more likely) the new correct image is bad or corrupted. It is called "bootZ3dualmonxtest01.img" and was downloaded from another site. Searching this site I did find a kernel for the Z3 6653 but there is not any kernel for the 6633.
Again the phone works fine and I can do some file management things in the root, but the whole reason for doing this rooting process is so I can flash a mod to fix the crappy ringtone volume, that I located in another thread on this forum. It's been a journey & I had a lot of fun learning, but I'm not even sure that, in the end, the mod will even fix the ringtone volume (although posters on that thread claim it works). But that's a whole other issue. (lol). Sorry for the wordiness. I read the forums a lot and tried to be thorough. I know there are a lot of really smart people helping newbies like me. Any help is appreciated.
First of all, you can't flash custom kernels on Locked bootloader (I guess you've never unlocked it)
Second, if you wan't just to flash a zip file with sound mod then after rooting and installing TWRP, boot in TWRP and Install the zip. Thats it. You don't need custom kernel or any other recovery. TWRP is fine enough.
G-FACE said:
First of all, you can't flash custom kernels on Locked bootloader (I guess you've never unlocked it)
Second, if you wan't just to flash a zip file with sound mod then after rooting and installing TWRP, boot in TWRP and Install the zip. Thats it. You don't need custom kernel or any other recovery. TWRP is fine enough.
Click to expand...
Click to collapse
Thanks so much for your reply. However, the Bootloader was unlocked the whole time. In fact, the process did seem to correctly flash the wrong kernel (xperia Z3c). The reason I was trying to create a custom recovery is that I am apparently unable to boot to TWRP. I had read in another forum that the Z3 Dual does not come with a stock recovery and that a custom one has to be installed.
In any case, I followed the instructions to boot to TWRP (which gave a couple of methods), and it continues to just either just boot normally, or it I get an error "Damaged SD Card" and I lose some minor functionality. In that case, the phone won't shut down and I have to hold the power button and up volume to kill it. But then if I power it on, everything is normal. This error sequence only occurs when I try to boot into recovery.
Is it possible that when I flashed the wrong kernel (using the Xperia Z3c kernel) that I created this issue? I assumed that the reason for the error was that there was no stock recovery and one could be created by flashing the kernel image.
There is no stock recovery on Z3.
Here is a custom kernel for D6633, but you need to be on stock 23.0.F.1.74 firmware: http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794
You can ask the dev there to prepare for you a custom kernel for another firmware version if you want.
I was running CM 12.1 on my N5 and wanted to give stock 6.0 a try so I flashed the factory image using the meathod in this article.
'androiding.how/marshmallow-rom-nexus-5-recovery-flashable/'
Have no problems and everything seems to be normal. However, I did want root access so I was going to follow the method described in that article which mentioned using fastboot to load a new boot.img. All I had to do was boot into TWRP flash the hellscore Kernel, then flash Superuser SU2.46.
However all the threads on this forum suggest that rooting marshmallow should not be this easy and requires a new boot.img ect......Am I missing something?
Ridley78 said:
I was running CM 12.1 on my N5 and wanted to give stock 6.0 a try so I flashed the factory image using the meathod in this article.
'androiding.how/marshmallow-rom-nexus-5-recovery-flashable/'
Have no problems and everything seems to be normal. However, I did want root access so I was going to follow the method described in that article which mentioned using fastboot to load a new boot.img. All I had to do was boot into TWRP flash the hellscore Kernel, then flash Superuser SU2.46.
However all the threads on this forum suggest that rooting marshmallow should not be this easy and requires a new boot.img ect......Am I missing something?
Click to expand...
Click to collapse
The thing is, u need a kernel built for M that allows root access, something like HellsGod, the kernel that is packaged with XtraSmooth. I'm on the Nexus 6 running M and this is what did to achieve root access, I flashed XtraSmooth ROM thru twrp, downloaded 6.0, extracted the system, bootloader, and radio from the factory image and flashed them using fastboot, then I booted back into twrp and flashed SuperSU v2.50, u don't wanna use 2.46, it will bootloop, now I'm on M, rooted and loving it
Sent from my Nexus 6 using Tapatalk
---------- Post added at 10:44 AM ---------- Previous post was at 10:38 AM ----------
And it's always been that easy to root Nexus devices, that's what they're for, is primarily a developers phone, so they make it easy cut devs
Sent from my Nexus 6 using Tapatalk
Thanks for the input, however I am still unsure why you need to use fastboot to load the bootloader and radio? I downloaded the zip files and used TWRP and it worked with no issues? and I did not get stuck in a boot loop using SU2.46?
I guess I am wondering if the update I flashed from the posted article was infact a full version of Marshmallow or just the preview since I did not need to use fastboot, and SU2.46 worked fine? at this point I am under the assumtion I did not go back to full stock 6.0 when I flashed the update.
The kernel you flashed (also known as a boot.img) was modified to allow root. It is no more complicated than that. If you didn't have a nice twrp zip file to flash (hell's kernel) you could have used fastboot to flash the kernel(boot.img) instead. Also, because you used a rom that was packaged as nice twrp flashable zip file you didn't have to use fastboot to flash the bootloader and radio, etc...it was in that rom zip file. You can use 7-zip or winrar to browse it and you can see all the files that zip flashed for you if you want.
This is why a lot of times after a new version of android drops the Q&A gets loaded with people asking for a stock flashable zip of the roms. It's just an easy way to upgrade without having to use fastboot which seems to be difficult for a lot of people to grasp.
Marshmallow cannot be rooted without a modified kernel right now so maybe that's what people mean by it"s "hard" to root marshmallow? Who knows. I thought it was easy peasy lemon squeezy.
Awesome. That is kinda what I thought but I just wasn't sure. it seemed too easy. I know enough to follow steps with out bricking my phone, and how to get out of a bootloop, but some of the finer details are still greek to me. I appretiate your input.:good:
Evo_Shift said:
The kernel you flashed (also known as a boot.img) was modified to allow root. It is no more complicated than that. If you didn't have a nice twrp zip file to flash (hell's kernel) you could have used fastboot to flash the kernel(boot.img) instead. Also, because you used a rom that was packaged as nice twrp flashable zip file you didn't have to use fastboot to flash the bootloader and radio, etc...it was in that rom zip file. You can use 7-zip or winrar to browse it and you can see all the files that zip flashed for you if you want.
This is why a lot of times after a new version of android drops the Q&A gets loaded with people asking for a stock flashable zip of the roms. It's just an easy way to upgrade without having to use fastboot which seems to be difficult for a lot of people to grasp.
Marshmallow cannot be rooted without a modified kernel right now so maybe that's what people mean by it"s "hard" to root marshmallow? Who knows. I thought it was easy peasy lemon squeezy.
Click to expand...
Click to collapse
I looked at that site you linked and it is possible you are still using the old radio and bootloader. It seems they had separate zip files for those things. The old ones might work with marshmallow though, I am not sure. You can go into your settings and look to see if the radio you have is up to date. Did you flash both of those zips or just the rom? The current one is baseband version M8974A-2.0.50.2.27. If yours is older you could flash that bootloader/radio zip file they have on that site. However, if your phone is working properly and you get good signal and everything there is not really any need. (I honestly can't remember if the bootloader and radio files can be included in flashable rom zips since I always update that stuff using fastboot, lol. Now that I think of it I don't think radios are typically included when people develop roms. I am trying to think back to when I flashed cyanogenmod like over a year ago... Either way it seems you get the idea of what to do.)