[Q] Need unmodified JWR66Y build.prop file - Nexus 4 Q&A, Help & Troubleshooting

Hello,
I kind of messed up with my nexus 4's build.prop file and forgot to back up
Will someone be kind enough and upload their unmodified build.prop file (JWR66Y).
Thanks.

avi619 said:
Hello,
I kind of messed up with my nexus 4's build.prop file and forgot to back up
Will someone be kind enough and upload their unmodified build.prop file (JWR66Y).
Thanks.
Click to expand...
Click to collapse
Go to https://developers.google.com/android/nexus/images and download the 4.3 factory image, then extract the build.prop file

Desno365 said:
Go to https://developers.google.com/android/nexus/images and download the 4.3 factory image, then extract the build.prop file
Click to expand...
Click to collapse
How do I extract the .img file? 7zip does not seem to work.

avi619 said:
How do I extract the .img file? 7zip does not seem to work.
Click to expand...
Click to collapse
I forgot the img file sorry.
I will upload it for you, wait a moment

Desno365 said:
Go to https://developers.google.com/android/nexus/images and download the 4.3 factory image, then extract the build.prop file
Click to expand...
Click to collapse
Desno365 said:
I forgot the img file sorry.
I will upload it for you, wait a moment
Click to expand...
Click to collapse
I found a tool here and extracted the image via linux reader. Replaced the build.prop file and when I restarted my phone it went completely blank.
The google logo also did not show. I think I bricked it

avi619 said:
I found a tool here and extracted the image via linux reader. Replaced the build.prop file and when I restarted my phone it went completely blank.
The google logo also did not show. I think I bricked it
Click to expand...
Click to collapse
Don't worry you didn't brick it, how do you replace the build.prop file?

Desno365 said:
Don't worry you didn't brick it, how do you replace the build.prop file?
Click to expand...
Click to collapse
ES File Manager. My phone is rooted.

avi619 said:
ES File Manager. My phone is rooted.
Click to expand...
Click to collapse
Did you set the correct permissions (rw-r--r--)? Maybe this is the problem.
If your phone doesn't boot, restore a nandroid backup or flash a ROM

Desno365 said:
Did you set the correct permissions (rw-r--r--)? Maybe this is the problem.
If your phone doesn't boot, restore a nandroid backup or flash a ROM
Click to expand...
Click to collapse
No I did not set those permissions. Just replaced the build.prop file. I don't know what nandroid backup is but I have TWRP installed.
PS: The phone is still on the blank screen.

avi619 said:
No I did not set those permissions. Just replaced the build.prop file. I don't know what nandroid backup is but I have TWRP installed.
PS: The phone is still on the blank screen.
Click to expand...
Click to collapse
If you have a ROM in sdcard flash it, if you haven't you have to flash a ROM with adb sideload or a factory image with fastboot (the factory image will erase your data!)

Desno365 said:
If you have a ROM in sdcard flash it, if you haven't you have to flash a ROM with adb sideload or a factory image with fastboot (the factory image will erase your data!)
Click to expand...
Click to collapse
Thanks, I m going to flash 4.4 stock rom from http://forum.xda-developers.com/showthread.php?t=2535728

Alright, quick update:
I used adb sideload to flash the rom from my above post. Worked like a charm, and I have Kitkat running with root. Also, no data was lost.
First thing I am gonna do now is backup my build.prop and data
Thanks for the help.
Cheers.

avi619 said:
Alright, quick update:
I used adb sideload to flash the rom from my above post. Worked like a charm, and I have Kitkat running with root. Also, no data was lost.
First thing I am gonna do now is backup my build.prop and data
Thanks for the help.
Cheers.
Click to expand...
Click to collapse
Great!

I made the same mistake before, when I hide the softkeys
just for reference, you could have fixed it easily, just by using TWRP's File manager:
1. Mount System
2. Replace with the original Build.prop inside the system directory
3. Click the file -> Change file permissions chmod 775

Related

[Q] Shot self in foot, edited build.prop now N7 won't boot

