yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] vpino93:
I recently unlocked my bootloader on the htc Incredible 2 for verizon and also installed CMOD. After installing the superuser zip I went ahead and tried gaining superuser permissions but it always fails. Suggestions?
[General Questions and Answers] Ghostfreak NB:
Install super su

Update binary if it asks

Then check root!

If still not working re root it!

That should solve the problem if it still persists

Hope it helps

---------- Post added at 07:24 AM ---------- Previous post was at 07:23 AM ----------

Also use rescan media root app to check if it's properly rooted
[General Questions and Answers] vpino93:
So I Installed the rescan media root app and it requested superuser permissions. I hit allow and the prompt on the app was green. Also, it stated at the bottom that the app had been granted superuser permissions. Does that show that I am properly rooted?
[General Questions and Answers] Ghostfreak NB:
I guess yes.........so just try to update binary of superuser app....if you face any issue and then a reboot should solve whatever issue you have !
[Galaxy Tab 2 Q&A, Help & Troubleshooting] v1rg1l:
Hi,

Ive been having issues with my 32GB Sandisk Ultra on my SGT2 P3100, and have corrupted my 32GB sandisk class6 twice. now im looking for a script (preferably an app) to mirror backup my Ultra ExtSDCard to the 32GB class6 which is USB OTG-attached.

Would you guys know about such a utility? One more thing, instead of backing up the whole ExtSDCard, im looking at something that syncs new files just like AllAwaySync does in Windows.

Thanks much,

- vx
[Samsung Galaxy Nexus] Marisa:
There's an interesting fundraiser going on here:

http://www.indiegogo.com/microsdtomicrousb

Perhaps this is a solution for some, or an acceptable way to upgrade to the Nexus4 (when you can get a hold of one!) for others.

I'm not affiliated with the project at all, just thought maybe it would be of interest to some.
[Samsung Galaxy Nexus] harveydent:
It's basically a USB-OTG and a card reader in one. You can get both for less than 10 bucks right now
[Samsung Galaxy Nexus] Febby:
Well, some of us don't have the talent to things lol... I have s thing with patience when working with detail... :P You can make one then? I'll proudly buy one if that's the case :P
[Samsung Galaxy Nexus] AnimeEd:
I don't think the guy is well versed in manufacturing. I work in the industry and here are some points which I question:

-FCC & CE Federal Certification 10 Days - 10 Days is a very fast turn around time for lab test, I do not expect this to be possible unless he is doing self certification

-Molding tool manufacturing 15 Days - Tools are not logos, unless he is Foxconn, there is no way he is able to get a tool in 15 days. 3 weeks min

-FCC test before tooling - You cannot use a prototype housing to do FCC certification, you need the mass-produced version of the plastic

-Production PCB Layout 5 Days - He already did a layout twice before (alpha and pre-production), even if he is just doing fine-tuning at this point, it doesn't take 5 days to do a simple layout like this

-Overall timeline - he added up all of those times to get his production date but most of the items can be done concurrently (ie building tools while doing PCB layout and production at the same time)

-Production Units Assembly - 10 Days - 10 days to build 1500pc? For an initial pilot line, 1.5k will probably take 2-3 days for a simple product like this

I'm not saying this is a scam but just that the guy is not familiar with the process. Expect delays.
[Samsung Galaxy Nexus] Maturola:
Yes that is exactly what it is, if you don't mind the size and the speed compromise, it is a perfect solution.

Thanks for all the feedback and support, I am well aware of manufacturing, I deal with it all the time.

- FCC & CE is covered, it is NOT a self certification, the testing lab is right around the corner from my office, I already got a time slot and a quote for it, I am going to do it even if the project doesn't get fund it.

- PCB manufacturing, Also covered, Do it all the time, Board house already got tooling and NRE, 5 days I can have first lot of board assembled.

- Well... You can request a detail project file with timlelines, quotes and details

