[Mod][3.24.2011] Tweaks for ANY rom - Thunderbolt Android Development

I could bring these out in a rom, but there are just way too many chefs in the Thunderbolt right now. So why not release a package that will tweak your current rom just as much?
What will this package do?
-Enable init.d support for scripts on startup.
-Enable usb debugging on a clean wipe.
-Add adb root at all times.
IO tweak
-Remount your filesystems(system, data, cache) with less overhead, so you can increase our already incredibly inflated IO score in quadrant. Does it increase real world performance? You be the judge.
Minfree tweak
-Will allow you to keep a higher mount of ram free before Android starts cannibalizing apps to free ram.
rw on boot
-Will allow you to boot at all times with system in rw mode. Handy for adb pushing files to system.
ro on boot
-Self explanatory.
How to use:
Flash kernel via HBoot.
Put PG05IMG.zip on sdcard, and with adb type:
adb reboot bootloader
This will boot to fastboot. All you need to do is hit power to enter bootloader, and it will scan the package and ask to load it. You will know if you have the right package if it says boot.
Note: If you do not have busybox installed, use this:
http://dl.dropbox.com/u/2056318/busybox_1.19_3.zip
Once you have rebooted, take the second package and flash it via clockwork.
When you reboot, all tweaks will be applied for filesystem and minfree. To use rw at boot time:
In adb or terminal emulator, type:
rw_boot (will require you to type su beforehand if in terminal emulator.)
Next reboot will be rw.
For ro:
ro_boot (same thing, type su first if using terminal emulator.)
Next boot will be ro.
In regards to the two above scripts, do not worry if either gives a file not found error. It will still work.
Extra scripts:
sysrw --mounts system as rw.
sysro --mounts system as ro.
Tweaks that did not make the cut:
SD card speed tweak:
I see a lot of rom cooks adding this, but lets face it, HTC added this tweak in before the phone was shipped. I checked. No need to reapply the same thing again. Right, guys? *crickets*
Framework speed up by removing transitions:
Framework isn't eye candy.
Zipalign every boot
Apks can be zipaligned only once. No point in doing this every boot.
Download kernel:
http://www.mediafire.com/?ob2i992sza9y260
Download cwr package with scripts:
http://www.mediafire.com/?7u69f950indjiqe
I will be adding more as time goes on.

good work bud this is gonna be usuful for a lot of people. =)

Sorry for the noobish question but what does "adb root at all times" mean? If I've done the whole rooting process aren't I fully rooted?

Every time i see adryn post something new i pee a little. Guys we are a week in today and already have some great devs.
Sent from my ADR6400L using XDA App

NeutronBomb said:
Sorry for the noobish question but what does "adb root at all times" mean? If I've done the whole rooting process aren't I fully rooted?
Click to expand...
Click to collapse
I have the same question.
ksizzle9 said:
Every time i see adryn post something new i pee a little. Guys we are a week in today and already have some great devs.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Hahahah. Great post.

asshole..you made me buy a new phone

Can I flash this on top of the Virus Rom or no?
Sent from my ADR6400L using XDA Premium App

Well it does say ANY Rom so I would imagine you'd be safe flashing it
Sent from my ADR6400L using XDA App

NeutronBomb said:
Sorry for the noobish question but what does "adb root at all times" mean? If I've done the whole rooting process aren't I fully rooted?
Click to expand...
Click to collapse
Yes, you're fully rooted - which is to say, you have the ability to su and become root - very little that is running is actually running as root.
If you're running stock kernel, when you adb shell, you'll get a $ prompt ... i.e. you're not root yet, but can become so with a quick su. (Oh, and SuperUser will pop up asking you to allow it.) Nothing you do via the adb command (push, pull, etc) happens as root.
If you're running the patched kernel, when you adb shell, you'll get a # prompt ... i.e. you're root now. (No SuperUser prompt either.) Everything you do via adb (push/pull) happens as root.
Point being: yup, you're root'd - but you ain't root until you're root

