• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root i know Antutu isnt everything but...wth?

The command I listed is what usually happens under the hood when you connect to a pc and say -

adb remount

Because 1) I'm usually too lazy to use adb and because 2) adb remount only works most of the time.

http://androidforums.com/threads/adb-remount-fails-work-around-successful.802434/

The command changes /system from read-only to read-write.

It's essential for any root change - like installing the superuser binary update.

*Should* SuperSU be able to handle that on its own?

OK. Sure, why not. But then why doesn't it always work, even for adb?

All file systems are controlled by mount.

-o = here are the command options

rw = read-write

remount = required if you want to change write state

/system = the file system in question
 
TWRP installs to the recovery partition, so that's not a size penalty.

You can usually use it to point to an actual sd card, or an OTG USB stick, for backup operations.

Unless you're having to use a privately built TWRP that doesn't support those options.

Pretty rare.
 
Okay so now I've got news :)
The commands you listed gave me a successfull binary update. Then I rebooted and it was gone. The forced reboot didn't happen though. I've read that there are solutions to the binary requesting update constantly so I will look into those. I think it might have something to do with the kernel having write protection. So thanks , I can rest a little easier now.and search for different things !
As far as TWRP goes, it booted fine from the pc, it was simply that there wasn't enough room for a backup in the default directory. I had thought that no option to change the.backup directory existed, but I'll admit to not looking well :)

And an extra thanks for the Linux link. For those things it's always a matter of having.the.right materials.when needed, instead.of losing steam searching for something you're not sure of. I WILL learn this Linux hocus pocus !
 
Last edited:
Wait.

Did you start out by temp rooting?

And you didn't answer - did you unlock with HTCdev.com?

Or - did you just go straight to fastboot booting TWRP and installing SuperSU?

If it's the first or the third one, there isn't a shred of mystery what's going on. :D
 
Wait.

Did you start out by temp rooting?

And you didn't answer - did you unlock with HTCdev.com?

Or - did you just go straight to fastboot booting TWRP and installing SuperSU?

If it's the first or the third one, there isn't a shred of mystery what's going on. :D


Oh sorry, I forgot to answer that one. I am unlocked from the HTCdev site. The whole unlock process went smoothly. Now Just waiting for S-off I guess.

After unlocking the bootloader, I booted to twrp without flashing <fastboot boot recovery.img> then tried to make a backup got denied because of lack of space (and my erronous thought that TWRP would only backup in the default location). When I went to reboot system it asked if I wanted to root, and knowing that I needed root to free up space for backups I did root. When system booted back up , I had the SU installer in the app drawer asking for me to complete the installation (which I did) and viola! here I am :)

I think that I may have to live with it the way it is. It grants all my root apps the access they need already, it may just be a problem due to the newness of the device I think. I havce certainly let the SU binaries go without update before without harm. Like I said I have seen plenty of threads for other devices where SU does this same thing, and I assume there are solutions (Ill just have to find them) busybox is being an ass as well, but Ive seen fixes for that as well. Just trying to learn what I can along the way because I dont believe in unsolvable computer problems, just lack of knowledge in the user. Later on tonight when I get a chance I will inspect to see if I can take a nandroid in a location that I point to and if I get that then I am going to abolish the bloat and start work from there. Ill keep you guys posted. Thanks again for all the attention you are putting into this. Yov've been keeping up with me all day now and I appreciate it :)
 
Twrp installed it for me. When I went to reboot into the system from TWRP . It said something to the effect of "I see you arent rooted yet do you wanna?" and I said yeah. THen when I rebooted the app drawer had something called SU INstaller in it, and when I used it I was directed to the playstore to install SU and the binary. SO I am fully rooted, it is just that the binary keeps asking to be updated and when I updated from the playstore I would get a force reboot --> which was solved by the remount commands you gave me. Binary installed succesfully after that, but after a reboot is still asking to be updated. My guess is write protection on the kernel. What do you think?
 
The kernel isn't the issue.

I've seen a lot of failure stem from the TWRP auto SuperSU install.

Get the zip package, flash from TWRP, done.

http://forum.xda-developers.com/apps/supersu/support-update-failures-t2907365

http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

Put TWRP on your phone using fastboot flash recovery.

That's what I would do.

"Note that if you let TWRP or CWM "fix" root for you, or let them disable the firmware from flashing a new recovery (sometimes you are asked this), you have broken root, and the only way to recover it is flashing the full ZIP through recovery."
 
Last edited:
The kernel isn't the issue.

I've seen a lot of failure stem from the TWRP auto SuperSU install.