Thank you for your feedback, but those time lines had been work in detail and I am certain i can accomplish it.
[Samsung Galaxy Nexus] Febby:
Will you be selling the part then even if you don't get the fund quoted on the site? Because that would be great. I'd surely love to have such item. :)
[Samsung Galaxy Nexus] Maturola:
A little bit of a complex answer at this time, I am moving the project forward as much as I can on my own, however it would be a lot slower, once i get it closer to production (at least a fully cased, FCC tested device) I would try to fund it again for just the "production cost".

On the other hand I got a few private investors interested on the project however they are waiting on the final number on contributors to benchmark the market interest, if you would like to get one, I would suggest to still go to the site and pledge for one, that would help me get the funding even if it is from a private source. (worst case you will get your money back in 4 Days)
[Samsung Galaxy Nexus] iCurmudgeon:
Tried to install 4.2 via CWM (Method 1, without deleting the Recovery folder), and got the following error:

assert.failed getprop ("ro.product.device") == "maguro" || getprop ("ro.build.product") == "maguro"

E: Error in /sdcard/e587de13bf8a.signed-takju-JOP40C-from-JZO54K.e587de13.zip (Status 7)

Installation aborted.

I followed the instructions to a T, or so I thought. Can anyone point me to what I did wrong, and how I can fix it? My phone's build is JZO54K.

Thanks in advance

mudge
[Samsung Galaxy Nexus] Zepius:
do you have a CDMA phone? if so, it will never work and you need to wait for a custom rom or the factory images/OTA
[Samsung Galaxy Nexus] iCurmudgeon:
Nope, it's a GSM phone, purchased directly from Google's Play Store. So it should work, right?
[Samsung Galaxy Nexus] Zepius:
did you modify any system files, specifically your build.prop? are you on the stock rom?
[Samsung Galaxy Nexus] iCurmudgeon:
Stock ROM and I don't think I ever modified build.prop (I used Mark Skippen's Galaxy Nexus Toolkit to unlock the bootloader and root the phone, but that's all).
[Samsung Galaxy Nexus] iCurmudgeon:
Okay, I found something interesting. Looking through build.prop I found a comment saying "ro.build.product is obsolete; use ro.product.device"

BUT I don't see any ro.product.device line anywhere. Should I insert it? No, I take that back. I found the ro.product.device line. It's in there.
[Samsung Galaxy Nexus] TDard:
Similar problem

I have a very similar problem with my non-rooted GSM Gnexus, stock recovery.

After I sideload the 4.2 update i get the following on the recovery:

assert failed: File_getprop("/system/build.prop". "ro.build.fingerprint") =="google/takju/maguro:4.1.2/JZO54K/485486:user?release-keys" ||

and it just kinda repeats that and says installation failed.

I used QBking77's instructions to installing the SDK (I can't post links but hes on youtube, all we did was follow the Google given SDK and installed the platform tools and SDK)

I'm pretty sure I am running takju ever since I manually installed 4.1.1, then got the OTA to 4.1.2.

