[Q] I'm rooted, now what? - Nexus 7 (2013) Q&A

So I just rooted my Nexus 7. I am not interested in changing the ROM, unless I really should, since I really like the Stock ROM. What are some good things to do while rooted?
A side note: I called Google before I did the procedure and they said unlocking the bootloader would not void the warranty. So, that is interesting.

... now you search and find cool things to do with your rooted tablet.
I'll toss you a breadcrumb though- Xposed. The rest is up to you.

_MetalHead_ said:
I'll toss you a breadcrumb though- Xposed. The rest is up to you.
Click to expand...
Click to collapse
Second that - once you've fiddled with a decent number of Xposed mods, there is no turning back :laugh: :good:
I'll toss you three other subjects related to Xposed - MoDaCo, GravityBox and App Settings You'll come a long way with those!
Also, the first things I install after updating firmware are ROM Toolbox, Root Explorer and Xposed. Then you can do anything!

AdAway.

k3lcior said:
AdAway.
Click to expand...
Click to collapse
Run Linux on it in a chroot ?
Do some hacking to see how the device works
Install busybox once you rooted, if the root process did not install it.
I have a version of busybox (1.21.1) compiled using the android-ndk
As some of the google search pages do not tell you, that if you don't use the ndk it breaks busybox's wget, traceroute, ping etc.
I know their are apps to install busybox, but they want a "donation" which usually I don't mind doing, but not for something I can compile on my own.

Screenshot from my SuperSu
Sent from my Nexus 7 using xda app-developers app

And screenshot of Xposed Modules as an example
Sent from my Nexus 7 using xda app-developers app

x10knight said:
So I just rooted my Nexus 7. I am not interested in changing the ROM, unless I really should, since I really like the Stock ROM. What are some good things to do while rooted?
Click to expand...
Click to collapse
Remove unused build-in apps
Remove unused language files
Remove unused media files
Install add blocker app
Customize your look 'n feel with Xposed modules ...

Related

[NS4G-D720][ROM] Stock 4.0.4/IMM76D DEODEX (Error-Free Decompiling)