I was testing tablet UI mode by editing the /system/build.prop file. The N7 went into Tablet UI mode OK but I didn't like it so I reedited the /system/build.prop file to undo my edits, and now the N7 doesn't boot properly. It goes to a black screen and just sit there.
I can boot into recovery and I can get adb to work. I used the pull command to get a copy of the build.prop file and it seems OK but I'm not 100% sure if I made any other edits by mistake. Of course like a fool I didn't make a backup of the original.
Can anyone make some suggestions on how to fix my N7?
Thanks.
lbloo said:
I was testing tablet UI mode by editing the /system/build.prop file. The N7 went into Tablet UI mode OK but I didn't like it so I reedited the /system/build.prop file to undo my edits, and now the N7 doesn't boot properly. It goes to a black screen and just sit there.
I can boot into recovery and I can get adb to work. I used the pull command to get a copy of the build.prop file and it seems OK but I'm not 100% sure if I made any other edits by mistake. Of course like a fool I didn't make a backup of the original.
Can anyone make some suggestions on how to fix my N7?
Thanks.
Click to expand...
Click to collapse
reflash your ROM. it'll replace your build.prop with a good copy. don't wipe a thing, just reflash.
I'm rooted but on stock. Can I just download a copy of the stock rom and flash that with CWM?
lbloo said:
I'm rooted but on stock. Can I just download a copy of the stock rom and flash that with CWM?
Click to expand...
Click to collapse
rooted stock ROM yea. I've also flashed a pure aosp ROM over stock without any reprocussions.
Before I go ahead and reflash I just want to make sure I'm getting it right. I've downloaded the stock rom, extracted image-nakasi-jro03d.zip. I should push this file to my internal storage, then use CWM to flash? Or should I just find a pure aosp ROM and flash that?
Sorry for all the questions, I just don't want to make things worse.
lbloo said:
Before I go ahead and reflash I just want to make sure I'm getting it right. I've downloaded the stock rom, extracted image-nakasi-jro03d.zip. I should push this file to my internal storage, then use CWM to flash? Or should I just find a pure aosp ROM and flash that?
Sorry for all the questions, I just don't want to make things worse.
Click to expand...
Click to collapse
I don't know what you picked up, but here's a stock/rooted ROM that you can flash in your cwm recovery http://forum.xda-developers.com/showthread.php?t=1776330
Aosp works too, its your choice
if you know how to use adb you can just boot to recovery and push the stock build.prop to your tab
I downloaded a stock copy of the stock build.prop, used the adb push command to push it into /system rebooted and nothing. Still hangs on black screen upon boot.
I then downloaded the stock ROM which simms22 kindly pointed me to, used the adb push command to copy the zip file into /data/media/Firmware, used CWM v6.0.1.0 to "install zip file from sdcard" and I got an error, here is the output:
Installing:/sdcard/Firmware/Nexus7 - JRo03d-Odexed-ROOT_4.1.1_signed.zip
Finding update package...
Opening update package...
Installing update package...
E:Error in /sdcard/Firmware/Nexus7 - JRo03d-Odexed-ROOT_4.1.1_signed.zip
(Status 0)
Installation aborted.
I tried both the Odexed and Deodexed files, both gave same results.
Am I missing a step in the process?
It's working now!
I was afraid I was messing up some of the adb commands so I downloaded the Nexus 7 Toolkit 2.0 (Great tool for someone like me)
- via Toolkit re-transferred the odexed and deodexed ROM files, reflashed, same errors as above
- via Toolkit re-installed CWM Recovery 6.0.1.0, reflashed, same errors as above
- via ADB Shell used CHMOD to modify file rights of the ROM files (stab in the dark), same errors as above
- downloaded stock image from CWM site (JRO03D_grouper.zip), pushed via tool kit, flashed via CWM....WORKED!!!
Everything is as it was before, no need for a full wipe! I'm going to do a backup right now!
Not sure why the other ROMS would not flash, but at this point I'm not going to mess around to try to figure it out.
Many thanks to simms22 and PhxkinMassacre for getting me pointed in the right direction.
prly a bad download.
after pushing the file you need to set the correct mode:
Code:
adb shell chmod 644 /system/build.prop
Me too - also hosed my own build.prop
lbloo said:
- downloaded stock image from CWM site (JRO03D_grouper.zip), pushed via tool kit, flashed via CWM....WORKED!!!
Everything is as it was before, no need for a full wipe! I'm going to do a backup right now!
Click to expand...
Click to collapse
Ok, I did the exact same thing and followed these instructions but haven't had any luck.
First, thanks lbloo and the folks who have responded for all the info here. I have downloaded JRO03D_grouper.zip and I am grateful for the tip to the toolkit.
When I have pushed JRO03D_grouper.zip to the N7, it appears to have worked, but I can't find it on the sdcard. I am pushing from the default location to /sdcard/. I then select "install zip from sdcard" and "choose zip from sdcard" but the only zip there is supersu (from Day 1).
For reference, this is CWM Recovery v 6.0.0.6.
Thanks in advance for any help anyone can offer.
Jack
Looking back I don't recall resetting the file rights after modifying the file and that was likely the root cause of my problems.
You should try the chmod command a couple of posts back.
JackinNC said:
Ok, I did the exact same thing and followed these instructions but haven't had any luck.
First, thanks lbloo and the folks who have responded for all the info here. I have downloaded JRO03D_grouper.zip and I am grateful for the tip to the toolkit.
When I have pushed JRO03D_grouper.zip to the N7, it appears to have worked, but I can't find it on the sdcard. I am pushing from the default location to /sdcard/. I then select "install zip from sdcard" and "choose zip from sdcard" but the only zip there is supersu (from Day 1).
For reference, this is CWM Recovery v 6.0.0.6.
Thanks in advance for any help anyone can offer.
Jack
Click to expand...
Click to collapse
What location did you push it to? /sdcard/?
Sent from my Nexus 7 using xda app-developers app
mvmacd said:
What location did you push it to? /sdcard/?
Click to expand...
Click to collapse
Yes. And, to further test, I created a little zip file called test.zip and pushed it to the tablet. I can see it just fine. It's just the grouper zip that I can't find.
Thanks
Jack
I just noticed a diff in filesize between the JRO03D_grouper.zip file I am using and one shown in a Youtube video entitled "how to put a rom to flash on a semi-bricked nexus 7 with recovery" by Youtube user metroid031993. (I'm too green to post outside links on XDA)
Mine is 261814702 bytes, the one shown in the video is 32650144 bytes.
Perhaps this is my problem, an invalid zip file. What do you think? And, can someone please tell me the correct size of JRO03D_grouper.zip?
Thanks
Jack
[Note to moderator(s): If I am heading off track in this thread, please don't hesitate to move it or to instruct me to create a new thread. I think the issue may have changed, but I have stayed here since this is where the conversation is for my root issue. Thx!]
JackinNC said:
can someone please tell me the correct size of JRO03D_grouper.zip?
Click to expand...
Click to collapse
Not sure what's up with the youtube video you're using, but 261814702 bytes is the correct size.
Visa Declined said:
Not sure what's up with the youtube video you're using, but 261814702 bytes is the correct size.
Click to expand...
Click to collapse
Thanks for the confirmation.
Ok, back to trying to figure out why it doesn't appear in CWM Recovery after I've pushed it...
---------- Post added at 11:19 AM ---------- Previous post was at 10:51 AM ----------
JackinNC said:
Ok, back to trying to figure out why it doesn't appear in CWM Recovery after I've pushed it...
Click to expand...
Click to collapse
Well, I got the grouper zip into /sdcard/ and was able to upgrade without losing anything. w00t!
Theory:
I was in the same adb "session" this time since I was using adb from the command line. Meaning, the daemon was still running from the first push I did. So, while I couldn't see the grouper zip after the first push (consistent with your experience, dark_samus), I could see it and upgrade with it after second push (also consistent). And, perhaps my previous attempts didn't work before because I was closing and opening the Nexus 7 Toolkit each time, therefore stopping and restarting the daemon, which meant that each push attempt was the first attempt for that "session."
I don't have any solid technical basis to support or refute that theory, it's just one possible theory that, if true, would result in the experience I had.
My problem is resolved. Thanks to everyone who contributed to this, I truly appreciate your help!
Jack
simms22 said:
reflash your ROM. it'll replace your build.prop with a good copy. don't wipe a thing, just reflash.
Click to expand...
Click to collapse
how to put the stock image if my n7 doesnt boot to android? pls help
i have CWM already
Either replace the complete system partition using 'fastboot flash',
or, probably less intrusive, boot into recovery mount system partition writeable and push build.prop manually using 'adb push'.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
Either replace the complete system partition using 'fastboot flash',
or, probably less intrusive, boot into recovery mount system partition writeable and push build.prop manually using 'adb push'.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
my bad i already flash a fresh stock rom again, but thanks anyways...

Stock System Dump JSS15J

Here's the stock system dump Stock System Dump JSS15J...
Now that we have root and recovery, I know that some will delete their system files, want to update, and not be able to because they've deleted them.
No worries!
DOWNLOAD HERE
This is NOT a flashable zip file!
If you don't know what to do with this please don't download it, as it will do you no good. Ty.
ATGAdmin said:
Here's the stock system dump Stock System Dump JSS15J...
Now that we have root and recovery, I know that some will delete their system files, want to update, and not be able to because they've deleted them.
No worries!
DOWNLOAD HERE
Click to expand...
Click to collapse
Lol. That would me be... I bricked mine... Thank you for uploading this! So, how do I load this to the device?
luckymeeh said:
Lol. That would me be... I bricked mine... Thank you for uploading this! So, how do I load this to the device?
Click to expand...
Click to collapse
adb push filename /data/media/0/
phuduong said:
adb push filename /data/media/0/
Click to expand...
Click to collapse
Thanks for the response. So, replace the filename with the zip file or do I need to unzip it first?
yes please help, my internal storage in twrp shows 0mb and system just stays stuck on the nexus boots logo. thanks
phuduong said:
adb push filename /data/media/0/
Click to expand...
Click to collapse
So I did try: adb push Nexus7...zip /data/media/0/
I got "no devices found"
I'm on a Mac. Any idea what I should do next?
Thanks.
adb says it is not a directory.... am i going to have to wait for google to release the nexus 7 system image?
Can anyone make a flashable file? I'm trying to ADB sideload it but it fails.
bricked nexus 7!
guys, can someone please post a recovery flashable .zip? I wiped my system partition, and now I only have TWRP, but without USB debugging. I have tried everything I could. No luck. They only way I could think of is if somebody posted the flashable version. I can only use fastboot commands, and not adb ones, as the USB debugging state is wiped.

[Q] How do I flash a kernel (.img)?

I really tried do find a way to do this but I can't.
I have Carbon Rom 4.4.2 for p705 but I have a p700 and as Carbon's doesn't have OC they recommended to flash Cr3pt's kernel but the only I could find was a boot.img. In flashify it says that boot partition can't be found..
So can anyone send me or teach me how to flash a .img file or get me a easier to flash kernel if that's possible thanks...
You can't flash it like you usually do. Boot.img are a CWM backup so you need to go to backup/restore and choose advanced restore and the navigate to the boot.img and start the restore process
Hope that helps and make sure it's a file matching your device and your current rom.
SuperSkill said:
You can't flash it like you usually do. Boot.img are a CWM backup so you need to go to backup/restore and choose advanced restore and the navigate to the boot.img and start the restore process
Hope that helps and make sure it's a file matching your device and your current rom.
Click to expand...
Click to collapse
Thank you, very much I'll try that now
tab0rda said:
Thank you, very much I'll try that now
Click to expand...
Click to collapse
One more thing, you can also use the file to overwrite the one in the rom zip file using 7zip or winrar
SuperSkill said:
One more thing, you can also use the file to overwrite the one in the rom zip file using 7zip or winrar
Click to expand...
Click to collapse
And I can flash the ROM without losing my data and settings?
tab0rda said:
And I can flash the ROM without losing my data and settings?
Click to expand...
Click to collapse
No and yes, I'd you flash the rom first you'll be fine. The rom zip contains boot.img so if you first restore the boot.img it will be overwritten if you flash the rom second. Therfore you should replace the boot.img in the rom zip.
How it helps and clarify the situation

Problem Recovery

Suddenly my recovery has stopped working whenever i want to go to recovery is shows me that image with a dead android robot.
Is there any way to flash TWRP again without ADB because i can't get it working,
I tryed twrp manager but it needs root and i lost it.
RootNightmareX said:
Suddenly my recovery has stopped working whenever i want to go to recovery is shows me that image with a dead android robot.
Is there any way to flash TWRP again without ADB because i can't get it working,
I tryed twrp manager but it needs root and i lost it.
Click to expand...
Click to collapse
Try using a toolkit.. for example wugsfresh nexus root toolkit! There's an option to flash the last twrp version..
RootNightmareX said:
Suddenly my recovery has stopped working whenever i want to go to recovery is shows me that image with a dead android robot.
Is there any way to flash TWRP again without ADB because i can't get it working,
I tryed twrp manager but it needs root and i lost it.
Click to expand...
Click to collapse
Without root you would need ADB to flash it...
Your recovery will get over-ridden on each boot unless you rename/delete /system/recovery-from-boot.p to recovery-from-boot.bak or something.
You will need to use fastboot to flash recovery again, then boot TWRP and go into the file manager and rename the file I mentioned above. Sorry, no way to flash recovery without working adb or root.
acejavelin said:
Without root you would need ADB to flash it...
Your recovery will get over-ridden on each boot unless you rename/delete /system/recovery-from-boot.p to recovery-from-boot.bak or something.
You will need to use fastboot to flash recovery again, then boot TWRP and go into the file manager and rename the file I mentioned above. Sorry, no way to flash recovery without working adb or root.
Click to expand...
Click to collapse
I solved with an easy root based on adb program
I rooted the phone and reflashed with twrp from play store. Is there anything I must delete now ?
But whatcould have caused this problem. I was using art clean flashed this morning..... It Never happened for me on any device this problem its first time
RootNightmareX said:
I solved with an easy root based on adb program
I rooted the phone and reflashed with twrp from play store. Is there anything I must delete now ?
But whatcould have caused this problem. I was using art clean flashed this morning..... It Never happened for me on any device this problem its first time
Click to expand...
Click to collapse
You must rename/delete the file I mentioned above if it is a stock ROM, otherwise it reflash the stock recovery on the next boot.
Sent from my Nexus 4 using Tapatalk
acejavelin said:
You must rename/delete the file I mentioned above if it is a stock ROM, otherwise it reflash the stock recovery on the next boot.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I rebooted and still I have twrp. Should I still search the file n delete it?
RootNightmareX said:
I rebooted and still I have twrp. Should I still search the file n delete it?
Click to expand...
Click to collapse
It flashes it on boot, so the next time it might be gone. Most AIO tools take care of it for you.
Your call I guess, is the file there?
Sent from my Nexus 4 using Tapatalk
acejavelin said:
It flashes it on boot, so the next time it might be gone. Most AIO tools take care of it for you.
Your call I guess, is the file there?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I have that recovery bak file. What should i do with it ?
RootNightmareX said:
I have that recovery bak file. What should i do with it ?
Click to expand...
Click to collapse
Personally, I just added a .bak extension to the file, but you could delete it. The nice part about keeping it is if you are basically stock and want to get an OTA, you can just take off the .bak extension, reboot, have stock recovery back, then take the OTA... but I haven't been stock for some time, and returning to stock is fairly simple anyway.
acejavelin said:
Personally, I just added a .bak extension to the file, but you could delete it. The nice part about keeping it is if you are basically stock and want to get an OTA, you can just take off the .bak extension, reboot, have stock recovery back, then take the OTA... but I haven't been stock for some time, and returning to stock is fairly simple anyway.
Click to expand...
Click to collapse
That image can actually lock bootloader back too ?
No, just reflash recovery... It can't relock boot loader, that doesn't have to be locked to take an OTA.
Sent from my Nexus 4 using Tapatalk
RootNightmareX said:
I solved with an easy root based on adb program
I rooted the phone and reflashed with twrp from play store. Is there anything I must delete now ?
But whatcould have caused this problem. I was using art clean flashed this morning..... It Never happened for me on any device this problem its first time
Click to expand...
Click to collapse
what program did you use to root?
Sent from my Nexus 4 using xda app-developers app

[Q] Can't flash stock image.

Hello guys!
I downloaded the factory image for my device.
I'm currently running PA 5 Alpha 2 and Hellscore, using TWRP, rooted and unlocked of course.
I'm trying to flash the factory image with no success, I got "boot.img file not found" error.
I just edited the flash-all.bat file and deleted the -w because I want to keep my data.
Any ideas? What am I doing worng?
Every file must be in the same folder otherwise it wont work.
CCody said:
Every file must be in the same folder otherwise it wont work.
Click to expand...
Click to collapse
So I have to extract the .zip file in the folder after the first exctract?
Please read this thread. I think all your questions will be answered there.
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

Categories

Resources