dunno what to do...
[Samsung Galaxy Nexus] wisefreakz:
Flash system.img and radio-i9250...img from stock JZO54K Then try to flash OTA again.
[Samsung Galaxy Nexus] TDard:
Nevermind, followed instructions on addictivetips.com (again can't post links) and it worked like a charm.

Thanks guys,
[Samsung Galaxy Nexus] ch4nd4n:
I was facing similar issue, to install 4.2 I downloaded 4.2 (JOP40C) from developers.google.com/android/nexus/images and followed the instructions.

It was pretty straight forward

boot your phone to bootloader

install bootloader

flash takju image to phone

I have outlined all the steps to resolve this at http://chandankumar.com/blog/2012/11/14/install-android-4-dot-2-on-galaxy-nexus/

- Ck
[Nexus 4 Android Development] Harry GT-S5830:
Please Lock!
[Nexus 4 Android Development] Harry GT-S5830:
Placeholder reserve
[Nexus 4 Android Development] Ranguvar:
sgs2ext4 doesn't work on the recovery.img and the image isn't mountable by itself in Windows.

Too lazy to reboot into Linux, for now.. any other way to crack it open?
[Nexus 4 Android Development] Harry GT-S5830:
Pull it apart in hex editor
[Nexus 4 Android Development] USSENTERNCC1701E:
I've got the recovery.img, can I get the .fstab out without loop mounting? I don't have a linux machine set up right now.
[Nexus 4 Android Development] Harry GT-S5830:
Old fashioned HxD :D

See here: http://xdaforums.com/showthread.php?t=443994

I could probably do it without this, but it probably wouldn't mount data/media (what emulates the SD) so it would be relatively useless as that's where zips are

Also this might prove useful: http://xdaforums.com/showthread.php?t=1494036 (requires Cygwin or Linux environment)
[Nexus 4 Android Development] USSENTERNCC1701E:
Hell, I wouldn't trust myself to rip it out with a hex editor. I'm setting up a VM right now, but I could just upload the recovery.img for you. I pulled it out of the stock image that google uploaded today.
[Nexus 4 Android Development] Harry GT-S5830:
Cheers, that's where I had mine :p but I corrupted it :/ ill try pull it apart on the 600MHz wonder pico :p

Or perhaps not... 3.2" is too small for hex
[Nexus 4 Android Development] USSENTERNCC1701E:
Lol, I'm having a hell of a time getting Slax as a cooperative VM, might have to go all out with ubuntu :(
[Nexus 4 Android Development] fkrone:
Got it!

Thanks for the tutorials. It was just fun to to something short after midnight (Germany). I was a little bit bored ;) Would be nice if you can mention me in the people helped to create this recovery ;)

http://www.mediafire.com/?mlv72phch1tgd5y Mediafire-Mirror ;)
[Nexus 4 Android Development] Ranguvar:
Dammit, beat me to it!

Serves me right for making dinner first ;)

http://ompldr.org/vZ2ExYQ/recovery.fstab
[Nexus 4 Android Development] pikachukaki:
Can i ask something as a future buyer of nexus 4 and older user of another phone...the fastboot is the "bootloader" (pink screen on my older phone) the state of the phone where i can connect it to my computer and see the folder containing the recovery.img boot.img...etc???
[Nexus 4 Android Development] USSENTERNCC1701E:
That's not quite how it works. These .img files we are talking about are pictures of the stock version of those paritions. Try reading this article for an explanation of Android partitioning.

There is also a great graphic here. The site is in Spanish, I haven't used Google to translate it, but the picture there is in English. Take your time with it, there's a lot of info there.
[Nexus 4 Android Development] Stryder5:
To get into Fastboot mode, do you just hold the volume down button while powering on? Never used a Nexus device before. Have been strictly on HTC up until now. I'm picking up my Nexus 4 in the morning and don't mind trying, as long as there's a way to undo anything in case something goes wrong.
[Nexus 4 Android Development] USSENTERNCC1701E:
Or you can enable adb and

adb reboot bootloader

The command

fastboot boot boot.img

is temporary. All it does is boot, one time only, the image you specify. Once you've mounted system as rw however, everything you do in /system before rebooting is permanent.
[Nexus 4 Android Development] Stryder5:
So does adding the su binaries and the superuser apk give you permanent root after this then?

And exactly what binaries are needed to gain root? I've never gained root using that method before so am a little unfamiliar in this territory.
[Nexus 4 Android Development] USSENTERNCC1701E:
Woops, wrong thread.

Yes, if you push the su binary from a superuser flashable zip to /system/bin/ and chmod 0655, plus the superuser apk, you will have permanent root after.

Also, there is a recovery.img now, so you can test that out, if it works, flash it from fastboot, then flash a superuser zip from that recovery.
[Nexus 4 Android Development] Harry GT-S5830:
Thank you for getting it (recovery.fstab), looks like someone beat me to it though!