I will apply this in my next update and will be standard in all my roms. If that's okay with u
Sent from my ADR6400L using XDA Premium App

Jaywan said:
I will apply this in my next update and will be standard in all my roms. If that's okay with u
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
Sure, have at it.

does this kernel retain the ability to fastboot, I keep having trouble with it not working and I am trying to narrow it down.

Thanks Adryn!
This + your debloat + LauncherPro = I'm 100% happy with my TBolt.
You rock dude, I just bought you a beer. =)

Much appreciated.

destroyerbmx said:
does this kernel retain the ability to fastboot, I keep having trouble with it not working and I am trying to narrow it down.
Click to expand...
Click to collapse
fast boot, or fastboot?
fastboot is a feature of hboot, not the kernel.
fast boot is buggy and only works on wifi or 4G. NOT 3G.

Odinist said:
Thanks Adryn!
This + your debloat + LauncherPro = I'm 100% happy with my TBolt.
You rock dude, I just bought you a beer. =)
Click to expand...
Click to collapse
When i get to work here in a bit, Imma try that out. Since I will probably have nothing else better to do haha.
gonna Load this on top of Perfect Storm first and see how it goes.

Everytime adrynalyne posts, an angel gets its wings...
and i tinkle a little bit...

Is there any reason why we couldnt flash the pg05img through CWR?

Other than it not being setup for cwr, and cwr doesn't work to flash kernels yet?
No.

Is it already in your rom?
Sent from my ADR6400L using XDA Premium App

Related

All Uses For ADB For NON-ROOTED Eris

I jumped the gun installed the original and the latest 2.1 leaks, so I am not rooted. I just recently learned how to use the ADB push feature in the tools of the Android SDK to install a custom boot animation and I'm stoked at how awesome it works.
I was wondering what all you can use the ADB push feature for on a NON-rooted Eris. Any help is greatly appreciated.
Thanks devs for all your hard work!
Adding custom boot images.
Thanks jcase! I was seriously hoping that there was there would be other things that I could use it for. Oh well, guess I'll just wait until the Official OTA 2.1 is released, then wait until you genius devs crack it open and get it rooted. Thanks again!
You can make a script to quickly install apps in mass.
#!/bin/sh
echo "Installing apps..."
./adb install apps/app1.apk
echo "app1 Installed."
./adb install apps/app2.apk
echo "app2 Installed."
./adb install apps/app3.apk
echo "app3 Installed."
./adb install apps/app4.apk
echo "app4 Installed."
./adb install apps/app5.apk
echo "app5 Installed."
echo "done"
how do i install ADB on my computer. I downloaded SDk and in the tools when i click or ADB or Emulator it opens and instantly disappears. im running windows 7.
interscion said:
how do i install ADB on my computer. I downloaded SDk and in the tools when i click or ADB or Emulator it opens and instantly disappears. im running windows 7.
Click to expand...
Click to collapse
....
EDIT: check your inbox interscion, I sent you a message in order to keep this thread uncluttered and on subject.
Android22 said:
....
EDIT: check your inbox interscion, I sent you a message in order to keep this thread uncluttered and on subject.
Click to expand...
Click to collapse
would you send me one too i have sdk setup and when i click adb a screen pops up and disapears ,,, help!! please please
trhanks
PM
Jimmie's 2.1 Eris said:
would you send me one too i have sdk setup and when i click adb a screen pops up and disapears ,,, help!! please please
trhanks
Click to expand...
Click to collapse
Sent, check your inbox...
I know this is an old thread, but I just got a replacement eris and i'm trying to avoid signing into the market before I root (for a completely clean install, probably doesn't matter, I'm just funny like that), in which case, I want to install 1-click root before I do anything. So, if someone could point me in the right direction to do an adb install on an un-rooted eris, that would be great.
demmo86rt said:
I know this is an old thread, but I just got a replacement eris and i'm trying to avoid signing into the market before I root (for a completely clean install, probably doesn't matter, I'm just funny like that), in which case, I want to install 1-click root before I do anything. So, if someone could point me in the right direction to do an adb install on an un-rooted eris, that would be great.
Click to expand...
Click to collapse
No need to bypass activation, skip account setup, Settings->Applications->Unknown sources, Settings->Applications->Development->USB Debugging.
Then this plus this:
Code:
adb install erisone010.apk
You are making unnecessary work for yourself - if you want a Nandroid backup of the factory ROM in a near virginal state, root the phone with OneClick (so that a custom recovery gets installed) - NOT including insallation of the engtools (or rootme, whatever it is called), and then perform a factory reset afterwards. (That will clear accounts & account data from the phone, and you can then boot to the recovery to make a backup of the virginal ROM).
bftb0 said:
No need to bypass activation, skip account setup, Settings->Applications->Unknown sources, Settings->Applications->Development->USB Debugging.
Then this plus this:
Code:
adb install erisone010.apk
You are making unnecessary work for yourself - if you want a Nandroid backup of the factory ROM in a near virginal state, root the phone with OneClick (so that a custom recovery gets installed) - NOT including insallation of the engtools (or rootme, whatever it is called), and then perform a factory reset afterwards. (That will clear accounts & account data from the phone, and you can then boot to the recovery to make a backup of the virginal ROM).
Click to expand...
Click to collapse
That's basically what I ended up doing (got impatient and didn't wait for a reply), except I did sign in to the market and picked up 1-click that way. Thanks for your reply though, to my question asked in an attempt to feed my OCD tendencies.
Sent from my FroyoEris using XDA App