Contents:
Android 4.0.4/IMM76D deodexed ROM in flashable ZIP format. Will not produce errors when decompiling APK/JAR files.
Includes Superuser and boot.img root-level access. Does not include radio or recovery.
Changelog:
[R1/02APR2012]: ROM base changed from 4.0.4/IMM26 to 4.0.4/IMM76D. Files updated from stock IMM76D listed below.
Updated File List:
system/app/GoogleEarth.apk (v.6.2.1.6363 :: Earth)
system/app/googlevoice.apk (v.0.4.2.54 :: Voice)
system/app/Maps.apk (v.6.5.0 :: Maps)
system/app/Phonesky.apk (v.3.5.15 :: Play Store)
system/app/Wallet.apk (v.1.1-R57v4 :: Wallet)
system/lib/libearthmobile.so
Notes:
The need to wipe data beforehand is dependent on which ROM you're already using, but is advisable when possible for the sake of simplicity.
[R1] http://www.mediafire.com/file/48w84r8v3qbb8bw/NS4G-4.0.4-IMM76D-DEODEX-R1.zip
So does this mean the SystemUI in this version is able to decompile without errors? If so how exactly did you do this?
Thanks.
ssconceptz said:
So does this mean the SystemUI in this version is able to decompile without errors? If so how exactly did you do this?
Thanks.
Click to expand...
Click to collapse
I used smali and allowed each APK to reference all of the .odex files in the framework, added the classes.dex files to their respective APKs, and zipaligned. I don't know if it matters, but I did those steps through the command line, although I'm sure the process would be a lot faster with a script. If you would like the exact line-by-line process that I used, let me know.
So how is this Rom & all I have to do is download & flash it or is there another step to do?
Sent from my Nexus S 4G using xda premium
Killasmoke said:
So how is this Rom & all I have to do is download & flash it or is there another step to do?
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
The procedures are the same as for other ZIP-based ROMs: download, transfer to phone, and flash through recovery. You may or may not need to erase your data (depending on which ROM you're coming from), but backing up your data beforehand is advisable and never hurts.
I haven't received any feedback regarding this specific ROM yet (I don't know if that's a good or bad sign). The main difference is that it's deodexed and will decompile without errors. I'm sure there are other threads with more in-depth information on IMM26 changes/improvements/issues.
SuperUser
I was impressed with this rom for the first few minutes I used it. But then I found out that my SuperUser app wasn't working. I tried updating the binaries through the app itself but it couldn't gain root access. I downloaded the file again and flashed it again but SuperUser still didn't work. It was the same problem with not gaining root access. So I flash the SuperUser zip file from zedomax's tutorial on rooting the Nexus S 4G and I was able to gain root access. Just thought I'd tell you.
mvilla, how did you fix the superuser root access problem? i am having the same problem when i try to update binary, and im getting permission error when i try to flash recovery in rom manager, i think is because of superuser not working.
I went to nexusshacks.com and downloaded the nexussrootICS.zip file (I think that's what its called). There's a SuperUser.zip file within that zip file. I moved the file to my phone and flashed it in recovery (wipe cache and dalvik cache of course). And its working well.
Sent from my Nexus S 4G using XDA App
mvilla8 said:
I was impressed with this rom for the first few minutes I used it. But then I found out that my SuperUser app wasn't working. I tried updating the binaries through the app itself but it couldn't gain root access. I downloaded the file again and flashed it again but SuperUser still didn't work. It was the same problem with not gaining root access. So I flash the SuperUser zip file from zedomax's tutorial on rooting the Nexus S 4G and I was able to gain root access. Just thought I'd tell you.
Click to expand...
Click to collapse
Thanks for bringing that to my attention. Uploaded an updated version in the OP that addresses the Superuser issue. Sorry for the inconvenience.
satuday said:
mvilla, how did you fix the superuser root access problem? i am having the same problem when i try to update binary, and im getting permission error when i try to flash recovery in rom manager, i think is because of superuser not working.
Click to expand...
Click to collapse
This update is from ChainsDD's site and has the latest Superuser app and binary. Should accomplish the same thing.
XK72 said:
I used smali and allowed each APK to reference all of the .odex files in the framework, added the classes.dex files to their respective APKs, and zipaligned. I don't know if it matters, but I did those steps through the command line, although I'm sure the process would be a lot faster with a script. If you would like the exact line-by-line process that I used, let me know.
Click to expand...
Click to collapse
Hey buddy, I'd LOVE to have the step-by-step, or line-by-line on the process you used to decompile. If you could PM me, or post it up here for everyone to use, that would be great!! I'm kinda new to the decompiling and compiling scene so any help would be great! Also, you said that most devs that use ICS probably use a kitchen to decompile and compile their .jar and .apk files, where is this kitchen? Or are you talking about Android SDK?
sniperkill said:
Hey buddy, I'd LOVE to have the step-by-step, or line-by-line on the process you used to decompile. If you could PM me, or post it up here for everyone to use, that would be great!! I'm kinda new to the decompiling and compiling scene so any help would be great! Also, you said that most devs that use ICS probably use a kitchen to decompile and compile their .jar and .apk files, where is this kitchen? Or are you talking about Android SDK?
Click to expand...
Click to collapse
Did you ever get that step-by-step process for deodexing ICS from the OP? If so, can you send it to me?
I guess the Google Apps are included?
Will there be any further updates to this in the near future, or has this reached the end of the line so-to-speak? Just curious because I like having the natural AOSP of this.
Been using this since the 9th and I have to say it's very smooth. Very stock too, which obviously is what it's supposed to be. Just saying that for anyone who comes in looking for something customized. This is basically pure vanilla ICS.
Sorry for the delayed replies. I've been hammered by other obligations lately.
sniperkill said:
Hey buddy, I'd LOVE to have the step-by-step, or line-by-line on the process you used to decompile. If you could PM me, or post it up here for everyone to use, that would be great!! I'm kinda new to the decompiling and compiling scene so any help would be great! Also, you said that most devs that use ICS probably use a kitchen to decompile and compile their .jar and .apk files, where is this kitchen? Or are you talking about Android SDK?
Click to expand...
Click to collapse
mabry said:
Did you ever get that step-by-step process for deodexing ICS from the OP? If so, can you send it to me?
Click to expand...
Click to collapse
I'll try my best to post the steps later today or tomorrow. Sorry to keep you waiting.
akabadnews said:
I guess the Google Apps are included?
Click to expand...
Click to collapse
The stock Google apps are included. There are now two choices: One has the apps that were included in the IMM26 release (R3) and I have also included the latest app updates and related binary files as (R4).
The Batman said:
Will there be any further updates to this in the near future, or has this reached the end of the line so-to-speak? Just curious because I like having the natural AOSP of this.
Click to expand...
Click to collapse
I have replaced the Google apps that have been updated since the IMM26 release. There are rumblings that the official ICS ROM should be released sometime soon. I'm not holding my breath, but I'll offer the same thing to that release once it comes out.
If you're asking about adding functionality or features, I don't think I'd have anything unique to offer since there are so many other ROMs and customizable updates out already. I have considered including FaceLock functionality, but it adds quite a bit of size to the ROM and honestly, it hasn't worked very well for me. If there is enough interest, I'll include it as a separate revision in the future.
I'm getting a error for the media fire links. New link please?
Sent from my Nexus S 4G using xda premium
xamadeix said:
I'm getting a error for the media fire links. New link please?
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Sorry about that. I don't know what happened there. Link fixed.
XK72 said:
Sorry about that. I don't know what happened there. Link fixed.
Click to expand...
Click to collapse
Thank you
Sent from my Nexus S 4G using xda premium
Does anyone have problems turning Bluetooth on?
Sent from my Nexus S 4G using Tapatalk
XK72 said:
I have replaced the Google apps that have been updated since the IMM26 release. There are rumblings that the official ICS ROM should be released sometime soon. I'm not holding my breath, but I'll offer the same thing to that release once it comes out.
If you're asking about adding functionality or features, I don't think I'd have anything unique to offer since there are so many other ROMs and customizable updates out already. I have considered including FaceLock functionality, but it adds quite a bit of size to the ROM and honestly, it hasn't worked very well for me. If there is enough interest, I'll include it as a separate revision in the future.
Click to expand...
Click to collapse
I would rather have the straight vanilla experience. Thanks for responding.
Edit: Also, touch to focus would be nice for the camera if at all possible. Thanks.

[Q] Switch to superuser

So, given that SuperSU seems to be considered the more reliable root control app, why has PA switched to Superuser? This is really just to satisfy my curiosity, I don't mean any criticism in asking this.
Curious as well. The switch seems to have introduced a redundancy, i.e. SuperSU needing root from Superuser to give root access to apps already granted root by SuperSU. It's a bit confusing...
Lka1988 said:
Curious as well. The switch seems to have introduced a redundancy, i.e. SuperSU needing root from Superuser to give root access to apps already granted root by SuperSU. It's a bit confusing...
Click to expand...
Click to collapse
From the Nexus 4 thread...
http://forum.xda-developers.com/showpost.php?p=51554340&postcount=49014
Awesome, thank you. A little further down from that post mentions that you can uninstall SuperSU from the Play store. Did just that, no more redundancy!
I don't know how you guys manage to sift through 49,000 posts, though...
Search box
Sent from my Nexus 5 using Tapatalk
What uhh..happened to Koushik Dutta.. That's who "was" clockworkmod..superuser.. Etc.
Decide to give it all up is that why it's open source ?
More importantly who's fork have you decided to work with ?
jaladhjin said:
What uhh..happened to Koushik Dutta.. That's who "was" clockworkmod..superuser.. Etc.
Decide to give it all up is that why it's open source ?
More importantly who's fork have you decided to work with ?
Click to expand...
Click to collapse
What? It was always open source and koush still develops it.
Sent from my Nexus 5 using Tapatalk
My own ignorance..
I did a search on the play store & saw a bunch of forks.. none from clockwork though at first glance..

[Q] Just quick question about G3 Tweaks and Xposed.

Hi! I have been figuring out how to root and setup my Sprint lgls990. I was able to root and get SU installed but now I really want to adjust/tweak the device with the G3 Tweaks App. It states that xposed framework is required also but I am not sure how to install or setup Xposed. Should I just install the Xposed APK then install the Tweaks app? No special instructions for the Sprint G3 or anything I should do first? Thanks for any help/advice!
savannahmick said:
Hi! I have been figuring out how to root and setup my Sprint lgls990. I was able to root and get SU installed but now I really want to adjust/tweak the device with the G3 Tweaks App. It states that xposed framework is required also but I am not sure how to install or setup Xposed. Should I just install the Xposed APK then install the Tweaks app? No special instructions for the Sprint G3 or anything I should do first? Thanks for any help/advice!
Click to expand...
Click to collapse
download the xposed apk install it follow the steps(unknown sources and stuff)
then in xposed install framework and then reboot then in xposed go to modules and check g3tweakbox then go to the app and select what you want then reboot again
Thanks! I am going to give it a try soon as my TI backup is finished! I seen something about not using some tweaks with Sprint ls990 is this correct or just someone's bad luck/mistake? If so which tweaks to avoid? I won't bother you guys anymore after this! For awhile anyway! Lol! Thanks again!
savannahmick said:
Thanks! I am going to give it a try soon as my TI backup is finished! I seen something about not using some tweaks with Sprint ls990 is this correct or just someone's bad luck/mistake? If so which tweaks to avoid? I won't bother you guys anymore after this! For awhile anyway! Lol! Thanks again!
Click to expand...
Click to collapse
Well I did install the Xposed app/framework and the tweaks app. Everything is working perfect so far! Thanks again!
Sent from my LGLS990 using XDA Free mobile app

[App] GS5 Native Hotspot Unlocker

This feels like it should go in development to me, so please feel free to move it mods, but since it is technically an app I am putting it here.
Graphics aren't very pretty but initial testing has been good, only one person having problems on gs5. This should theoretically work on any sprint phone, and I plan on adding support for more devices over time, and more features, but here is the first version.
General Directions:
You must be rooted
Click the first three buttons and reboot, then your native hotspot should work.
After the initial unlock you may need to re-click the unlock button from time to time, some updates overwrite the unlock
Add to notifications button works, and will only add when the panel is not already there.
I have had mixed reports about the tether packet counter being disabled, some people reported the hotspot goes down after 10-30 mins when you disable the packet counter.
I have plans of adding vpn support and enabling the button to start the hotspot from within this app, maybe even including my own hotspot framework like some of the other apps.
Just added a diagnostics and request support for my device in the settings menu, this will setup an email with some info I will need to help troubleshoot, just click send after its prepared.
Let me know what you guys think and if you run into any problems. And please by all means try it on different devices and click the request support option to send me the info, I would like to get this working universally.
This has been tested on NKD and NK4 successfully. NKD v2 ROM is known to have problems, if you can manually get a sqlite binary that works into /system/xbin/ the rest will work but it is advised to upgrade instead.
**NOTE**
Please be kind this is my first app I have released, and I do not consider myself a java developer by any means. If you want to help and contribute let me know...
***Big Thanks to the following people for donating***
@eevanskiteboards
***Update***
Just realized that my app is expecting the "which" binary to be there and functional, which is not always the case. This means that having busybox installed may be a pre-requisite for now
**Update 2***
Added 0.2 version, should hopefully work on Boost mobile.
Worked like a charm, many thanks!
Sent from my SM-G900P using XDA Free mobile app
thanks! No luck on NKD v2 rom; works perfectly for me on v3 for anyone who hasnt updated.
fredknex said:
thanks! No luck on NKD v2 rom; works perfectly for me on v3 for anyone who hasnt updated.
Click to expand...
Click to collapse
Honestly didnt even know there was more than one version. If you still have it installed can you run the diagnostic report on it in the settings menu of the app?
Sent from my SM-G900P using XDA Free mobile app
miked63017 said:
Honestly didnt even know there was more than one version. If you still have it installed can you run the diagnostic report on it in the settings menu of the app?
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
The change log indicated some sort of sqlite problem with v2 which is where i assume the problems were from. ill send the diagnostics along when I can
fredknex said:
The change log indicated some sort of sqlite problem with v2 which is where i assume the problems were from. ill send the diagnostics along when I can
Click to expand...
Click to collapse
It doesn't work with v2 because that version didn't have an android 5 compatible sql. I didn't find out until after it was released but it was corrected in the v3 version of the Android L leak I posted.
tdunham said:
It doesn't work with v2 because that version didn't have an android 5 compatible sql. I didn't find out until after it was released but it was corrected in the v3 version of the Android L leak I posted.
Click to expand...
Click to collapse
Interesting, good to know. The app downloads sqlite, but it switches on 5.0 and everything else. So i guess if it didnt like pie binaries that would explain it.
Sent from my SM-G900P using XDA Free mobile app
miked63017 said:
Interesting, good to know. The app downloads sqlite, but it switches on 5.0 and everything else. So i guess if it didnt like pie binaries that would explain it.
Click to expand...
Click to collapse
Yeah, it wasn't any fun trying to find a pie compatible sql but good to know its working. I know its always a WIP but I tried the app briefly, good job. Now if only we can get an OTA and a way to deodex Android 5 dependably, we'll be all set.
Deodex and decompile is close, I got pretty far but definitly still some work needed. I plan to build something into the app that will give you the option of dropping a modified services.jar into place so that you wont have to re-unlock when APNs are updated. Also a few more things as time allows.
Sent from my SM-G900P using XDA Free mobile app
Going to try this out on NE5 today. Never got around to flashing the other zip so going to try this.
miked63017 said:
Deodex and decompile is close, I got pretty far but definitly still some work needed. I plan to build something into the app that will give you the option of dropping a modified services.jar into place so that you wont have to re-unlock when APNs are updated. Also a few more things as time allows.
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
Works great on sprint android 5.0 leak rom
Just an update, it seems the people who are having problems have all been related to a bad copy of sqlite so far. If you are having any issues please try to remove sqlite and use a different app to install it, or grab the binary directly, until I can get it worked out. To remove run as root via adb or a terminal emulator:
su
mount -o remount,rw /system
rm /system/xbin/sqlite3
mount -o remount,ro /system
Then get sqlite installed via the sqlite installer app in the playstore or manually download and install the proper binary. I will try to get things fixed up ASAP but with the holidays upon us it may take a few days.
Problematic roms seem to include NKD v2, 4.4.2 for gs5 sport, and a few other 4.x roms on the gs5.
There is still a lot of work to be done on this and I appreciate the effort from those who have tested, and those who provided feedback.
Thanks and happy holidays
Sent from my SM-G900P using XDA Free mobile app
No go on NE5. Maybe im doing something wrong or missing something. Ill give it another go later tonight.
Hippie459MN said:
No go on NE5. Maybe im doing something wrong or missing something. Ill give it another go later tonight.
Click to expand...
Click to collapse
Assuming root is working, try another method of installing sqlite. There is an app called sqlite installer in the playstore that should do the trick.
Sent from my SM-G900P using XDA Free mobile app
miked63017 said:
Assuming root is working, try another method of installing sqlite. There is an app called sqlite installer in the playstore that should do the trick.
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
NE5 not working for me either. says already enabled, or installed in the dialog, but native tether still rejects. SQLite installed as directed, but nothing on the native tether seems to get me through.
---------- Post added at 07:46 AM ---------- Previous post was at 07:41 AM ----------
robatron said:
NE5 not working for me either. says already enabled, or installed in the dialog, but native tether still rejects. SQLite installed as directed, but nothing on the native tether seems to get me through.
Click to expand...
Click to collapse
But I should also Say, rooted using TowelRoot, Super SU, no custom recovery.
robatron said:
NE5 not working for me either. says already enabled, or installed in the dialog, but native tether still rejects. SQLite installed as directed, but nothing on the native tether seems to get me through.
---------- Post added at 07:46 AM ---------- Previous post was at 07:41 AM ----------
But I should also Say, rooted using TowelRoot, Super SU, no custom recovery.
Click to expand...
Click to collapse
How to manually install SQLite
Lets try this. I am attaching two different versions (just to have) of SQLite. One is for 4.4.2 and the other is for 5.0 (Android L).
Unzip the one for 4.4.2 and using a Root Explorer like the one built into Rom Toolbox, copy it to system/xbin overwriting the one that is there if prompted.
Then long press on the file system/xbin/sqlite, select permissions and change it to 0755.
Note:
Flashable versions of SQLite added if you anyone needs them but must have custom recovery installed.
I wonder if NE5 uses the pie binary like 5.0? FWIW the app downlosds a pie binary for anything with a sys version of 5.0 or higher, and non pie for anything under 5.0. Whatever the case I have a user reporting a similar problem on the gs5 sport running 4.4.2, so maybe I just have a bad copy of the non pie binary but its hard to make that call since sqlite installer also installs something that seems not to work.
For the people having issues, can you also run sqlite from a terminal emulator or adb by issuing the following command:
su
/system/xbin/sqlite3
If the binary is bad it should return a message similar to segmentatuon fault.
Sent from my SM-G900P using XDA Free mobile app
miked63017 said:
I wonder if NE5 uses the pie binary like 5.0? FWIW the app downlosds a pie binary for anything with a sys version of 5.0 or higher, and non pie for anything under 5.0. Whatever the case I have a user reporting a similar problem on the gs5 sport running 4.4.2, so maybe I just have a bad copy of the non pie binary but its hard to make that call since sqlite installer also installs something that seems not to work.
For the people having issues, can you also run sqlite from a terminal emulator or adb by issuing the following command:
su
/system/xbin/sqlite3
If the binary is bad it should return a message similar to segmentatuon fault.
Click to expand...
Click to collapse
I updated my post to include flashable zips. I 'think' the 5.0 pie version runs fine on 4.4.2 too but posted both anyway. Maybe add a link to the OP if you need to later on for manual and flashable versions with howto for manual installation.
Anyway, have a nice Xmas Mike.
TD
Update:
BTW, I did flash something that relies on sql with the pie binary on NE5 and it did seem to take.
tdunham said:
I updated my post to include flashable zips. I 'think' the 5.0 pie version runs fine on 4.4.2 too but posted both anyway. Maybe add a link to the OP if you need to later on for manual and flashable versions with howto for manual installation.
Anyway, have a nice Xmas Mike.
TD
Update:
BTW, I did flash something that relies on sql with the pie binary on NE5 and it did seem to take.
Click to expand...
Click to collapse
Cool thx for the help. Maybe I will add some logic to the app to try each until it finds one that works.
Merry xmas to you too @tdunham
Sent from my SM-G900P using XDA Free mobile app
Update:
Just realized that my app is expecting the "which" binary to be there and functional, which is not always the case. This means that having busybox installed may be a pre-requisite for now

Controlling Applications at Boot? Alternative to Xposed BootManager?

Has anyone found a method of controlling which apps start at boot? The xposed module BootManager worked well, but what do you use with Nougat?
Thanks everyone!
fullydeveloped said:
Has anyone found a method of controlling which apps start at boot? The xposed module BootManager worked well, but what do you use with Nougat?
Thanks everyone!
Click to expand...
Click to collapse
Sadly, this isn't being offered in custom roms. I've requested it. I am using "All in One" Toolbox available in the Play Store.
https://play.google.com/store/apps/...box&pcampaignid=APPU_1_ftTNWOKcB4-9jwT_4KWYCA
I use SD Maid Pro, it's a must-have application from the Play Store. Allows you to force stop applications, stop applications from running on boot with root & much much more ! It's a great application I prefer it over boot manager. Also allows you to clean up excess junk in your device. Give it a shot it's an excellent application !
https://play.google.com/store/apps/details?id=eu.thedarken.sdm
fullydeveloped said:
Has anyone found a method of controlling which apps start at boot? The xposed module BootManager worked well, but what do you use with Nougat?
Thanks everyone!
Click to expand...
Click to collapse
Only app that worked for me since gingerbread: https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Sent from my HTC+10 using Tapatalk
j to the 4n said:
Only app that worked for me since gingerbread: https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Sent from my HTC+10 using Tapatalk
Click to expand...
Click to collapse
+1 to autostarts for Nougat.
Strangely I had already tried autostarts (indeed a classic), only to have it force close on me the first time I opened it. Reading your post made me think it must've been a fluke. I re-installed and indeed it worked just fine.

Categories

Resources