Sorry for late response I have to sleep as I'm in last school year :P

Ill cook up a recovery just to make your efforts worthwhile ;)

It's in OP, its probably 99.9% the same as the other guys so i'm not going to make duplicate thread, use who evers recovery you wish.

____________________________________________________________________________________________________________________________________

Reason I say fastboot boot first is because it allows you to boot the image without permanently (well, unless you flash another over) flashing a partition without knowing it works.
[Nexus 4 Android Development] Stryder5:
Booted fine when I ran fastboot boot boot.img, but when I actually flashed it, it's giving me a boot loop now :( Booting back into fastboot shows secure boot still enabled. Any suggestions? Or do you have the original bootloader image?
[Nexus 4 Android Development] USSENTERNCC1701E:
Not at my comp now or I'd upload it, bit of you rip open the fa Tory image from the Google servers you should find it

---------- Post added at 02:44 PM ---------- Previous post was at 02:43 PM ----------

On a side note, what possessed you to do that?
[Nexus 4 Android Development] Stryder5:
Have no idea how to do that, but for now, my phone usage is at a halt lol. I'm glad you have it though. I'm not leaving the house again today so I'll manage a few hours. Really appreciate it once you upload! Thanks for responding though, eases my mind that I didn't forever brick my device already lol.

EDIT: I want root access to restore all my apps and their data from Titanium.

EDIT 2: I decided to run fastboot boot boot.img again to see what happens. That got me out of the bootloop haha. I'll hold off on playing with it until you get the original boot.img up.
[Nexus 4 Android Development] USSENTERNCC1701E:
Okay, be at comp in about 20, I'll upload it. You do not need to flash the unsecured boot.IMG to get permanent root you boot it and then root and reboot. ll walk you through it when I get home.
[Nexus 4 Android Development] Stryder5:
Ah, I misunderstood the directions then. I've never had a Nexus device before. I'm used to HTC's methods lol. Booting boot.img file from the OP got my phone up and running again so no rush. Really appreciate the help though.

I'll try booting the boot.img again to gain root once I'm done eating lol.
[Nexus 4 Android Development] USSENTERNCC1701E:
There ya be, gimme a min to write up root instructions.
[Nexus 4 Android Development] Harry GT-S5830:
Hi sorry for the problems :P

This is stock boot image directly from factory image.

If you want a more simple root (idk how reliable this is) then boot the recovery image I have in the OP, and flash the attached SU zip.
[Nexus 4 Android Development] USSENTERNCC1701E:
Okay, so couple things first, ChainsDD is fantastic, he maintains SuperUser for us! Now, as far as I know, these binaries have NOT been tested on a Nexus 4 yet, so it is possible though unlikely that they may not work. If so, no biggie, you just won't have root.

Extract su and Superuser.apk and copy them to your adb platform-tools folder.

Boot the unsecured boot image from the OP.

Make sure debugging mode is active on the device.

Open a command prompt in the adb platform-tools folder.

Mount /system as rw.

adb shell mount -o,rw /system

Push su and Superuser.apk to /system.

adb push su /system/bin/
adb push Superuser.apk /system/app/

Change permissions on su and Superuser.apk.

adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/app/Superuser.apk

Reboot.

Thank you Napstar for pointing this out.
[Nexus 4 Android Development] USSENTERNCC1701E:
Oh, yes, this. Do this. If that doesn't work, then try the more complicated version :D

Do be careful though, BOOT the recovery image, don't flash it. Pretty much everything dev related to N4 is very early testing. When you fastboot boot blah.img rather than flashing it, any changes due to the image, not counting whatever you to afterward, go away on reboot, so if it causes instability it doesn't boot loop or brick you.
[Nexus 4 Android Development] Stryder5:
Thanks, this solved the bootloop.
[Nexus 4 Android Development] Harry GT-S5830:
Your very welcome :)
[Nexus 4 Android Development] Stryder5:
I got the files to the proper place (and they persist after reboot), but Titanium was not able to gain root using this method.
[Nexus 4 Android Development] USSENTERNCC1701E:
Download root checker from the market. Run it and see.