Rooting Droid x?

I've been Reading up on the Rooting my New Droid X. Before I try I want to make sure I'm following the correct directions.
Is this what I need to do?
http://alldroid.org/Default.aspx?tabid=40&g=posts&t=493&p=14
or this?
http://forum.xda-developers.com/showthread.php?t=597175
or this?
http://tipsneeded.com/how-to-root-droid-x/
my phone is currently running
Kernel
2.6.32.9-ga42712e
[email protected]#1
Build
VZW
I just want one set of directions that will allow me to get this done. There seem to be different ones, and there not all the same, also many of them are from Jun/July. I dont feel comfortable just testing one after another till I break my phone or Root it.
camero6989 said:
I've been Reading up on the Rooting my New Droid X. Before I try I want to make sure I'm following the correct directions.
Is this what I need to do?
http://alldroid.org/Default.aspx?tabid=40&g=posts&t=493&p=14
or this?
http://forum.xda-developers.com/showthread.php?t=597175
or this?
http://tipsneeded.com/how-to-root-droid-x/
my phone is currently running
Kernel
2.6.32.9-ga42712e
[email protected]#1
Build
VZW
I just want one set of directions that will allow me to get this done. There seem to be different ones, and there not all the same, also many of them are from Jun/July. I dont feel comfortable just testing one after another till I break my phone or Root it.
Click to expand...
Click to collapse
Neither.. use z4root. It's faster and you don't need a computer.
http://www.appbrain.com/app/z4root/com.z4mod.z4root
y'welcome!
Thanks that seems to have worked, but I wonder if it worked? I tried removing some of the bloat according to instructions found on droidx.com, but when I try to use the cmd after "su" in abd shell it tells me access denied. It seems to me that if it was rooted I wouldn't have that problem?
Sent from my DROIDX using XDA App
More details
Following Guide found here
http://www.droidxforums.com/forum/d...ta-3-ways-super-easy-safe-safe-easy-free.html
What is not working
C:\>SDK\tools\adb shell
$ su
su
Permission denied
$ mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Operation not permitted
$
Why?
maybe I should not be messing with things I don't fully understand.... but well that how we learn
I've had my Droid X 2.2 for about two months now and had it customized as far as I could unrooted. All the while, I was compiling a list of features that I'd like that required root.
But still, I didn't have the time to go through the process and possibly debug and/or retest all my apps. (I had jailbroken an iPT3 and an iPad earlier this year and remembered the time required to address fallout).
But then yesterday, while reading tweets, I saw z4root mentioned. I immediately got interested, came to this forum and did a little reading.
I said what the heck, root. So I installed z4root from the App Market and 15 minutes later I had root. (It wouldve been 3-5mins but the 1st attempt was blocked by Lookout. Once i killed Lookout, the 2nd attempt was nearly immediate).
I've installed the apps from my "requires root" list and tested all.
Now I know why they say "A rooted Droid X is a happy Droid X".
@ Camero-
Easiest way to verify root is to download a simple droid x root app and see if it works. No need, really, to use adb shell for simple tasks like this. You can program using Terminal Emulator. I just freeze or rename apps using titanium backup pro. Good luck.
Using z4mod will Droid X stay rooted after reboot/battery pull, or do you have to root it again? Also can this root be un done?
Sent from my DROIDX using XDA App
Works for me, I reboot my phone once a day
vudugan said:
Works for me, I reboot my phone once a day
Click to expand...
Click to collapse
Do you have Clockwork Recovery Mod installed (icon showing in the apps folder) and if so when you reboot your phone does it just boot up or does it boot in Recovery mode?
On my short lived D2G every time I turned it on I it would show the moto boot logo then launch Boot Strap Recovery, if I rebooted same thing. I just don't wan to turn it on and then have to reboot just to get past the bootstrap recovery unless I choose to invoke it.
Just used that app on my buddies droid x and confirmed it worked.

