kernel flashing sequence.. - HTC Vivid, Raider, Velocity

Does it matter if i flashed kernel, wipe, install rom? Thats how i been doing..
Just curious cuz i seen it saying u need to wipe, flash kernel, than immediately rom.
But once i flash kernel phone reboots which means i have to force close/take out battery so the phone wont try to boot to os.

greypimps said:
Does it matter if i flashed kernel, wipe, install rom? Thats how i been doing..
Just curious cuz i seen it saying u need to wipe, flash kernel, than immediately rom.
But once i flash kernel phone reboots which means i have to force close/take out battery so the phone wont try to boot to os.
Click to expand...
Click to collapse
in fastboot, the phone will not reboot until you tell it to
Code:
fastboot flash boot boot.img
thats it, if you do a fastboot reboot command after, thats why you are getting a reboot.
after flashing the kernel, just hit 'bootloader' then 'recovery' and it will boot straight into recovery

What about when you flash a kernel that has other files with it? Example below:
bcm4330.ko
From the .bat file that came with it, it copies it over to the system modules directory. I mean I guess if you mount the /system directory in CWM then you could flash via adb. The file up above being named bcm4330 makes me think it is some kind of network driver.

unc-newbie said:
What about when you flash a kernel that has other files with it? Example below:
bcm4330.ko
From the .bat file that came with it, it copies it over to the system modules directory. I mean I guess if you mount the /system directory in CWM then you could flash via adb. The file up above being named bcm4330 makes me think it is some kind of network driver.
Click to expand...
Click to collapse
If its copying over a .ko file, you better already have a rom installed since ko files go in /system/lib/modules. If you copy that file over and then install the rom it was all for nil.
Sent from my GT-I9100

Related

[Q] CM7 stuck in booting