Also, open a cmd in platform tools and try

adb shell
su
[Nexus 4 Android Development] Stryder5:
Ah, now I understand.

Booted the recovery image and it boots fine. However, choosing to install a zip gives me an error saying the /sdcard path could not be found:

Installing: /sdcard/update.zip

Finding update package...

E:unknown volume for path [/sdcard/update.zip]

E:Can't mount /sdcard/update.zip

Installation aborted.

---------- Post added at 04:59 PM ---------- Previous post was at 04:57 PM ----------

I can gain su access, but root checker says I do not have root. Odd. Permissions maybe?
[Nexus 4 Android Development] USSENTERNCC1701E:
Could be, maybe it should have been 0755. Oh well, go into the Superuser apk, and try forcing an update. If that doesn't work, boot the unsecured image and try forcing the update again.
[Nexus 4 Android Development] Stryder5:
Tried changing permissions to 0755. That didn't work. There aren't any updates available for Superuser through the Play store.
[Nexus 4 Android Development] USSENTERNCC1701E:
Not a play store update. Open the Superuser apk, scroll to the far left, tap roughly in the center.
[Nexus 4 Android Development] Stryder5:
Well, I borked something. I tried replacing Superuser with SuperSu. SuperSu said it needed to update the su binary but wasn't able to do so. Then tried replacing SuperSu back with Superuser. Now Superuser is forceclosing on me. Spent too much time on this. Got some things I need to take care of now. Just did a wipe to get rid of any changes. I'll either give it another shot tonight, or tomorrow. Thanks for the help so far.
[Nexus 4 Android Development] Harry GT-S5830:
Yep. Everything is in a testing dev stage atm. Ill look into recovery mount issue ;)
[Nexus 4 Android Development] HQRaja:
I tried rooting the Galaxy Nexus on Jelly Bean 4.2 yesterday and with Superuser, it didn't work. Retried with the latest SuperSU 0.97 and it worked without a glitch. Also, according to what I read from the response of others, Superuser wasn't yet supporting 4.2 by yesterday, so replacing the Superuser file with SuperSU's in the zip that you flash should fix this. Hope it helps.
[Nexus 4 Android Development] Stryder5:
Funny, after a system wipe, Superuser and su persisted. Opened Superuser and tried to update the su binary. Gaining root access still failed.

---------- Post added at 06:59 PM ---------- Previous post was at 06:44 PM ----------

It was a good thought. I pushed SuperSu over to /system/app and then ran it. It tries to update the binary but gives an error saying installation failed.
[Nexus 4 Android Development] kanded:
try this. confirm me if it works or not. flash via cwm.

https://www.dropbox.com/s/c4x02r7jp03vl30/JB-SuperSU.zip
[Nexus 4 Android Development] Stryder5:
Between the 2 recoveries that have been released for the Nexus 4, neither are able to flash any zip files at the moment. They both have problems finding the /sdcard path.
[Nexus 4 Android Development] HQRaja:
A colleague wrote a post at our blog a few hours back based on the guide here. I just got done with heavily editing it based on the response here and publishing it. I also added a manual method involving booting with the insecure boot image and copying the required files to the appropriate paths directly. I don't have a Nexus 4 at the moment but in my personal experience with Nexus devices including Galaxy Nexus on Jelly Bean 4.2, this method *should* work as long as you can boot using the insecure boot image, even if the recovery method fails to work. The full step-by-step instructions should be easy to follow for anyone. Hope it helps. Here is the link:

http://www.addictivetips.com/android/root-google-nexus-4-install-clockworkmod-recovery/