Get the zip package, flash from TWRP, done.

http://forum.xda-developers.com/apps/supersu/support-update-failures-t2907365

http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

Put TWRP on your phone using fastboot flash recovery.

That's what I would do.

"Note that if you let TWRP or CWM "fix" root for you, or let them disable the firmware from flashing a new recovery (sometimes you are asked this), you have broken root, and the only way to recover it is flashing the full ZIP through recovery."

Ridiculous! I had the binary downloaded and was going to do it that way but when it asked to autoroot I did what any power hungry techno-knoob would do and let it. And if all else failed I was going to try manual install anyway. It just makes me mad that it was the answer. Problem solved. Thanks EarlyMon , I am off to the land of "Shouldnthave tried the Easy Way"

Edit: And now a backup too! Im never doing anything the easy way again! Always the long way. No auto root , no nothing! (just kidding, but it really screwed me this time)
 
Last edited:
I believe the kernel is the issue. It didn't make any sense to me at the beginning but there is no way you can get TWRP to install the su binaries without having a kernel with write protection removed. I've tried it. There are certain things that can be written but that isn't one of them.

You also cannot delete anything with Titanium Backup unless you have a write protection removed kernel. I found out when I was lost as to why apps would come back after reboot when it seemed like Titanium let me delete them. Even though I would love to stay on this site with all the other novices, xda has a lot of the answers you are seeking. You have problems that have been solved months ago.
 
OK, so you mean one of these, known to work on Boost.

http://forum.xda-developers.com/des...print-virgin-mobile-stock-desire-510-t2958969

Oddly, one of the authors is here, as noted in the OP there.

http://androidforums.com/threads/virgin-sprint-kernel-desire-510-write-protection-removed.885145/

You keep talking about novices. I'm not sure that word means what you think it does. :D

Anyway, that's the last that I intend to argue about the land of milk and honey.

XDA mods wouldn't stand for driving traffic away from their site.

You might go a little easier on us out of common courtesy ok. ;) :)

He's here, you're here, he's asking.

If you think my answers are wrong, fine, either provide the answer or a link to the answer.

I'd be happy to see the thread explaining why a TWRP flash won't work unless you have a different kernel - I'm open to being educated. :)

I'm also curious how you flash a kernel when the old kernel won't let you flash things.
 
Last edited:
@EarlyMon I'm talking about novices because I am one. You said, "I once performance-tuned an HTC kernel and rom just to prove a point." I don't even know how to build a kernel yet. I still have a lot to learn. My first phone was a Samsung Galaxy Prevail and I learned a lot from the devs on this site but HTCs are so different I have a lot more to learn, even though some things are very easy for me.

"@scotty85 explained the real reason elsewhere, naturally, I don't remember the details, but fastboot booting a recovery from your pc is a no go on the latest HTCs. Including mine.""

I don't know where a thread is that says this but I think the kernel with write protect removed will work because I tried to install su through TWRP and it rebooted and did not install. I used a write protect removed kernel and it went off without a hitch. I used the tutorial located here: http://forum.xda-developers.com/desire-510/general/guide-how-to-unlock-install-recovery-t2988292. I have done this a least a couple of times and it works perfect every time. I have never had a problem with fastboot. One thing I would add is to always wipe Dalvik-cache and cache before rebooting. I have had some bootloops and this has always solved the problem. It loops at the HTC logo screen, I either hold Down + Power button or take out the battery. I'm sorry I don't have links explaining why any of this works. I tried it myself though and this is the solution. We can probably just keep communicating and eventually find out the reason why.

"Anyway, that's the last that I intend to argue about the land of milk and honey. "
"XDA mods wouldn't stand for driving traffic away from their site."
I am not trying to argue with you or be disrespectful to the site. I'm sorry if I came off like that. I am simply trying to learn. I appreciate this site and others because it gives me a place to learn about things that I thoroughly enjoy. I am an extreme introvert and coming to sites like these allows me to socialize with others that share my interests. I will stop trying to drive traffic away and I will simply give an answer to a user's question in the future.


@knoober as you said there are no hard bricks. That is a good thing. I'm sure a person would have to mess up very bad to hard brick these phones.

"I figured on trying the TWRP method (which has never worked for me on any other device) but I havent flashed the recovery yet, only booted to it using <fastboot boot recovery.img> because I wanted backups before messing with stuff.... and when I tried to take backups I ran into the internal storage/sd problem... which I needed root to fix, and then the SU binary needed an update, and I couldnt install busybox.... and the vicous circle continues. "