How can I tell if my atrix is properly rooted?

I'm a little confused guys.
I pretty much followed the instructions for part 1 and 2 here: http://forum.xda-developers.com/showpost.php?p=12631216&postcount=2911
I flashed my phone back to 1.2.6 then ran the before update script. Then updated, then ran the after update script. I am able to download .apk files and run them without being pestered. But I tried to run boot strap, and nothing would happen when i hit "Recovery boot". I know the gignger blur installation instructions says to make sure I'm plugged in to an AC charger so I did. Didn't work. I plugged it into my car charger. Didn't work. Tried my USB cable connected to the PC for sh*ts and giggles, but still nothing.
So I though maybe my phone isn't rooted properly? I googled a little and found this: http://androidforums.com/32282-post3.html
I installed the terminal app and ran su and it said permission denied. But I think I am able to access /data/app-private (I type in cd /data/app-private and it doesn't do anything so I assume I'm in the app-private directory, no?)
...So I guess I'm just here to ask, am I going in the right direction to check to see if my phone is rooted? Any other way of checking to see if I'm rooted correctly? I'm not exactly looking for the easy way, I'm looking for the correct way.
Any help is appreciated =)
If you are properly rooted, there will be an application called Superuser in your app tray.
Sent from my MB860 using XDA App
delmarvahockey29 said:
If you are properly rooted, there will be an application called Superuser in your app tray.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I have that app, how come when I su in terminal it denies me permission?
Open up Superuser and make sure it is in your "allow" list.
Sent from my MB860 using XDA App
delmarvahockey29 said:
Open up Superuser and make sure it is in your "allow" list.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
When I open up superuser it only says "No apps in list" under my Apps tab. And hitting the menu button (the button with the 4 squares) does nothing whenI'm in the Apps tab.
Strange... So when you type "su" in the terminal, does it give you a pop-up to allow superuser access?
Sent from my MB860 using XDA App
delmarvahockey29 said:
Strange... So when you type "su" in the terminal, does it give you a pop-up to allow superuser access?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Nope, just says "Permission denied"
Try switching usb settings from none to storage then back to none, and also uncheck usb debug and recheck it. I know when I updated my phone to restore root that is what I had to do or I would get premission denied.
-illusion
rboone18 said:
Try switching usb settings from none to storage then back to none, and also uncheck usb debug and recheck it. I know when I updated my phone to restore root that is what I had to do or I would get premission denied.
-illusion
Click to expand...
Click to collapse
Still no luck, I think I might have lost root ( http://forum.xda-developers.com/showpost.php?p=12685034&postcount=3303 )
How do you even loose root?
Yes, you don't have root. I was in a similar situation when I first tried the Mac version of aRoot. There was a bug in the script so I didn't actually get rooted, but it installed superuser anyway so I thought I was. Anything that requires root will simply fail.
maledyris said:
Yes, you don't have root. I was in a similar situation when I first tried the Mac version of aRoot. There was a bug in the script so I didn't actually get rooted, but it installed superuser anyway so I thought I was. Anything that requires root will simply fail.
Click to expand...
Click to collapse
How did you fix your problem?

SnowMOD: Custom ROM for Black and White Ereaders. [STILL NEED DEVS AND BETA TESTERS]

Alright, this mod is dedicated to mariog, who helped me to not give up on this idea.
Now, on to the MOD...
This mod is a ROM that gives the NST an experience that is as-close-as-possible to legitimate Android. This mod will be flashed using the CWM for NST. There's one problem, I had a release ready, but when I tested it, well that's another story. The point is, I deleted alpha-1 in a fit of rage over it not working, so, I need more devs to help me build this, because A.) I can't dedicate my every waking hour to this. (I'm in school most of the time) B.) Because my first attempt failed even though I looked it over like a Trillion times. Obviously I'm doing something wrong.
In the future, I hope to branch this mod out to other black and white Readers, But at this point, I'm just worried about the NST.
THE MOD WILL INCLUDE:
-The best homescreen possible for the NST (Was using stock 2.1 Eclair launcher, not sure what is best. Launcher 7 looks good)
-Barnes & Noble stock reading apps
-B&N OOBE. (Modified?)
-Android Market/Gapps
-Dropbox included in install
-No bloatware (ie: phone.apk etc)
-Best NST internet browser (opera mini) installed as default browser
-"Chef's freezer" app (look it up)
-Probably more.
-I will also include a minimalistic version. (No: dropbox, browser, freezer, Gapps other than Gmail)
All I need is devs willing to devote just a little bit of their time to this project.
Note: ROM based on android 2.1, I will try to do 2.3 once CM7 support is made for the NST.
Note2: All you readers will be lucky if I get any sort of release anytime soon. Don't rush me. If you want to get this fast, then you can help me! I need beta-testers and devs anyways. No unofficial releases will be made to non beta-testers. If you want them, become a beta-tester!
Origins of SnowMOD
Original Thread: .
First betatester of course.
And I have made progress! Couldn't unzip the stock update file in Mac or Raspbian Linux. (yes I code with a R-PI) Now, I have borrowed my friends windows machine and success! But, it is slow, and not a permanent fix. How do I unzip the update in Linux or OSX? When I try in OSX the .zip file unzips to .tar.gz and THAT unzips to .zip and so on. I am using the regular OSX unarchiver. In Linux, the unarchive just fails. (Any suggestions on that? I'm good with android, but OSX is a mystery to me)
Anyway, I have most of /system/app done, and I am REALLY exited. It looks like this project isn't going to fail, but I NEED MORE DEVS!!!
Mineturtle33 said:
And I have made progress! Couldn't unzip the stock update file in Mac or Raspbian Linux. (yes I code with a R-PI) Now, I have borrowed my friends windows machine and success! But, it is slow, and not a permanent fix. How do I unzip the update in Linux or OSX? When I try in OSX the .zip file unzips to .tar.gz and THAT unzips to .zip and so on. I am using the regular OSX unarchiver. In Linux, the unarchive just fails.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
It might be because the B&N zips are signed and that causes problems with some unzip programs. Stripping the first 0x1a3 (419) bytes off the start of the file takes the signature off and turns it into a unsigned zip that most unzip programs don't have problems with.
I can become a beta tester
Sensation / Tapatalk
I forgot to say thanks for the dedication
Don't mention it, its only fair.
Sent from my NookColor using xda app-developers app
straygecko said:
It might be because the B&N zips are signed and that causes problems with some unzip programs. Stripping the first 0x1a3 (419) bytes off the start of the file takes the signature off and turns it into a unsigned zip that most unzip programs don't have problems with.
Click to expand...
Click to collapse
Cool, what program can I use to perform this action? BTW winrar is working on windows, but I don't have permanent access to that computer.
Sent from my NookColor using xda app-developers app
Mineturtle33 said:
Cool, what program can I use to perform this action? BTW winrar is working on windows, but I don't have permanent access to that computer.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
dd if=signed.zip of=unsigned.zip bs=419 skip=1
YES! Thank you. i will try that.
Getting to work now... Using my Raspberry Pi.
Sent from my NookColor using xda app-developers app
If you still need beta testers
Or a designer, i would like to help out!
I've decided to stick with reader only mode for a while after I accidentally triggered a wipe with the NookColor Tools application, but I'll reroot and test as well if needed when the time comes.
Mimefly: yes, I still need testers, and by designer, I'm guessing you mean dev.
Neoman: OK, I'm including NC tools unless you know of a different way to enable 3rd party apps.
Sent from my NookColor using xda app-developers app
Mineturtle33 said:
unless you know of a different way to enable 3rd party apps.
Click to expand...
Click to collapse
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
sqlite3 settings.db
update secure set value=1 where name='install_non_market_apps';
.q
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Thank you Renate NST.
Now I just want to know, how many people want NookColor Tools in this?
How many people want an alternative?
Sent from my NookColor using xda app-developers app
NCT is quite useful, just also useful to know that certain options within it trigger a no confirmation reset to stock. I wasn't intending to deride it. Haven't rerooted since I realized the only tablet mode features I'd been using with any regularity were replacing the screensaver banner with an "if lost, contact" message and a persistent battery bar, with occasional use of a third party reader to download new books without connecting it to the computer
I was already aware of this issue with factory resets. That is why I am wary of including NCT in the ROM.
PROGRESS:
After getting tons of help from friends, I am pleased to announce that release #1 is coming VERY soon. Lots of help has significantly sped up the development process.
What I did:
-adb pushed my modified /system/app (Everything worked great!)
Release will include:
-Launcher7
-Amazon App Store. (No Android Market YET, sorry)
-ADB Konnect.
-Device Registrator
-Opera Mobile
What I don't have working YET:
-Bloatware still exists in /system/app (ie: Phone.apk, Messaging.apk) I don't yet know if it is safe to simply delete them. Release #2 will include a fix.
-No Chef's Freezer. (I have no excuse, sorry)
-No NookColor Tools. (3rd party apps is enabled)
-I don't think that this will be CWM flashable. It will probably be a dd .IMG file, but I am currently not sure.