PS: If it works for you, please do confirm here, thanks.
[Nexus 4 Android Development] Stryder5:
I tested the recovery posted on your site and it has the same error I posted earlier about it not mounting the /sdcard path.
[Nexus 4 Android Development] HQRaja:
Yup the recovery is the same; how about the other method that doesn't involve the recovery?
[Nexus 4 Android Development] Stryder5:
IT WORKED! Well, the manual method worked that involves ADB.

Used these files:

http://www.mediafire.com/?az44dwrww0808j3

With these commands:

adb shell mount -o remount,rw /system
adb push su /system/bin/
adb push Superuser.apk /system/app/
adb push busybox /system/xbin/
adb shell
su
chmod 06755 /system/bin/su
chmod 0644 /system/app/Superuser.apk
chmod 04755 /system/xbin/busybox
cd /system/xbin
busybox --install /system/xbin/
exit
exit

I can now confirm I have root!
[Nexus 4 Android Development] qwahchees:
So essentially this installs CWM and Root's?
[Nexus 4 Android Development] Stryder5:
No, CWM doesn't work properly yet.
[Nexus 4 Android Development] HQRaja:
YES! Gonna post my own thread with this method and my Root_Files.zip download so that those looking for root can easily gain it.
[Nexus 4 Android Development] Stryder5:
I was hoping you would so I wouldn't have to haha :D

I think I'm the first person to confirm root on here ^__^ I must say, rooting the phone within 12 hours of buying it is a new record for me haha.

I would thank you, but I'm out of thanks for the day. I'll add it to you in the morning haha.
[Nexus 4 Android Development] HQRaja:
Done, here is the thread with my complete guide confirmed working by you: http://xdaforums.com/showthread.php?t=1993331

Given due credit to the OP of this thread for the insecure boot.img =)
[Nexus 4 Android Development] Harry GT-S5830:
The recovery I posted is an early blind build. Maybe the other one posted on the forum
[Nexus 4 Android Development] cdesai:
OP, you should consider changing the title.

U-boot is something else, and not an acronym for an insecure boot image

Sent from my GT-P1000
[Nexus 4 Android Development] Harry GT-S5830:
Done.
[Nexus 4 Android Development] Napstar:
You forgot to add the sticky bit in your instructions...

Here is what you wrote,

adb shell chmod 0655 /system/bin/su
adb shell chmod 0655 /system/app/Superuser.apk

which should be modified as

adb shell chmod 06[COLOR="red"][B]7[/B][/COLOR]55 /system/bin/su
adb shell chmod 06[COLOR="Red"][B]7[/B][/COLOR]55 /system/app/Superuser.apk

Here I have added 7 as permission for rwx to user of binary which you mistaken as 6...

Also, 6 should be the sticky bit which helps our device to execute the su binary with root as executing person and not the device user as executing one.

Have a look at here for more details,

http://www.techcuriosity.com/resources/linux/advanced_file_permissions_in_linux.php

in SUID - [ Set User ID ] section
[Nexus 4 Android Development] USSENTERNCC1701E:
Ah, facepalm. Thanks. Haven't done manual root in like a year :( knew something didn't feel right about that, couldn't remember if it was 0655 or 0755, almost had it lol. Edited my previous post. Credited you.
[Nexus 4 Android Development] Harry GT-S5830:
Is this on the website? I didn't write them
[Nexus 4 Android Development] Stryder5:
I think Napstar's comment was directed at USSENTERNCC1701E's post.
[Nexus 4 Android Development] Harry GT-S5830:
Correct :) I didn't see the post as I was replying in maths lesson :/
[Nexus 4 Android Development] cdesai:
Also, it's insecure, unsecure isn't a word ;)

Sent from my GT-P1000
[Nexus 4 Android Development] Harry GT-S5830:
:P maybe my teacher had a reason to be surprised I got an A* in exam
[Nexus 4 Android Development] USSENTERNCC1701E:
Let's call it unsecured.