The internal storage is not enough for the backup, because it is 1GB+ and on the stock ROM you have less than 1GB to use unless you delete things, which you can't do without a write protect removed kernel.

" Now Just waiting for S-off I guess."
We have S-off. You have to relock your bootloader and you can use Sunshine. I haven't done it and don't really plan to, but others have.

"busybox is being an ass as well"
Exactly how is it being an ass? I can probably help you with that. I have had one recurring problem with busybox. I will install it and it will say it cannot gain root privileges then it exits. I simply go back in the app and it works perfect.


@EarlyMon @knoober I was lost at first when you two were talking about bloat. It is the bloat, but something else on these devices still take up a ton of space. Even after removing all bloat you only have ~1GB internal memory to use. Link2SD will be your friend. I currently use a 32GB ext4 partition to link internal apps. You can try out Cyanogenmod 11 and a ported GPE ROM. Devs are currently working on Cyanogenmod 11 and 12 and the GPE ROM, because they all have problems.
 
Last edited:
It's okay guys! I've got enough ignorance for xda and AF! :)

I'm glad to hear that s off has been achieved. Everything I had read said they didn't have it yet. But I will admit to not having read everything yet. I guess I'm not particularly worried about s off either, but I though you had to be s off to flash a new kernel... Guess I was wrong there huh?

As far as the internal storage and link2sd , I feel there is a better solution
http://forum.xda-developers.com/showthread.php?p=42121194#post42121194
This is a link from ... Guess where :)albeit for .another device. A similar device with the same trouble mind you. I think I will try writing a new Fstab for this device and see if it works. Fstab = file system table and determines mount points for storage . If you edit this file in the appropriate way it should solve the problem and kill the need for link2sd . I believe you could reuse the file in the post, but I don't think you could flash it. You would just have to manually write it out and manually place it in the correct directory. If I get it figured out I will post about it.

I think the reason that there isn't much room opening up is the way it is partitioned + sense. The phone seems to have 2 internal storages beyond the sdcard. One is for apps and 1 is system I believe. I know they can be combined in other similar devices. And from what I have heard Sense is a huge space hug. EarlyMon can tell you all bout it for sure. I haven't looked but I'll be anything labeled "desensed" will have slot .more free space.

On a side note, I found the option in TWRP to backup to the external sd. Nandroid complete. Root accomplished, new kernel flashed. Slimming bloat has begun!
 
"...but I though you had to be s off to flash a new kernel..."
It seems there is a big misunderstanding going on in the Android community about what S-off is. It is not needed on our phone to flash a kernel. It is needed to modify hboot, though.

Thanks for letting me know what fstab was. I haven't looked that up yet.

I noticed something kind of weird. I'm on Boost Mobile and my phone says 3.6GB/4GB and I'm sure this phone should have 8GB internal. I see this on the stock ROM as well as modded. My wife has a Cricket 510 and hers says 6GB/8GB. She won't let me mod hers so I can't check anything out.

"On a side note, I found the option in TWRP to backup to the external sd. Nandroid complete. Root accomplished, new kernel flashed. Slimming bloat has begun!"

Sounds good. Congrats. Which kernel did you flash?
 
You can see the full partition list size in a shell by saying -

cat /proc/partitions

You can see the allocations by -

df

And you can see the mapping by -

mount

But for your purposes, /system and /data are as far as you want to go without getting a serious problem.

Here are two handy utilities that are not bloaty that will help you see storage you care about at a glance -

http://androidforums.com/threads/qu...e-is-your-storage-truth-read-me-first.906249/

Apologies, I think I've said that before but not sure so there it is.

Congrats on root and the nandroid!

Apologies if I came down too harsh. Srsly I mean that.

:)

PS - exercise extreme caution changing partition sizes. One false move and you have a paperweight.
 
Last edited:
If
"...but I though you had to be s off to flash a new kernel..."
It seems there is a big misunderstanding going on in the Android community about what S-off is. It is not needed on our phone to flash a kernel. It is needed to modify hboot, though.

Thanks for letting me know what fstab was. I haven't looked that up yet.

I noticed something kind of weird. I'm on Boost Mobile and my phone says 3.6GB/4GB and I'm sure this phone should have 8GB internal. I see this on the stock ROM as well as modded. My wife has a Cricket 510 and hers says 6GB/8GB. She won't let me mod hers so I can't check anything out.

"On a side note, I found the option in TWRP to backup to the external sd. Nandroid complete. Root accomplished, new kernel flashed. Slimming bloat has begun!"

