I would like to try flashing the stock bell rom back on my phone but I never backed it up initially.
I've been having Bluetooth music issues with both kernelpanics and ho!no!s roms so I have to get stock to test if its the phone or just the roms while its still in warranty.
Thanks guys!!
Sent from my LG-P930 using XDA
EDIT:
Found stock system.img
What are the ADB commands to flash the file to my phone?
Bump for new topic. Found System.img of stock bell canada rom
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
Epyoch said:
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
Click to expand...
Click to collapse
when I type SU in, it says /sbin/sh: su: not found
and if i try dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
it gives me dd: can't open '/sdcard/system.img': No such file or directory
Okay, first, in CWM, you don't need to su for root permissions, your ADB shell has them. Second, if you haven't copied your file to the root level of your sdcard and if your file isn't named "system.img" exactly, that command will fail. I'll leave it to you to figure out how to move/rename your system.img file accordingly lol
Edit, it just occurred to me you might be having the garbled sdcard problem where it will spit out garbage if you type in the "ls" command in ADB. The solution has been posted by kernelpan1c, but first let us know what the output of ls is if you're sure your system.img is in the root level of your sdcard.
Malnilion said:
Okay, first, in CWM, you don't need to su for root permissions, your ADB shell has them. Second, if you haven't copied your file to the root level of your sdcard and if your file isn't named "system.img" exactly, that command will fail. I'll leave it to you to figure out how to move/rename your system.img file accordingly lol
Edit, it just occurred to me you might be having the garbled sdcard problem where it will spit out garbage if you type in the "ls" command in ADB. The solution has been posted by kernelpan1c, but first let us know what the output of ls is if you're sure your system.img is in the root level of your sdcard.
Click to expand...
Click to collapse
I already used ADB to push system.img to my phone's SDCard root directory.
Are you suggesting that I reformat my SDCard through windows?
I just realized that I am lacking the boot.img of the stock bell ROM. system and boot are the two that are absolutely necessary to get the phone working correct?
Which rom are you coming from? If it's a Nitro rom/kernelpan1c's rom, you shouldn't have to flash boot.img.
Yeah, according to kernelpan1c, there is something weird going on with the way our sdcard is formatted. After formatting it in Windows he says it should work just fine in the CWM flashed by Rom Manager (I haven't tested it myself, but I'm sure he's correct). I really want to know what is making the Rom Manager CWM unable to read it where bytecode64's CWM can read it just fine...
Malnilion said:
Which rom are you coming from? If it's a Nitro rom/kernelpan1c's rom, you shouldn't have to flash boot.img.
Yeah, according to kernelpan1c, there is something weird going on with the way our sdcard is formatted. After formatting it in Windows he says it should work just fine in the CWM flashed by Rom Manager (I haven't tested it myself, but I'm sure he's correct). I really want to know what is making the Rom Manager CWM unable to read it where bytecode64's CWM can read it just fine...
Click to expand...
Click to collapse
I think I'll be using HO!NO!'s rom as a base for the boot.img, since he has a bell optimus LTE, not the AT&T phone. I'm assuming that he hasn't made any changes to the boot partition, since no custom kernel development has occurred for this phone yet.
I found a so called legit CWM backup of the BELL rom, in one of the lu6200 threads, http://forum.xda-developers.com/showthread.php?t=1472501
but recovering the backup only hangs on the LG logo. I did a "advanced restore" and restored only the system and boot files but that didn't get past the logo either...
It booted after an advanced restore with the "stock" system(from that thread) and the boot (from HONO's), but the WIFI wouldn't start, it said error.
Where did you get your stock bell system.img? and can you provide it?
hereric said:
when I type SU in, it says /sbin/sh: su: not found
and if i try dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
it gives me dd: can't open '/sdcard/system.img': No such file or directory
Click to expand...
Click to collapse
Mount sdcard in recovery.
After you enter adb shell
"mount /sdcard" (without quotations)
Then use the command "dd if=/sdcard/system.img of=/dev/block/mmcblk0p27"
Here is a link to the .img files. You can flash them using adb, but you will lose CWM. I am posting these in the hope that it will help someone who knows a little bit more about bootloader security and whatnot to make a CWM-compatible version.
The stock files are Here
Extract files to root of SD card, enable USB debugging and PC Software mode (if on LG rom)
Run the following from windows command prompt:
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
Restart,
Congrats, you've got the latest Bell release for the P930.
Got it rooted using this guide: http://forum.xda-developers.com/showthread.php?t=1835946
Used Rom Manager to install CWM.
Whenever I try to boot into CWM, i get the following error:
-------------------------------------------
Secure Booting Error
Cause : boot certification verify
-------------------------------------------
---------------------------------------------------
Enter the fastboot...
Enter the fastboot...
Long time no see!
---------------------------------------------------
Click to expand...
Click to collapse
The ROM boots though, and has root access. Superuser works, and I am currently using titanium backup to delete the massive amounts of bloatware present in the rom.
I have attempted to flash recovery.img with CWM on it, but the error persists.
Anyone have any ideas as to how we can get around this error?
Click to expand...
Click to collapse
hereric said:
Anyone have any ideas as to how we can get around this error?
Click to expand...
Click to collapse
You must downgrade to GB before you can install CWM properly.
I just wonder if it works if you just load boot.img and system.img with adb.
abc001 said:
I just wonder if it works if you just load boot.img and system.img with adb.
Click to expand...
Click to collapse
You're welcome to try. I am too busy today, and I have started getting random reboots, so I'm switching back to Liquid Nitro.
Because I cannot post in the dev forum I write it here:
I tried to reset my flash counter and binary status according to:
http://forum.xda-developers.com/showthread.php?p=38116366#post38116366
Plattform: Leaked JB, Android 4.1.2
I've rooted the phone and installed CWM 6. I tried to apply the zip in CWM but got Signature verification failed.
The easiest way for me was to do it directly on a ssh console (I used SSH Droid Pro): I unzipped the file from the post linked above and entered the following commands on a root ssh console:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
dd if=02.hex of=/dev/block/mmcblk0 bs=1 count=1 seek=3145736
Works perfectly and is quite easy!
ace2-user said:
Because I cannot post in the dev forum I write it here:
I tried to reset my flash counter and binary status according to:
http://forum.xda-developers.com/showthread.php?p=38116366#post38116366
Plattform: Leaked JB, Android 4.1.2
I've rooted the phone and installed CWM 6. I tried to apply the zip in CWM but got Signature verification failed.
The easiest way for me was to do it directly on a ssh console (I used SSH Droid Pro): I unzipped the file from the post linked above and entered the following commands on a root ssh console:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
dd if=02.hex of=/dev/block/mmcblk0 bs=1 count=1 seek=3145736
Works perfectly and is quite easy!
Click to expand...
Click to collapse
You can try Triangle Away 2.90
I thinks it work fine and is very rasy
This Guide Is Not Developed by me.
I Collect This Guide From Anotherone
This Guide Is Working 100% With The easiest way.....
Prerequierd:-
*Your Phone must be rooted.
*Terminal Emulator or other terminal app Installed
*Any File Exploler
Procced:-
Launch Terminal Emulator
Type This simple Command
COMMAND:- ____________________________________
su (Hit enter)
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img bs=4096 (Hit enter)
____________________________________
Done!!! :thumbup: Goto Sdcard and See your boot.img...
If You Want To Extract Recovery.img
Use this command
COMMAND:-
____________________________________
Su
dd if=/dev/block/mmcblk0p6 of=/sdcard/recovery.img bs=4096
____________________________________
if This Guide Will work For you Hit Thanks :thumbup: Button
Hi, i just want to ask regarding the recovery .img if is possible to flash it using custom recovery like twrp or cwm? i mean the one that you will see in the sd card you mention after doing the procedure in terminal emulator.
thanks
Sent from my Cloudfone GEO 402q using XDA Free mobile app
You can flash this recovery using Img Flash tool , Mobile uncle tool
Ok, next question...
Ok, so now that i have my boot image and recovery on my sd card, my device is the sm-t217a, now freshly rooted using the KingRoot 4.5 apk, busybox install, Supersume method. My bootloader is a locked bootloader. Im fairly new doing these things, so could you give me a hand holding guide to unlocking the bootloader if this will work for my situation.
Can i use Terminal Emulator to do this step : su
dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
reboot recovery. Im rooted and unlocked BL
cell2011 said:
Can i use Terminal Emulator to do this step : su
dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
reboot recovery. Im rooted and unlocked BL
Click to expand...
Click to collapse
Maybe yes.