Running 2.3.3, build number is CL 49208, using a Mac. Unlocked bootloader with fastboot. Used recovery-RA-passion-v2.2.1. Put the su-2.3.6.1 on my phone. Finally got it to reboot in recovery. Installed CM7.0.3. Oh, and I bought this phone in China (it's legit). Also, I used info from lots of sources before I finally found a recent post here that suggested the su zip file. One of those things I put in my sdcard is Radio_20100203_2_Signed_PASSION.img. Don't know if that helps. I couldn't find a more updated radio image.
The plan is to install CM7 so I can run openvpn.
It stops and cycles through the CM7 load screen -- turquoise android on a skateboard with an arrow circling around. Goes no further.
What did I miss? How do I fix it? Thanks.
Sounds like your in a bootloop.
Did you flash GAPPS also?
Here's more infos for radio, ect...
http://forum.xda-developers.com/showthread.php?t=744605
Has happened to me before. I removed the SD card and scanned it for errors on my PC. Worked after that. HTH.
Sent from my Nexus One using XDA App
Uhh...I can't put a microsd card in my computer -- I don't think.
Would you recommend updating the radio image? I'm thinking the 5.12.00.08, since my phone is in fact Korean. Do I still need the GAPPS image? Can I flash that image into my phone, or do I need to put it on the root of the sdcard?
cat3rpill3r said:
Uhh...I can't put a microsd card in my computer -- I don't think.
Would you recommend updating the radio image? I'm thinking the 5.12.00.08, since my phone is in fact Korean. Do I still need the GAPPS image? Can I flash that image into my phone, or do I need to put it on the root of the sdcard?
Click to expand...
Click to collapse
They make an adapter for micro sd card t ofit a USB port.
You can try new radio but If it's bootlooping I think your problem is elsewhere.
Did you check MD5SUM of the ROM before flashing?
Fortunately, my neighbor has a plethora of microsd adapters.
I did not check the sum. I read a few suggestions about doing that, but I couldn't figure out how, so I just trusted that what I had was fine. Lesson learned.
Let me get this straight: I need to put the GAPPS image on the sdcard AND flash the GAPPS image from fastboot? If I do update the radio image, do I need to reinstall CM7?
Put cm7 rom and gapps on sd card,
boot into recovery and flash rom then gapps, reboot.
Its highly recommends you do radio via fastboot.
To check md5sum, you can use one of the many free app from market.
Ok, ran checksum in fastboot. Not really sure what I'm looking for, so I'll just post what happened. In every case except gapps and su, the numbers returned were the same on the sdcard as in the tools file on my mac. Gapps and su are only on the sdcard.
For the CM7 zip, it returned: MD5(pathtofile)= 98d06d6a58c7de87d40269bfe0ae0e7b
For the RA img: 3def709ab1c9e051a92a1c8b1504a36a
For the Radio img: 310d85c4998163818f7dcdef730c2a12
For the gapps zip: 2f6a93654d1cfe191ff709b360ad60fc
For the su zip: b23147cb55eba3ae32a996a913fa54ea
I'm too new to the forum to post the link where I'm getting my instructions.
The CM7 version is update-cm-7.0.3-N1-signed, the RA is recovery-RA-passion-v2.2.1, the radio img is Radio_20100203_2_Signed_PASSION (the updated radio link you posted had removed the radio img because of some sort of violation), and gapps zip is gapps-passion-ERE36B-2-signed.
Still having the bootloop problem. I tried to find the most updated versions of everything I could. Is there a compatibility issue somewhere?
Another thought:
Do I need to flash the su zip from my sdcard in recovery? I don't know what that will do, so I haven't tried it yet.
There are a couple of files that Amon-RA suggests I delete in order to prevent calling the stock recovery:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
Any idea how I can check for and delete these using fastboot via mac terminal?
You can't delete them from fastboot. Use fastboot to boot off the new recovery and delete them in there through adb.
Code:
fastboot boot recovery "c:\location\to\recovery.img"
Can you be more specific? I use fastboot to flash the recovery image, and when I'm in recovery on the phone, I use adb from my computer? Or I can access a command line in the phone?
Well, you use fastboot to flash the recovery. Then you use the command I posted below so you can boot directly into that recovery. Once in there, you use adb on the computer to go into the phone, mount the system partition (which can be done under the mounts and storage menu in recovery) and then find those files and remove them.
But you really only need to delete those files if you want to stay running stock Android. If you have a custom recovery on the phone, that is all you need to install CM, and CM doesn't contain the files that revert the recovery back to stock.
Just got it to work. It was, in fact, a compatibility issue. The gapps zip was for a different version. I found a different zip (for Gingerbread) at: http://goo-inside.me/gapps. If you have Gingerbread, choose a zip with gb in the name.

How to root wellcom a99 without usb cable?

because usb port of my phone not working, its only charging. How to root my phone without connect it to pc? (like z4root.apk, I've try z4root and gingerbreak but it doesnt work) Anything help?
I think a preroot rom which can be flash with stock recovery does it so anybody make for me a preroot rom like firmware.nb0 so i can try it by stock recovery pleasezz!
dtbang721 said:
because usb port of my phone not working, its only charging. How to root my phone without connect it to pc? (like z4root.apk, I've try z4root and gingerbreak but it doesnt work) Anything help?
I think a preroot rom which can be flash with stock recovery does it so anybody make for me a preroot rom like firmware.nb0 so i can try it by stock recovery pleasezz!
Click to expand...
Click to collapse
hi
if u have CWM then down load the RC2 put it on root of ur SD
and flash it via CWM RC2 is pre rooted
dtbang721 said:
because usb port of my phone not working, its only charging. How to root my phone without connect it to pc? (like z4root.apk, I've try z4root and gingerbreak but it doesnt work) Anything help?
I think a preroot rom which can be flash with stock recovery does it so anybody make for me a preroot rom like firmware.nb0 so i can try it by stock recovery pleasezz!
Click to expand...
Click to collapse
refer to this thread
http://forum.xda-developers.com/showthread.php?t=1268695
parrkhi had explaind it well
or else go to this thread directly
http://forum.lowyat.net/topic/1985476
here loock down for the clockwork mode method
u can download these zip files directly to ur phone jst keep them in root folder
Always click thankx if u find it useful
here is the mediafire link for .zip files that u need for all this work.
http://www.mediafire.com/?evfo2dlq9m92w
go to this link download file ( i consider u have cwm already installed on your phone) if u dont have cwm dont worry give it a try in this link u will find a .zip file named as recovery,..zip jst rename it to update.zip and install it from recovery menu// u can also give this update thing a try with the su.zip files file are main for rooting
Thanks for reponse. But I mention that my phone cant connect to pc, I've tried it alot, I cant connect my phone to pc in download mode so I cant instant cwm. everything I can try is self root apk or flash a rooted rom with base stock recovery.
okk if u cant flash cwm then its quite troubling
if ur usb dosn't work why don't u rush to the service center they will solve this problem in say 15 to 20 mins... better go there and get it serviced ...
Not possible yet without getting it in download mode...
dtbang721 said:
Thanks for reponse. But I mention that my phone cant connect to pc, I've tried it alot, I cant connect my phone to pc in download mode so I cant instant cwm. everything I can try is self root apk or flash a rooted rom with base stock recovery.
Click to expand...
Click to collapse
vibhor15 said:
Not possible yet without getting it in download mode...
Click to expand...
Click to collapse
Well you can do that. I mean you can install CWM recovery without connecting your device via USB.
If you can download CWM recovery or Recovery menu directly on your device, follow these instructions.
Extract recovery.img file from downloaded zip file.
Keep it in sdcard's root directory. (/sdcard/recovery.img)
Now copy following commands and save it as Install_recovery.sh in your sdcard's root directory
Code:
#!/system/bin/sh
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv /sdcard/fih/image/recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
And use any script manager or Terminal emulator to run this file.
Using terminal emulator:
Code:
cd /sdcard/
sh Install_recovery.sh
Now boot into recovery. You should boot into new recovery.
P.S. Similar How-To is also posted in a thread: Restoring stock recovery: (without Download mode). I have just modified it a bit.
Thanks! I'll give it a try. But does Script manager and terminal emulator is a apk that i can install and use to run the command saved in Install_recovery.sh?
So that I run terminal emulator apk and type
"cd /sdcard/
sh Install_recovery.sh" ?
ok. I've tried but the emulator report errors. I think I must have rooted phone to install cwr with your solution. The error is
$ export PATH=/data/local/bin:$PATH
$ cd /sdcard/sh install_recovery.sh
cd: bad substitution
$ cd /sdcard/
$ sh install_recovery.sh
, Invalid argumentsdcard/fih
mount: No such file or directory
cd: can't cd to /sdcard/fih/image/
failed on '/sdcard/fih/image/recovery.img' - No such file or directory
cd: can't cd to /
failed.
rm failed for /sdcard/fih/, No such file or directory
$
So how do I get cwr on my phone to root it via cwr method?
dtbang721 said:
ok. I've tried but the emulator report errors. I think I must have rooted phone to install cwr with your solution. The error is
$ export PATH=/data/local/bin:$PATH
$ cd /sdcard/sh install_recovery.sh
cd: bad substitution
$ cd /sdcard/
$ sh install_recovery.sh
, Invalid argumentsdcard/fih
mount: No such file or directory
cd: can't cd to /sdcard/fih/image/
failed on '/sdcard/fih/image/recovery.img' - No such file or directory
cd: can't cd to /
failed.
rm failed for /sdcard/fih/, No such file or directory
$
So how do I get cwr on my phone to root it via cwr method?
Click to expand...
Click to collapse
Oh yes! I forgot.
Will try to come up with an answer as soon as possible.
Sent from my CSL-MI410 using XDA App
dude ... do you have a memory card reader ...???
if u have a card reader then jst remove ur card from phone plug into pc copy all the files i.e cwm recovery update.zip and su.zip
[Installation Instructions]
[Using CWM recovery]​
Copy CWM recovery-fb0-v5_signed.zipin sdcard
Boot into recovery (Steps are given below for how-to-boot-into-recovery)
Use "install zip from sdcard" option
Locate and choose CWM recovery-fb0-v5_signed.zip from sdcard for instllation
After installation reboot into recovery (advanced > Reboot recovery)
i suggest rename the .zip file to update.zip
and then follow rooting instruction
I mean that I've got a stock rom without root. So I havent CWM recovery installed on my phone.
My usb hub on my phone has broken and the phone waranty service not avainable in my country so I need a root solution without usb connecting.
As I know I need rooted phone first to install CWM recovery. Or I need a method to install CWM recovery by stock recovery.
I also try to flash back to 2.2 froyo version to root my phone by gingerbreak apk but not successed. When I try to flash any stock rom 2.2 or 2.3.4 the stock recovery allways report error and didnt worked. The error that stock recovery say is:
Enter lauch_image_update
Prepare failed rc= -209
PID doesnt match!
You cant download this nb0
Some error during preparing
So now I cant do anything with stock recovery only hardreset can done. No flash firmware.nb0 rom no update the update.zip
And when I try to flashing update.zip (CWM recovery-fb0-v5_signed_2.zip I renamed it to update.zip) stock recovery say error that:
verifying update package
E:signature verification failed
dtbang721 said:
I mean that I've got a stock rom without root. So I havent CWM recovery installed on my phone.
My usb hub on my phone has broken and the phone waranty service not avainable in my country so I need a root solution without usb connecting.
As I know I need rooted phone first to install CWM recovery. Or I need a method to install CWM recovery by stock recovery.
I also try to flash back to 2.2 froyo version to root my phone by gingerbreak apk but not successed. When I try to flash any stock rom 2.2 or 2.3.4 the stock recovery allways report error and didnt worked. The error that stock recovery say is:
Enter lauch_image_update
Prepare failed rc= -209
PID doesnt match!
You cant download this nb0
Some error during preparing
So now I cant do anything with stock recovery only hardreset can done. No flash firmware.nb0 rom no update the update.zip
And when I try to flashing update.zip (CWM recovery-fb0-v5_signed_2.zip I renamed it to update.zip) stock recovery say error that:
verifying update package
E:signature verification failed
Click to expand...
Click to collapse
There is still one option left.
You can create your own nb0 file (since thats the only option working), which has cwm recovery and rooted ROM.
Right now i am away from my work place so cant help you till next monday.
Sent from my CSL-MI410 using XDA App
I'm right here waitting!
dtbang721 said:
I'm right here waitting!
Click to expand...
Click to collapse
napstar is right make ur own .nb0 i m working on it too still no success having boot loops with usb when i flash it ... dont know why nd don't have plenty of time to log cat the problem ...
kshitij_bhatt said:
napstar is right make ur own .nb0 i m working on it too still no success having boot loops with usb when i flash it ... dont know why nd don't have plenty of time to log cat the problem ...
Click to expand...
Click to collapse
I have another android ( x10 mini pro) and I know that we can make a backup by stock recovery or cook a rom for flashing by stock recovery. But before public the rom the deverloper have to tested it because bootloop is the problem of flashing rom. So before flashing new rom we need do a hardreset and after flashing rom we also need a hard reset to solve boot looping problem.
because of brocken usb hub on my phone. I need tested before flashing. :'(
the test is:
1 make a nb0 file from a phone that working good.
2 try to flash nb0 by stock recovery to another phone to confirm that nb0 work good for all phone.
3 Note that some rom is working realy good for some phone but can make bootloop for another phone because of different keynell they are ussing or we dont make factory reset and do a wipe data and cache also get bootloop problem
nanana its not beautyfull life.
My First post...
dtbang721 said:
nanana its not beautyfull life.
Click to expand...
Click to collapse
Hi...
Are you sure that your phone has this usb problem? Not the usb cable?
I've an experienced with usb cable which has problem to connect, then I use blackberry usb data cable, then it works. My problem is the cable can't powered enough the phone to make data connection.
OR... you can flash Andro-ID RC1 first before other ROMs, which Andro-ID RC1 is the nb0 file (may be you can flashed it using stock recovery) and this RC1 is pre rooted and it has CWM recovery in it. Then you can use CWM to flash other zip based ROMs, including to update CWM it self to a newer version.
Hope it help....
Sorry if I missed understood of your problem! If you want to stay on WellCom 2.3.4 and rooted unwired, someone has to make update.zip with the su+superuser.apk and signed with appropriate key (FIH)
CacingKalung said:
Hi...
Are you sure that your phone has this usb problem? Not the usb cable?
I've an experienced with usb cable which has problem to connect, then I use blackberry usb data cable, then it works. My problem is the cable can't powered enough the phone to make data connection.
OR... you can flash Andro-ID RC1 first before other ROMs, which Andro-ID RC1 is the nb0 file (may be you can flashed it using stock recovery) and this RC1 is pre rooted and it has CWM recovery in it. Then you can use CWM to flash other zip based ROMs, including to update CWM it self to a newer version.
Hope it help....
Sorry if I missed understood of your problem! If you want to stay on WellCom 2.3.4 and rooted unwired, someone has to make update.zip with the su+superuser.apk and signed with appropriate key (FIH)
Click to expand...
Click to collapse
yes. that's my problems. Ill try to flash rc1. may be the problem is my usb cable. but i have not got any blackberry cable. I just have a stock cable and a sony erricson cable and a nokia cable. but none of them work.
CacingKalung said:
Hi...
Are you sure that your phone has this usb problem? Not the usb cable?
I've an experienced with usb cable which has problem to connect, then I use blackberry usb data cable, then it works. My problem is the cable can't powered enough the phone to make data connection.
OR... you can flash Andro-ID RC1 first before other ROMs, which Andro-ID RC1 is the nb0 file (may be you can flashed it using stock recovery) and this RC1 is pre rooted and it has CWM recovery in it. Then you can use CWM to flash other zip based ROMs, including to update CWM it self to a newer version.
Hope it help....
Sorry if I missed understood of your problem! If you want to stay on WellCom 2.3.4 and rooted unwired, someone has to make update.zip with the su+superuser.apk and signed with appropriate key (FIH)
Click to expand...
Click to collapse
dtbang721 said:
yes. that's my problems. Ill try to flash rc1. may be the problem is my usb cable. but i have not got any blackberry cable. I just have a stock cable and a sony erricson cable and a nokia cable. but none of them work.
Click to expand...
Click to collapse
Thats a good option. I thought you have already tried it and received an error saying "### ID mismatch"
Anyway if you have not downloaded it yet, then I have one other option for you. I have created an nb0 file which contains only CWM recovery and nothing else.
This file will install Recovery menu v2 which includes both CWM and stock recovery and no system files/data files.
To install, download attached file to your device and extract firmware.nb0 file from it. (For zip file extraction, you can use ES_explorer).
And then install it using your stock recovery.
After installation system will boot in your current ROM. Reboot into recovery and you will find recovery menu instead of stock.
Disclaimer: I am not an expert in creating nb0 file. Here I have just deleted all unnecessary files from stock nb0 file and replaced recovery image with recovery menu's image. So far this works on my device. I have tried it installing when I am on stock ROM. (Though it was not necessary)
I am not to be held liable/responsible if you damage your phone by following / not following this post.
MD5SUM hash code:
0b72eea3bc419bc66d64173df193a915 firmware.nb0

[Q] [CWM Manager][Help needed][Flash Stock firmware option]

CWM Manager has the ability to flash firmware parts either from separate files (zImage, factoryfs.img, etc) or from .tar / .tar.md5 files that they usually come packaged in.
- Download the firmware you want to flash
- If you have a ZIP or RAR file, extract it until you have seperate files, or .tar / .tar.md5 files
- Create a folder named 'firmware' on your external SD card
- Copy the files you want to flash to this folder ( /sdcard/external_sd/firmware ). factoryfs ("system") is mandatory part at the moment.
- TIP: If you are flashing a new firmware that already has a CF-Root kernel available, put it in the 'firmware' folder as well in zImage or .tar form (NOT .zip). Select it when asked which kernel to use, then use the "Flash normally" option later on.
- Open the CWM Manager app
- Select "Flash stock firmware"
Click to expand...
Click to collapse
Is what im following. I have the RocketRom files extracted into the internal SD card /external_sd/firmware folder and one on the external SD card with the folder firmware. The rocketRom zip had META-INF - system - modem.bin - zImage. But when i click on Flash stock firmware it says it cant find anything. Did i do something wrong? Or actually im not sure what im doing wrong.
Thanks for any help!
Renren1403 said:
Is what im following. I have the RocketRom files extracted into the internal SD card /external_sd/firmware folder and one on the external SD card with the folder firmware. The rocketRom zip had META-INF - system - modem.bin - zImage. But when i click on Flash stock firmware it says it cant find anything. Did i do something wrong? Or actually im not sure what im doing wrong.
Thanks for any help!
Click to expand...
Click to collapse
Stock firmware is always .tar files, Rocket ROM is .zip file..
Put the whole Rocket ROM .zip folder in your sd card (do not unzip it), open Mobile Odin and choose flash update zip and then choose RocketRom.zip
EDIT: or you can just put the zip in your sd card, reboot into recovery, choose install zip from sd card and then reboot system
Thanks i tried that. But when it rebooted everything looked the same. Is that what the rocketrom looks like?
matius44 said:
Stock firmware is always .tar files, Rocket ROM is .zip file..
Put the whole Rocket ROM .zip folder in your sd card (do not unzip it), open Mobile Odin and choose flash update zip and then choose RocketRom.zip
EDIT: or you can just put the zip in your sd card, reboot into recovery, choose install zip from sd card and then reboot system
Click to expand...
Click to collapse
but if i use recovery wont it increase my counter?
Renren1403 said:
but if i use recovery wont it increase my counter?
Click to expand...
Click to collapse
No, recovery and mobile odin will not increase your flash counter
Flash counter will increase only if you flash custom firmware using PC Odin
Renren1403 said:
Thanks i tried that. But when it rebooted everything looked the same. Is that what the rocketrom looks like?
Click to expand...
Click to collapse
Rocket ROM is stock-like custom ROM so yes it will look the same
Go to Settings > about phone and check
Thank you so much for your help.. The official CF posts for flashing ROMs are so confusing and such. Thanks for clearing it out for me +1
matius44 said:
Rocket ROM is stock-like custom ROM so yes it will look the same
Go to Settings > about phone and check
Click to expand...
Click to collapse
I just did it via recovery mode, the animation starts then goes to a black screen. Is it rebuilding its cache?
Renren1403 said:
I just did it via recovery mode, the animation starts then goes to a black screen. Is it rebuilding its cache?
Click to expand...
Click to collapse
Did the flash went successfully?
Try to reboot couple of times, that might help..
If not, reboot to recovery, do cache and dalvik wipe..
If not, try to reboot into recovery and do factory reset/data wipe/cache/dalvik wipe and reboot..you will lose your data this way
matius44 said:
Did the flash went successfully?
Try to reboot couple of times, that might help..
If not, reboot to recovery, do cache and dalvik wipe..
If not, try to reboot into recovery and do factory reset/data wipe/cache/dalvik wipe and reboot..you will lose your data this way
Click to expand...
Click to collapse
It didnt say any errors when installing so it shouldve of went fine.
Im doing a cache wipe. and it just went to a black screen after "calling all speed demons"
Ill doo a factory wipe then and get back to you. Thanks for your help so far!
I re did the whole process this time. And it still goes black after "calling all speed demons". Should i wait during this time? In the s2 forums i read about it going like this because it is building cache or something along those lines.
I judt reread the whole RM thread. I didnt read the "flash 22 first" bit. Ill do that and hope it works that time ><!

Where do radio and kernel come from flashing img's?

I know how to fastboot flash .img files and understand it includes the radio and kernel components. I'm rooted and have TWRP recovery. But which .img file contains the radio and which the kernel? I ask because I'll be going from the latest T-Mo rom (LYZ28J) to Project Fi having just received my sim. If I flash just the system.img from LYV48E (Fi rom) will I have the correct kernel and radio or will I have to flash boot.img also or something else? Since kernels and radios can be flashed separately I'm just not sure where everything comes from. I would appreciate some clarity.
Groid said:
I know how to fastboot flash .img files and understand it includes the radio and kernel components. I'm rooted and have TWRP recovery. But which .img file contains the radio and which the kernel? I ask because I'll be going from the latest T-Mo rom (LYZ28J) to Project Fi having just received my sim. If I flash just the system.img from LYV48E (Fi rom) will I have the correct kernel and radio or will I have to flash boot.img also or something else? Since kernels and radios can be flashed separately I'm just not sure where everything comes from. I would appreciate some clarity.
Click to expand...
Click to collapse
have you ever unzipped a factory.img .tar file to see what files it contains?
Groid said:
I know how to fastboot flash .img files and understand it includes the radio and kernel components. I'm rooted and have TWRP recovery. But which .img file contains the radio and which the kernel? I ask because I'll be going from the latest T-Mo rom (LYZ28J) to Project Fi having just received my sim. If I flash just the system.img from LYV48E (Fi rom) will I have the correct kernel and radio or will I have to flash boot.img also or something else? Since kernels and radios can be flashed separately I'm just not sure where everything comes from. I would appreciate some clarity.
Click to expand...
Click to collapse
simms22 said:
have you ever unzipped a factory.img .tar file to see what files it contains?
Click to expand...
Click to collapse
If I were a betting man, I'd be backing the horse called "Wish I'd done that before posting"
Tiptonian said:
If I were a betting man, I'd be backing the horse called "Wish I'd done that before posting"
Click to expand...
Click to collapse
Hahaa. Unzip and you shall receive. LMAO
simms22 said:
have you ever unzipped a factory.img .tar file to see what files it contains?
Click to expand...
Click to collapse
Not sure what you mean by this. I have the system, boot, recovery, and userdata .img files. I don't know which one has the kernel or which one has the radio. You imply I can unzip, for example, system.img to see what files are there, but I cannot unzip it or any of the .img files. My main question still is unanswered which is which .img files do I need to (m)fastboot flash to insure I have the correct (stock) kernel and radio for the Project Fi rom? I may just flash them all, flash TWRP, re-root and start clean, but I wanted to consider the option of keeping data. Any helpful answers?
Tiptonian said:
If I were a betting man, I'd be backing the horse called "Wish I'd done that before posting"
Click to expand...
Click to collapse
prdog1 said:
Hahaa. Unzip and you shall receive. LMAO
Click to expand...
Click to collapse
So glad my post was such a source of amusement for you. Sorry I didn't make it clear I know how download factory images, unzip the .tgz file to get the .tar file. Unzip the .tar file to get to the .zip file. Unzip the .zip file to get the boot, recovery, system, and userdata .img files. But no one actually tried to answer my question.
Groid said:
So glad my post was such a source of amusement for you. Sorry I didn't make it clear I know how download factory images, unzip the .tgz file to get the .tar file. Unzip the .tar file to get to the .zip file. Unzip the .zip file to get the boot, recovery, system, and userdata .img files. But no one actually tried to answer my question.
Click to expand...
Click to collapse
kernel is boot.img, radio is radio.img
Thank you for your reply. I suspected boot.img is the kernel but wanted to make sure. I notice that the radio-shamu-. . .02.78.02.img and boot-shamu. . .71.10.img are in the shamu-lvy48e folder in the .tar file with the flash batch files. The enclosed .zip file has the system, boot, userdata, recovery, and cache .img files along with the text file specifying the bootloader (kernel) and baseband (radio). I now understand that the boot.img is the kernel which is the same version my current one in LYZ28J, so I need not flash it. The radio is different based on the android-info.txt file. So, the last piece of the puzzle for me is will I get the updated radio by flashing the system.img or must I separately flash the radio-shamu -. . .-02.78.02.img?
Groid said:
Thank you for your reply. I suspected boot.img is the kernel but wanted to make sure. I notice that the radio-shamu-. . .02.78.02.img and boot-shamu. . .71.10.img are in the shamu-lvy42e folder in the .tar file with the flash batch files. The enclosed .zip file has the system, boot, userdata, recovery, and cache .img files along with the text file specifying the bootloader (kernel) and baseband (radio). I now understand that the boot.img is the kernel which is the same version my current one in LYZ28J, so I need not flash it. The radio is different based on the android-info.txt file. So, the last piece of the puzzle for me is will I get the updated radio by flashing the system.img or must I separately flash the radio-shamu -. . .-02.78.02.img?
Click to expand...
Click to collapse
youll get the updated radio in the factory.img, but you can always flash the radio itsrlf via fastboot(fastboot flash radio radioname.img).
Groid said:
Thank you for your reply. I suspected boot.img is the kernel but wanted to make sure. I notice that the radio-shamu-. . .02.78.02.img and boot-shamu. . .71.10.img are in the shamu-lvy48e folder in the .tar file with the flash batch files. The enclosed .zip file has the system, boot, userdata, recovery, and cache .img files along with the text file specifying the bootloader (kernel) and baseband (radio). I now understand that the boot.img is the kernel which is the same version my current one in LYZ28J, so I need not flash it. The radio is different based on the android-info.txt file. So, the last piece of the puzzle for me is will I get the updated radio by flashing the system.img or must I separately flash the radio-shamu -. . .-02.78.02.img?
Click to expand...
Click to collapse
If have updated SDK will get everything in flash-all.bat. If not and have to do all separate they are all separate. Bootloader, radio, boot, system, cache, userdata. There is no radio in system.img. It is the radio. img. On first unzip get bootloader, radio, flash-all and the folder for the rest of the images. If want radio fastboot flash radio (radio.img).
Thank you for answering my question about whether or not the radio gets updated by flashing system.img. Unfortunately, I cannot get ADB to work properly. I initially seem to have it working with the ADB devices statement from the command prompt, it returns the serial #, but when I try to execute the batch file ADB seems to be disconnected. At least I have experience with (m)fastboot and will just flash the radio and system .imgs since the bootloader is the same. I'll keep TWRP recovery, format cache, update supersu for root and I should be good to go.
Groid said:
Thank you for answering my question about whether or not the radio gets updated by flashing system.img. Unfortunately, I cannot get ADB to work properly. I initially seem to have it working with the ADB devices statement from the command prompt, it returns the serial #, but when I try to execute the batch file ADB seems to be disconnected. At least I have experience with (m)fastboot and will just flash the radio and system .imgs since the bootloader is the same. I'll keep TWRP recovery, format cache, update supersu for root and I should be good to go.
Click to expand...
Click to collapse
well, adb doesnt work in the bootloader, and its only fastboot that can flash those files..
Thanks, I was responding to using adb to sideload with the flash(all).bat. Fastboot works fine for me so I don't really miss using adb commands.

Question I might have bricked my phone, I need help

I am just new to this flashing custom roms or firmware and twrp also. And dumb enough to not back it up.
I wanted to install arrow os in my phone. When I was about to wipe data, cache and dalvik, I accidentally checked metadata also and wiped. Then problems created more problems.
problems right now:
I cant put a file in my storage
Internal Storage is just blank on my pc
No OS
TWRP on both slots
please help me i really needed help and knowledge about it
I hope the attachment helps
EDIT--
Solutions to my problems:
WHEN you softbrick your phone and you only have fastboot and nothing else
Thanks to this guy..
SOLUTION: download your original firmware but choose the fastboot one and not recovery after download just unzip. Double click flash_all.bat and its back to square one.
WHEN you dont know how to flash or the file you have is .img
SOLUTION: find a guide in xda because apparently you can install a .img file in "fastbootd" mode
the guides here: https://forum.xda-developers.com/t/...sues-all-without-any-custom-recovery.4337099/
COMMENT: not the usual thats what on top of youtube search.
WHEN you see errors in twrp/orangefox recovery you might get panic and search for solution.
COMMENT: try to find and use a solution that doesnt delete something first. In my experience it got bricked even more.
Thanks to the people who commented back on my post and helping me get to know what to do next.
Try putting the stock ROM on a SD card or usb (if you have a dongle).
georg3_ said:
Try putting the stock ROM on a SD card or usb (if you have a dongle).
Click to expand...
Click to collapse
SD card that you put on beside the sim? if yes
Do I download stock ROM in official website? Cus I dont have 1 right now
then flashing it there by using twrp? is that how its gonna run? because i really dont wanna assume and create another problem
Try flashing this stock ROM (global) from a SD card, in TWRP. It's a recovery package, so you can install it as any zip.
Also, can you boot into fastboot/bootloader from TWRP?
Plus, where did you get the ArrowOS image? There are no builds, official or not.
georg3_ said:
Plus, where did you get the ArrowOS image? There are no builds, official or not.
Click to expand...
Click to collapse
I found it here
It is made my myst33d and it is a beta build
im getting a sd card right now to test it out
And yes I still can go to fastboot/bootloader from twrp
I cant seem to find my file in twrp... even in file manager
the file is int .tgz must I change it to .zip?
raikiro1 said:
I cant seem to find my file in twrp... even in file manager
Click to expand...
Click to collapse
Is the twrp detecting your sd card?try click on the Install image and change to install zip
can you sideload?
I can now see it, I think I reflashed twrp, now I can, but I cant install because of failed to mount system_root and I have done change file system of data to Ext4. when it resets it comes back to f2fs
edit: change file system of data to Ext4 failed
edit2: thank you guys really for commenting back and helping me
is no verity affecting it? cus I am not able to install it now
you should format data and put the arrow build in it, maybe it will work
J6idot said:
you should format data and put the arrow build in it, maybe it will work
Click to expand...
Click to collapse
I have changed the data to Ext4, fomarted, wiped again the data,dalvik and cache
I have a Redmi Note 10S Rosemary from xiaomiupdater but I still cannot install the rom cus there is a error " Error installing zip file /sdcard1/thefile."
I tried to install no verity opt encrypt but failed and says updater process ended with ERROR: 1
Error installing zip file "sdcard1/thefile"
raikiro1 said:
I cant seem to find my file in twrp... even in file manager
the file is int .tgz must I change it to .zip?
Click to expand...
Click to collapse
Must change it to zip.
EDIT: Extract the file, there's a zip or img inside.
raikiro1 said:
I have changed the data to Ext4, fomarted, wiped again the data,dalvik and cache
I have a Redmi Note 10S Rosemary from xiaomiupdater but I still cannot install the rom cus there is a error " Error installing zip file /sdcard1/thefile."
I tried to install no verity opt encrypt but failed and says updater process ended with ERROR: 1
Error installing zip file "sdcard1/thefile"
Click to expand...
Click to collapse
Try to sideload it, maybe it'll work.
georg3_ said:
Must change it to zip.
Click to expand...
Click to collapse
Should have said "extract the file, there's a zip or img inside", don't change the file extension.
Update: I found the guide how to sideload ... just change the Ext4 to F2fs
[Tutorial] TWRP ADB Sideloading
Alternative solution: OTG usb flash drive - With one of these, you can store a ROM zip safely, and still format ‘userdata’ to f2fs or EXT4. TWRP ADB Sideloading Requirements: Mac | Linux | Windows PC / Laptop and TWRP Custom Recovery Moto G...
forum.xda-developers.com
and I was able to sideload it and then got MIUI finally
what worried me is there were still errors like system_root, vendor and product... and its running fine now I guess but im back on track to make it to arrow OS.... I hope no mistakes this time like deleting metadata.
Thank you all who replied to this post , I really do. Thank you
raikiro1 said:
Update: I found the guide how to sideload ... just change the Ext4 to F2fs
[Tutorial] TWRP ADB Sideloading
Alternative solution: OTG usb flash drive - With one of these, you can store a ROM zip safely, and still format ‘userdata’ to f2fs or EXT4. TWRP ADB Sideloading Requirements: Mac | Linux | Windows PC / Laptop and TWRP Custom Recovery Moto G...
forum.xda-developers.com
and I was able to sideload it and then got MIUI finally
what worried me is there were still errors like system_root, vendor and product... and its running fine now I guess but im back on track to make it to arrow OS.... I hope no mistakes this time like deleting metadata.
Thank you all who replied to this post , I really do. Thank you
Click to expand...
Click to collapse
no problem next time installing, stick to sideloading, less room for error
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
raikiro1 said:
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
Click to expand...
Click to collapse
A12 shouldn't be a problem.
Probably you should flash another vbmeta.img.
OR
I don't know if there is an .img twrp around, but if there is you can:
Code:
fastboot boot {recovery.img}
and then [Advanced]>[Install Recovery Ramdisk].
raikiro1 said:
I cant seem to install TWRP recovery again it justs bootloop .. I dont know why anybody knows?
Whenever I fastboot boot twrp3.6.1-rosemary it fails, says too many links, and when I fastboot reboot recovery it boot loops
flashboot flash boot twrprosemary says okay in slot A and I even put it to B and flash it there sadly
the problem might be because its A12 ... just an update
Click to expand...
Click to collapse
what vbmeta are you using?

Categories

Resources