Sounds good. Congrats. Which kernel did you flash?
I got the v2 rbheromax boost kernel. All I was really looking for was write protection removed for now, so I don't know if that's going to be my final kernel stop, but I do know rbheromax to be a solid dev (by reputation anyway) so I figured it was a safe bet :)

You're right about the total internal (AFAIK don't quote me without doing your own research! ). Here's the deal : HTC hates internal storage working correctly and messed it all up for fun :) seriously though, they made it.that way and I don't know why, but I believe it's a partitioned internal memory. So in your phone you have: internal memory , phone memory, and your sdcard. . There is a way (did it on my last HTC one sv and if I can find the link I'll post it, believe me I'm trying.to find it)to recombine the internal memory into one partition (your wife's phone has this ... Maybe find here Fstab and compare.... Beware I have just found at least 3 in this device).

Like I said if I find the link or remember I'll let us know. That's the trouble with standing on the shoulders of the real geniuses around here... When you gotta do something for yourself .... It takes longer :)
 
Screenshot_2015-03-24-22-11-29 Amber's Phone Stock Cricket.png


Above is the Storage Truth from my wife's stock Cricket phone. It seems that ~6GB is usable but the other 2 is probably used by Sense.

Screenshot_2015-03-24-22-06-53 My Phone Stock v2.5 Kernel.png


Above is the Storage Truth from my phone. It is stock Boost RUU but unlocked and rooted. I am using rbheromax's new kernel that uses /data on /sdext. I'm just testing it out for now but it seems promising. The 9595M is my 10GB ext4 partition.

I am going to go back to the stock kernel and see what it says for my phone. If I remember correctly it said ~2012M for both /system and /data.
 
View attachment 84477

Above is the Storage Truth from my wife's stock Cricket phone. It seems that ~6GB is usable but the other 2 is probably used by Sense.

View attachment 84478

Above is the Storage Truth from my phone. It is stock Boost RUU but unlocked and rooted. I am using rbheromax's new kernel that uses /data on /sdext. I'm just testing it out for now but it seems promising. The 9595M is my 10GB ext4 partition.

I am going to go back to the stock kernel and see what it says for my phone. If I remember correctly it said ~2012M for both /system and /data.
I'm a little confused so I hope you don't mind if I ask couple questions.

1) you said your wife's phone is cricket? A11_ul then? But you said something about the Boost RUU and here phone which is where I get lost. But she is rooted with an unlocked bootloader and no other mods right?

2) you are using a custom kernel on your device and built in to this custom kernel is an SD / internal memory swapper? Right? So when you phone lists 10gb of /data the 10gb is a partition on your sd card right? And when you nav to ext_sd (or whatever it is on this device) the space there is equal to what /data *used* to be?

I just always want to read what the other person meant not my own interpretation :)

From the reading I have done, some of these devices had 6gb or 8gb depending on the carrier (just like the 64bit option is only on specific decices) I guess they just figured most folks would never know because they don't delve into their devices that far.

I am still looking for that fix that I've been bragging about. It worked on a previous device and it'll work here dammit! :)
 
I'm a little confused so I hope you don't mind if I ask couple questions.

1) you said your wife's phone is cricket? A11_ul then? But you said something about the Boost RUU and here phone which is where I get lost. But she is rooted with an unlocked bootloader and no other mods right?

2) you are using a custom kernel on your device and built in to this custom kernel is an SD / internal memory swapper? Right? So when you phone lists 10gb of /data the 10gb is a partition on your sd card right? And when you nav to ext_sd (or whatever it is on this device) the space there is equal to what /data *used* to be?

I just always want to read what the other person meant not my own interpretation :)

From the reading I have done, some of these devices had 6gb or 8gb depending on the carrier (just like the 64bit option is only on specific decices) I guess they just figured most folks would never know because they don't delve into their devices that far.

I am still looking for that fix that I've been bragging about. It worked on a previous device and it'll work here dammit! :)

1. Yes her phone is on Cricket. I was talking about my phone when I said the Boost RUU. I used it to get my phone back to stock. I said she is not modded at all, my phone is. Read it again. Maybe I should have had the descriptions above the pictures, they are below them.

2. Yes, I am testing rbheromax's new custom kernel on my Boost phone, the second picture. It uses the sd card for /data.

You're probably right. It seems my device has only 6GB. 2GB for /system, 2GB for /data, and 2GB for Sense. I could be wrong, though. The 64-bit device is sold in Europe/Australia.
 