Easy guide to root your tablet and keep your warranty

I must write this guide because I spent yesterday 6 hours of doing all of following steps (together with 2 useless firmware flashes and other worthless stuff). Why? Because it was really complicated for someone who is not really familiar with all the names, definitions etc. I just wanted to have my tablet rooted, keep my warranty and use my external SD card without limitations. It is not easy but it is DIFFICULT to find these few steps on XDA forum in tens of topics with many information posts and garbage around.
Important thing is that you can do these steps WITHOUT loosing any data! (Which I lost yesterday because of my lacking information.)
Here we go (written without tablet around, so some things can be generalised):
I did it on Z2 Tablet 511, firmware .402 (no need to downgrade as I did at the beginning...)
1. Open up your device’s “Settings”. Now scroll to the bottom and tap “About phone” or “About tablet”. At the “About” screen, scroll to the bottom and tap on “Build number” seven times. Make sure you tap seven times. You will then see a notice that you are now a developer.
2. Now you should have Developer options in the System settings. Go there, enable USB debugging.
3. Again in Settings go to Security options and allow installations from Uknown source.
4. Download Easy Root v5 here http://forum.xda-developers.com/showthread.php?p=53448680 (guide is there also)
5. Download Backup TA v9.11 here http://forum.xda-developers.com/showthread.php?t=2292598 (optional for backing up your system info if you will later unlock your phone, install new ROMs etc. But if you need just root, it is not necessary. But it is recommended so you can be sure that you can get your tablet to the default status when it was bought and you can make a complaint in case something else will break down.)
6. Connect your tablet to your pc normally. Just have your tablet switched on and use USB cabel. Let it install all drivers.
7. Run Easy Root v5 (install.bat) and your tablet will be rooted in few seconds
8. For TA backup run Backup-TA.bat. Follow instructions and save your TA files. It will be created in the folder from which you run the applications. It is compressed in one file. Save it somewhere and keep it!
9. Reboot
10. If you want to use external card without limitations, install SD fix https://play.google.com/store/apps/details?id=nextapp.sdfix
For common users who want to install apps which need root and do not want to install custom ROMs or do another tricky stuff this process is enough. Enjoy your tablet now .
There can be maybe some problems with drivers. Then you can try install PC Companion which should install everything for you. http://www.sonymobile.com/global-en/tools/pc-companion/
Another thing from @stress40 who had also problems rooting the tablet:
1) I used easy root tool (on windows with Android SDK installed, ADB drivers etc)
2) extract easyroot v5 onto desktop (keeping extracted files together in a folder)
3) download towelroot.apk and put in Files folder of towelroot
4) reboot phone then plug in phone and double kick install.bat (so you get the ADB message on phone) and most importantly DON'T LET YOUR*PHONE*SCREEN*TURN*OFF (mine did so was stuck at waiting for phone but as soon as I turned it on it was fine) I was rooted in a few minutes after double clicking install.bat.
Good job, beats people having 3 tabs open trying to dissect which steps they should be following and then trying to piece together the timeline of events with other people screaming "read and search"
Sorry you lost data though, have you tried out Sony's backup app that for me was embedded in "tools" folder in app drawer? I hadn't noticed it for a while.
GandalfTehGray said:
Good job, beats people having 3 tabs open trying to dissect which steps they should be following and then trying to piece together the timeline of events with other people screaming "read and search"
Sorry you lost data though, have you tried out Sony's backup app that for me was embedded in "tools" folder in app drawer? I hadn't noticed it for a while.
Click to expand...
Click to collapse
Not a big issue for me at this time. I just had to reinstall everything but data etc. are on cloud plus I have titanium backup just it was not used . For me tablet must be ready for summer when I will be off home. Now it's ok.
And yeah, there are like 8 topics with 49 pages in 5 subforums and then try and go through it. I don't know why there was no simple guide like this before. Only updated long ago created topics in first post plus other mess around in tens of threads.
Good guide for those who want to root it; and exactly the steps I followed, so I can confirm (again) that this method works like a charm.:good:
Thanks worked great for me installed supersu from the play store and all working great nice to see a clear tutorial . Would be good if development jumped up on this fantastic device
Sent from my HTC One_M8 using Tapatalk
Thanks a lot for this compilation of all the relevant steps!
It makes things really easy as there is no more need for searching hundreds of postings
Would it be possible, to also have an "easy guide" for noobs, explaining how to go back to a stock unrooted tablet (in case you should need to send it in for warranty reasons)?
Thanks again!
deb10042 said:
Thanks a lot for this compilation of all the relevant steps!
It makes things really easy as there is no more need for searching hundreds of postings
Would it be possible, to also have an "easy guide" for noobs, explaining how to go back to a stock unrooted tablet (in case you should need to send it in for warranty reasons)?
Thanks again!
Click to expand...
Click to collapse
There's really no need for that. As you will be sending your device back just use PC Companion to install the latest Sony rom. This will automagically do what you want.
Sent from my SGP311 using XDA Premium HD app
guhvanoh said:
There's really no need for that. As you will be sending your device back just use PC Companion to install the latest Sony rom. This will automagically do what you want.
Sent from my SGP311 using XDA Premium HD app
Click to expand...
Click to collapse
Well, seems that was the "easy guide" :fingers-crossed: Thanks!
In several other threads, I read about the need of the so called dualrecovery, which is not part of the above guide.
Is it optional or should I go for it?
btw.: my SGP512 is now rooted and the guide helped me very much! :good:
deb10042 said:
Well, seems that was the "easy guide" :fingers-crossed: Thanks!
In several other threads, I read about the need of the so called dualrecovery, which is not part of the above guide.
Is it optional or should I go for it?
btw.: my SGP512 is now rooted and the guide helped me very much! :good:
Click to expand...
Click to collapse
A recovery makes it easy to 'flash' kernels, roms etc that come in zip files as well as make a nandroid backup. If you see yourself doing this, then yes install a recovery system. As a whole, it doesn't hurt to have one installed.
Sent from my SGP311 using XDA Premium HD app
guhvanoh said:
A recovery makes it easy to 'flash' kernels, roms etc that come in zip files as well as make a nandroid backup. If you see yourself doing this, then yes install a recovery system. As a whole, it doesn't hurt to have one installed.
Sent from my SGP311 using XDA Premium HD app
Click to expand...
Click to collapse
I wanted to have "root" but do not intend to flash any other ROM, therefore, I will leave this part away from my tablet
Thanks for helping!
permission denied
Hey, thanks for a great guide!
All steps went smoothly and for the most part my Tablet Z2 now appears to be rooted.
For instance MyBackup Pro, Tasker, Secure Settings, App Quarantine all work.
However, there are some apps that have issues and they complain about permission denied in /system folder.
Apps are
BusyBox (unable to install binaries),
SuperSU (I was able to install it from Play Store, but as soon as I start it it tries to update to latest version, which fails)
AdAway (fails to apply hosts file)
Any ideas?
Your /system folder is not mounted with r/w permissions.
How do I do that?
I tried this app: Mount /system (rw / ro)
But it did not help
Is the only solution to install a custom recovery? Would be nice to avoid a full wipe if possible.
Sent from my SGP511 using Tapatalk
Your device is not properly rooted.
Please re-root.
All other attemps only lead to problems.
Perhaps you try the XZDualRecovery (rooting is included in the installation procedure), worked like a charm here: http://forum.xda-developers.com/showthread.php?t=2794175
Ok, so you are saying that the method mentioned in the first post in this thread is not the proper way to do it?
The thread you are referring to, the method mentioned there will result in a full wipe, if I understand it correctly?
cewan said:
Ok, so you are saying that the method mentioned in the first post in this thread is not the proper way to do it?
The thread you are referring to, the method mentioned there will result in a full wipe, if I understand it correctly?
Click to expand...
Click to collapse
When I updated my Z2 fone to the 314 rom, I needed to reroot. My /system couldn't be mounted rw. I tried multiple ways to remount it rw and none worked. Installing XZDualRecovery solved my problem. No wipe was necessary, nor was one performed. No data was lost either.
HTH
Sent from my SGP311 using XDA Free mobile app
guhvanoh said:
When I updated my Z2 fone to the 314 rom, I needed to reroot. My /system couldn't be mounted rw. I tried multiple ways to remount it rw and none worked. Installing XZDualRecovery solved my problem. No wipe was necessary, nor was one performed. No data was lost either.
Click to expand...
Click to collapse
That is good news! I will try it
I suggest that the author of this thread should add to the description that full rooting will not be possible for the 314 firmware version.
Thanks for your guide. So I don't need to unlock the bootloader? Are there any advantages of having an unlocked bootloader, if I gain root using your guide?
woggly4 said:
Thanks for your guide. So I don't need to unlock the bootloader? Are there any advantages of having an unlocked bootloader, if I gain root using your guide?
Click to expand...
Click to collapse
Unlocking your boot loader is only needed off you're going to flash non-stock roms like CM or kernels that require it. If you only need root, there's no need to unlock your bootloader.
Sent from my SGP311 using XDA Free mobile app
cewan said:
That is good news! I will try it
I suggest that the author of this thread should add to the description that full rooting will not be possible for the 314 firmware version.
Click to expand...
Click to collapse
No need. The solution to your problem is to install superuser first and then run the latest version of the easyroot tool. It will root your tablet fully, no need for dual recovery unless that's something you want

Categories

Resources