Okay So here's what I have done and you can do it to if you like. If your smarter than I am it will probably be much easier. Thats always the trade off for me. I could learn the easy way or just break out the elbow grease. Here's the elbow greasy way.
Dont forget to take a backup if something goes wrong
1) Download the file I referenced earlier (the storage mod from old.splatterhand on xda)

2) Unzip and remove "vold.fstab"

3) Part that required elbow grease. Replace old vold.fstab with the one from the zip. The vold.fstab file can be found in /system/etc Now what I had to do was open the new fstab on my pc and the old fstab on my device and manually delete the old and replace with the new. For whatever reason the File manager wouldnt let me do what I wanted to do (just put the damn file where it goes --> delete the old --> reboot) because it said it was a read only file system. I checked the permission and they said read and write, but whatever. Quicker to do what I did then look up how to chmod the correct files.

I know I rambled. Just get the vold.fstab on your device to look like the one in the zip any way you can. My device works still and the storage is all in one spot now.

View attachment 84480

I wish the phone came like this :)

If you do this... it will :) .... er I think ;)

Under settings -> Storage I no longer list "App storage" and "Phone Storage" . Just Phone Storage to the tune of 4gb. Which is what my spec sheet says. 4gb internal storage, 1gb RAM ...blah blah blah.
 
Not done yet I guess. I've been wrestling with this for a while, I think I've got it covered but if you guys wanna weigh in, that would be alright with me :)

My external sd (ext_sd) was partitioned for use with link2sd and since I used this fix I decided to reformat and just have one partition again. Big mistake. You know when they say, if it any broke dont fix it? Yeah..... So, the report ition broke my sd and I had to deep format on the pc to get it back (which was weird because a surface scan shows no errors) and in the process (quite unbeknownst to myself) I lost my nandroid (@#?!&!) and now I need it. Which is fine because there is a stock backup over @ xda (whew!). So I just gotta get somewhere with a decent connection so I can get it in less than a day. None of that is a problem beyond having to re-debloat and reapply the few modifications I've done.

The problem comes in with why I decided I needed to restore. I was playing with Titanium and tried to integrate updates into the rom, and all hell broke loose. Stuff quit, other stuff said "___ needs to be uninstalled and then reinstalled" Google play services disappeared and all sort of other shenanigans. No biggie I though, ill just restore (well we already discussed that). I got a "not enough space" message when I tried to get a backup. No biggie I said, ill just use Titanium to move some of these apps to the SD card and free up some space, or ill change the download directory to the ext_sd and be fine. Nope. Nope. Nope. Not that simple I guess.

The apps that were supposed to go to the SD didn't move... Well it said "batch Operation complete" and should they were moved, but no space was freed and when I open Titanium to check they were still on internal storage. Similar trouble with changing the dl directory.

My impression is that the ext_sd mouthing point needs to be corrected in the vold. Fstab but im not sure of the particulars (because I just copied the other fstab over to the new device, not knowingly made an appropriate and meaning full modification. ... It could have worked though) So this post is two fold. A warning to be more carefull than I was, and a request for some knowledgeable help to save my eyes a little reading :) thanks
 
Last edited:
If you don't mind waiting, rbheromax will have a kernel that links /data to ext_sd. I've tested it and it is working perfect. Soon we will have no need for Link2SD. So far, when it does come out you will have to partition your sd card before you flash the kernel. I tried a worst case scenario, in which someone would flash the kernel without having their sd card partitioned and the phone did not boot up, at all. It got to the HTC screen and I let it sit there for about 10 minutes and nothing happened, not even really a boot loop, it just froze. I tried to hold Down + Power so I could try something in TWRP, but that did not work. The only thing that will work is a battery pull. I don't know if it will get changed where that does not happen but those are my findings so far.

I think you should talk to rbheromax. I don't know much about vold.fstab and I don't really plan on learning about it at the moment. I'm focusing on some easier tasks. If you check out the posts at xda, I try to help with easy stuff like how to get boot animations to work and anything else that is a quick fix. That fstab stuff is a little too over my head and it sounds stressful.

I strongly suggest you partition your sd card for now, use Link2SD, and leave Titanium Backup alone. Integrating updates is a no go. Every single time I have done that, it has broken things. This phone does not like it at all. I integrated the Gallery, rebooted, wiped Dalvik and cache and thought I was fine, then it started to force close and there was no way to fix it. I tried that twice and got the same results. The 2 other big apps that don't like it are the Play Store and Google Play Services, as you found out. HTC really wants us to waste space it seems. On my Samsung Galaxy Rush, I could do whatever I wanted with Titanium with no repercussions.
 
Back
Top Bottom