[Q] Partition Mount Points. - Nexus 7 Q&A, Help & Troubleshooting

I did a search here and on Google of course and couldn't find any definitve information.....but, does anyone know the partition mount points for cache, system, data, and boot?
I just got my Nexus 7 and one of the things I missed dearly from my Rezound was a Superwipe script, so I'm trying to modify the one for the Rezound to work for the N7. Any information devs could provide would be greatly appreciated.
P.S. Once I get it working, if I get the permission from the creators of it, I will release it here for everyone.

Good thinking, I'll make a look when I get a minute and see if I can help
Sent from my Nexus 7 using xda premium

I am interested in this too. I want to port my AIO wipe tool. I can get /system from a ROM install script. If it's possible, using ls -l (I think) and matching the output from that to the output from mount in terminal emulator. I plan to do the research either over the weekend or tomorrow evening.
Sent from my LG-P999 using xda premium

Волк said:
I am interested in this too. I want to port my AIO wipe tool. I can get /system from a ROM install script. If it's possible, using ls -l (I think) and matching the output from that to the output from mount in terminal emulator. I plan to do the research either over the weekend or tomorrow evening.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
This is taken from the android kitchen op as a method for finding the mount points within a specific Rom. It should work for any one in the dev section.
"If the stock ROM images for your device contain the recovery.img file, extract its files from the kitchen menu: Advanced --> Tools for boot image --> Extract from boot.img/recovery.img in any folder. Then, open up its ramdisk folder, and look for /system/etc/recovery.fstab or /etc/recovery.fstab or similar FSTAB file location. Open this file to find the mount points." Hopefully this helps ya
Sent from my KFTT using xda premium

Sounds viable.
Sent from my LG-P999 using xda premium

Волк said:
Sounds viable.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Ya you don't necessarily need to use the kitchen to extract the img files you can use any 3rd party to do it because really your only observing the files not changing anything
Sent from my KFTT using xda premium

Also, just remembered that CWM recovery logs usually have that too. Going to check if I can find a log that will open, for some reason the ones in /cache/recovery/last.log won't open for me.
Edit: CM file explorer worked fine to open it, but the log didn't have the actual partition numbers. If someone gets the info, please post, otherwise, I will see what I can do at work tomorrow.
Sent from my LG-P999 using xda premium

A friend informed me on how to get the mount points info through a dB, so I did that. The person who made the flashable Superwipe is looking into it tomorrow and then I'll test it when he's done and if all goes well, see what he says about posting it in the dev forum for everyone.
Sent from my Nexus 7 using Tapatalk HD

http://forum.xda-developers.com/showthread.php?t=1739119
@OP I guess your search-fu was off, I found that in under three minutes.
For anyone's future interest I found it by searching for: nexus 7 partition layout xda
Edit: Will do some peeking at a ROM script tomorrow (if I have time at work) and port my tool. Last time I ported this to a device with JB native was SGS3 and the person who flashed a ROM afterwards got an error about 'error encrypting' he couldn't tell me anything more and I don't have that device and don't have that issue with my G2x's hacked JB, so I said eff it.

Related

Installed Modules copied over at 0k??

So i have upgraded to the new r11 zimage and tried to install the latest modules but only some have copied over as others have copied but at 0k??
there are nine that will not copy over
Any ideas?
Enough free space?
Did you copy it using Android's USB mode? That tends to corrupt files, for installing modules I use Android Commander.
Yea plenty of free space others have copied fine. It's copying the file over but its empty 0k I'm using a root explorer to copy over as there are a few files to copy with this update
Sent From My HD2 using xda Android app
I shall take a look at that
shadiku said:
Did you copy it using Android's USB mode? That tends to corrupt files, for installing modules I use Android Commander.
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
So I have installed android commander and got that working and when i push the files that are missing it says no space left on drive so I'm gonna search that now any help here is appreciative
Sent From My HD2 using xda Android app
nope
still no joy, the only thing i can think of is the android file system has become corrupt?
android is working still so ill just wait for a build with the latest kernal
your trying to copy the files without root privileges.
in the term the first thing you need to do is type su
that will change the $ to a #
then copy the files.
cp /sdcard/*.ko /system/lib/modules
I shall try that but I wonder why some went over then but others did not
Thank you
aarons6 said:
your trying to copy the files without root privileges.
in the term the first thing you need to do is type su
that will change the $ to a #
then copy the files.
cp /sdcard/*.ko /system/lib/modules
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
No that didn't work still says no space left on device
DJGurth said:
I shall try that but I wonder why some went over then but others did not
Thank you
Sent From My HD2 using xda Android app
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
you have too less space in your system.ext2 data file.
see here: http://forum.xda-developers.com/showpost.php?p=8103070&postcount=813 and the following posts for solutions!
Brilliant that was it, wonder why that post didn't show up in my search ? Thanks for your help
Sent From My HD2 using xda Android app

ADB works but fastboot does NOT

I don't know what's going on, and I've been searching for an answer to this for the past 2 hours. I have the latest SDK installed. I'm running the cm7 alpha build, latest one. ADB seems to work just fine. I just typed
adb reboot bootloader
bam, my mt4g is in fastboot mode.
I then typed
fastboot flash splash1 splash.img
and fastboot is not a recognized internal or external command, operable or batch file.
Seriously getting frustrated. I'm gonna smoke a bowl and come back a little more calm. lol
http://dl.dropbox.com/u/11228290/fastboot
Put that in c:\windows\system32
then try your command again.
And then ship the bowl this way.
I'm about to try this. If it works I'm gonna kiss you. Its been hell and a half trying to find this answer. lol
Sent from my HTC Glacier using XDA App
No go. Still the same error.
Sent from my HTC Glacier using XDA App
/b/rotherJudas said:
No go. Still the same error.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
oh. My bad, thats the linux version. You need the windows version. I have a .bat for that.
Just run the file called adbonly.bat
and feel free to look through the file if you get scared that it asks for admin rights. Just needs to be elevated to write to system32. Then you can run your command from anywhere.
I actually made this as part of a seperate project, but it comes in handy if you need adb and fastboot quick and convenient like.
I finally figured this out. When the sdk updated (changing ADBs location from \sdk\tools\ to \sdk\platform-tools\ it didn't move fastboot.exe or any other files. All I had to do was cut all the files from \tools\ and paste to \platform-tools\
Hopefully this wont cause more problems down the line, which it ALWAYS does with winblows. Lol.
Sent from my HTC Glacier using XDA App
/b/rotherJudas said:
I finally figured this out. When the sdk updated (changing ADBs location from \sdk\tools\ to \sdk\platform-tools\ it didn't move fastboot.exe or any other files. All I had to do was cut all the files from \tools\ to \platform-tools\
Hopefully this wont cause more problems down the line, which it ALWAYS does with winblows. Lol.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Yeah that happens. But I swear my .bat would have worked too. lol.
I'm sure it would have. After running your cm7 rom I have total faith. I just didn't want to edit too many system folders on this craptop. Its my 4 year old sisters. Lol.
Sent from my HTC Glacier using XDA App
Thank you so much. I spent an hour last night trying to get clockwork on my friends MT4G and had the same problem.
Looked at my comp when I read this post this morning and that was it, fastboot was still in the old tools folder.
Don't you love how "correcting" our state of mind can change how we see things.
Thanks again.
Sent from my HERO200 using XDA App
pdug said:
Thank you so much. I spent an hour last night trying to get clockwork on my friends MT4G and had the same problem.
Looked at my comp when I read this post this morning and that was it, fastboot was still in the old tools folder.
Don't you love how "correcting" our state of mind can change how we see things.
Thanks again.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Yeah, lol. I knew it would be something stupid like that. I'm not sure if my environmental variable was set up wrong or what. I have it set to C:\AndroidzSDK\
Should I set it to C:\AndroidSDK\tools\
Or maybe
C:\AndroidSDK\platform-tools\
?
Sent from my HTC Glacier using XDA App
Please post questions in Q&A section.
So I'm just now installing the SDK on my gf's computer and it puts ADB in /tools and Fastboot in /platform-tools. Fastboot refuses to run.
Code:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this problem.
What's this about?? I downloaded the sdk.zip (the installer exe wanted me to install the java jdk, which I definitely don't need) and extracted it to C:\android-sdk-windows. Then I ran the SDK manager and installed the platform tools. Should I copy the platform-tools contents into tools or the other way around?
And why would they give me an SDK with a non-working fastboot? Kinda pissed right now...
EDIT - Copied contents of \platform-tools into \tools (DID NOT REPLACE ANY FILES!) and now everything works.
I would still like to know what was going on with this, and is there any advantage to adding the environment variable? I'd like to be able to run commands from any directory if possible, instead of having to cd all over the place.

Minimod recovery for xt720

Thanks go to fufu he developed it for milestone and I have moded for the xt720.
Sent from my XT720 using XDA Premium App
I did this on my phone labtop down the link is my Facebook .
Name mike benner profile picture is a hung over woody woodpecker any body can view my wall I hope to have link on this page by Tues.
Sent from my XT720 using XDA Premium App
Minimod zip has open recovery and update zip.
1.move current open recovery.2.unzip minimod.3.put the new open recovery main sdcard. You need know to reinstall open recovery not apk but from your program menue. Then go into open recovery and do an update. This update is already in the updates so you don't need the update I sent I forgot I had put it in open recovery.
Sent from my XT720 using XDA Premium App
This can do so many things its nuts just a threw 1.remove system apps. 2.you change basebands. 3.you can root. 4.it really makes a real boot and system backup. I have link but I can't post it keeps failing go to my Facebook. Very important you will go into regular open recovery then run script run mod it can be difficult to go into new recovery but never failed yet.
Let know if you have any problems.
Sent from my XT720 using XDA Premium App
zip has been download no good.
Okay finally got it download zip and download link inside any issues let me know.
Sent from my XT720 using XDA Premium App
i will take a look to make MiniMod OR compatible to XT720
some features may not work right on xt720, cause i never test... but i think most features will be work...
the overclock feature may not work right, but if you want special xt720 features, may i can make a xt720 addonpack for MiniMod
but it will take some time ^^ at the moment i'm very busy
these are screen shots I hope.
directions on installing minimod. 1) download zip inside contains download address just click on it.2) move oringal open recovery I would save it some where.3) unzip minimod zip their is also an update include and one I forgot I had put one in open recovery already so out one really not needed 4) put new open recovery on main part sdcard.5) install uupdated I included. 6) reinstall open recovery not apk but in your menue of your programs.7) boot in to recovery when it boots up you will see are old recovery this is normal run all three scripts and then go back you should see minmod then.
Your ZIP-archive from 4Shared doesn't contain anything.
this new link will sorry for mix up
This is only for 2.2.1.
Sent from my XT720 using XDA Premium App
If you download use opera mobile.
Sent from my Milestone XT720 using XDA Premium App
I download it on my PC and yes, I have 2.2.1 khalpowers MIUI.
There's nothing in it.
Try opening the zip with 7zip
Ok went to check on download everything is working just redownload it. Keep in mind thisfrist download is only link to download.
Sent from my XT720 using XDA Premium App
If you have trouble downloading send me by message email address and I will send it to you.
Sent from my XT720 using XDA Premium App
mchlbenner, why dont dont you just post link to the project page. http://code.google.com/p/minimod/ . im sure just replacing the open recovery folder on the sdcard with the one from this zip will work, just like androidiani. i dont have have my phone to try it out but im sure its the same.
P.S. there is an edit post button so dont have to keep creating new posts
Sorry but my English is very bad and I'm not getting what you're trying to say.
mchlbenner said:
directions on installing minimod. 1) download zip inside contains download address just click on it.2) move oringal open recovery I would save it some where.3) unzip minimod zip their is also an update include and one I forgot I had put one in open recovery already so out one really not needed 4) put new open recovery on main part sdcard.5) install uupdated I included. 6) reinstall open recovery not apk but in your menue of your programs.7) boot in to recovery when it boots up you will see are old recovery this is normal run all three scripts and then go back you should see minmod then.
Click to expand...
Click to collapse
No hard feeling but from this tutorial it's hard for me to understand what exaclly should I do. As far as I understand you I must:
1. Download Minimod for XT720
2. Backup my OR Folder from SD to PC
3. Extract Minimod.zip and Copy it to SD Root
4. Go to OR and apply updates
5. Go to System Recovery and hit "Install Recovery System"
6. Reboot to OR
7. Install some scripts that should be there
Am I getting you right, and did I missed something?
Thanks!
P.S. At the moment I'm using nandroindani mod. What are the extra this one and features on is there a way to use/switch both.(I guess not, but must ask at less).
easye420 said:
mchlbenner, why dont dont you just post link to the project page. http://code.google.com/p/minimod/ . im sure just replacing the open recovery folder on the sdcard with the one from this zip will work, just like androidiani. i dont have have my phone to try it out but im sure its the same.
P.S. there is an edit post button so dont have to keep creating new posts
Click to expand...
Click to collapse
Exaclly what I was thinking...

I can't delete any files on my nexus 7?

My nexus 7 had slowed down recently. So I was advised by someone here to reinstall the stock rom. So I backed everything up that was on it and installed the latest version of android (4.2.2). It worked. It's not slow anymore. But there's one problem. I can't delete any files on it using es file manager. I get a message saying "cannot delete some files. Please make sure that your storage is not mounted as read-only". I don't know what that means. Can someone help me?
Sent from my Nexus 7 using xda app-developers app
You can delete unwanted files straight from TWRP Recovery. TWRP > Advanced > File Manager >SD Card > Select Items > Delete.
Well that worked. But it's too much trouble to have to go into TWRP just to delete a file. Why can't I delete it with ES file explorer like I could before I reinstalled the stock rom?
Sent from my Nexus 7 using xda app-developers app
You don't state if you're rooted....
Yes it's been rooted.
Sent from my Nexus 7 using xda app-developers app
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
danvee said:
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Click to expand...
Click to collapse
Yes. I have SuperSU. It's active with root permissions granted.
TheAltruistic said:
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
Click to expand...
Click to collapse
Hmm I'm not sure I understand. I already put it in rw mode in the es file explorer app under tools/root explorer. But it still won't let me delete things.
Sent from my Nexus 7 using xda app-developers app
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Have you looked into TWRP > Advanced > Fix Permissions?
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hm weird. Under the assumption that you are doing everything correctly, it should work as superuser permissions supersedes all and any limitation unless the file is open preventing it from being written to. If that's the case you will have to go through recovery as Username invalid suggested to edit the file.
Username invalid said:
Have you looked into TWRP > Advanced > Fix Permissions?
Click to expand...
Click to collapse
I just tried that. Unfortunately it didn't work. And it gets worse. It seems like I can't do anything to the file system at all. Meaning I can't create a new file or folder. And I can't edit or delete what's already there. I haven't tried to download anything yet. But that probably won't work either. This is terrible.
Sent from my Nexus 7 using xda app-developers app
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Username invalid said:
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Click to expand...
Click to collapse
I read it. It says to fix it I have to remove and recreate the virtual device and change the size. But I have no idea what that means or how to do it. Why is everything so hard?
Sent from my Nexus 7 using xda app-developers app
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
ezas said:
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Username invalid said:
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Click to expand...
Click to collapse
Thank you. I'm going to attempt to fix it now. Wish me luck.
Sent from my Nexus 7 using xda app-developers app
Do I have to download ADB tool for my PC to use with this?
Sent from my Nexus 7 using xda app-developers app

[N5] [FKU and PAM apps] Default kernel and Per App Mode Swaps.

So, In an attempt to get the configuration talk out of @franciscofranco's kernel thread, I decided to open this "swap meet"
As you may know I've wrote a couple scripts to make it easier to pull a backup of the kernel settings available through the franco kernel updater app.
Preparing files for sharing
Kernel Settings
so, if you want to share your kernel settings, grab the backup-script.sh file from here, run it either through a file manager or a terminal emulator, then head over to /sdcard/settings_backup/ and grab the restore-script.sh file, rename it to <your_user_name-defaults.sh> and post a link to it here.
Per App Modes
If you want to share you Per-App Modes settings, you'll need to use either the franco kernel updater or his stand alone Per-App Modes app, either way, the process is the same, just the file paths are a little different.
FKU App
So, if you use the fku app, go into fku -> Per-App Modes -> Manage your modes and click the BACKUP MODES in the top right corner. This creates an xml file of all your per app settings (one file per mode). These files are stored in /sdcard/franco.kernel_updater/saved_per_app_modes
Create a zip file including the modes you want to share and post it here.
Stand Alone Per-App Modes App
The process for using the stand alone app is the same. Per-App Modes -> Manage, and click BACKUP MODES in the top right corner again, this creates another batch of .xml files... Only they're stored in /sdcard/per-app_modes/saved_per_app_modes/
Once again, Create a zip file of the modes you want to share and post here.
Using Shared Settings
Okay, so you've downloaded the scripts and zips that you want to try out... how do you use them..
Kernel Settings
The scripts are easy, just run them (as root) through a file manager or terminal emulator.. then use fku or an init.d system to set the changes on boot if you want.
Per App Modes
The process for using the downloaded zips is just the reverse of sharing them...
Unzip the file and place the .xml files in the appropriate folder (/sdcard/franco.kernel_updater/saved_per_app_modes if you use fku, or /sdcard/per-app_modes/saved_per_app_modes/ for the standalone Per-App Modes app)
Then go into into your app, back to the manage page, where we clicked the BACKUP MODES last visit, only this time, click the LOAD MODES button.
Now, if you had copied the .xml file to the right folders, you should see the new PAM modules loaded into the list.
I will try to keep my signature link up to date with posted settings, and try to keep an eye out for identical or substantially similar settings.
For those using mobile apps and can't see signatures, here is the link to the scripts.
the backup-script.sh file is in the scripts folder, kernel and pam settings are in the settings folder.
Custom Paths for Per-App Modes
One thing that the stand alone app brought that hasn't (officially?) been ported back to the fku app is custom paths...
Giving you the ability to use any tunable setting in your Per-App Modes. --now in fku
While you can add and edit these easily through the stand alone app (and one reason why I think you should get it) once you know how the files work, thy can also be used in the main fku app...
Because of this, I am somewhat hesitant to give out the directions without approval from franciscofranco... Per-App Modes is a paid app of his and I would hate to take revenue out of his pocket.
Okay, since @franciscofranco has given me permission to release this, here we are...
This Zip file contains all the (useful) per app mode custom paths... to use this DO NOT FLASH IT... this is just a simple zip, nothing else... just unzip it in the right location...
If you use the fku app, then you need to unzip it and move/copy the files from the zipped folder to the franco.kernel_updater/per-app_custom_paths folder.
If you use the standalone per app modes then follow the same directions as fku, but put the files in the per-app_modes/per-app_custom_paths folder
Cautions and Warnings
-Any and all zips you find in this thread should NOT be flashed via recovery, don't try, bad things may happen...
-Permission errors may occur when running scripts from this thread as root. I haven't been able to figure out why, but some roms seems to set various file permissions to 444 instead of the 664 that my script expects... if you do encounter this situation, let me know and I'll give you a quick fix for it (requires adding a line to the scripts)
I haven't added the fix to my backup-script yet because I'm curious what files they are.. I've encountered 2 files so far
- Upon further testing, we've learned that root browser (app) might not work to run these scripts... adb shell and terminal emulator are working properly though. (backup script needed a small tweak as well)
Kernel setting scripts
Nexus 5
STOCK Settings
r46
aow1980
April 17, 2014
The Gingerbread Man
April 13, 2014
Tzfardaya
April 13, 2014
Vomer
July 22, 2014
Per-App Modes
The Gingerbread Man
April 13, 2014
Francisco Franco
May 11, 2014 - Low Power
May 12, 2014 - Games, Low Power
Vomer
May 11, 2014 - Low Power
Subscribed
Sent from my Nexus 5 using XDA Premium 4 mobile app
Subscribed! This is gonna be good! I'll upload a few of my setups soon!
Interesting Kernel settings , will give it a try and test your script. Thanks for sharing. Good luck with your thread
Tapatalk Team SlimRoms
This would be the perfect place to share some custom paths too
Subscribed and I'll see about linking to this thread from my learner lounge
Sent from my Nexus 5 using Tapatalk
The Gingerbread Man said:
This would be the perfect place to share some custom paths too
Subscribed and I'll see about linking to this thread from my learner lounge
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yeah, I've got a zip of ALL the custom paths ready, just working on the write up for them...
and trying to solve a small moral dilemma with them...
This thread could also be used for all the supported fku devices if you were to split up the op into several device specific sections and ask about getting the thread moved to Android General forum. New posts can also be inserted on your behalf but you need to contact a moderator for both of these...
Sent from my Nexus 5 using Tapatalk
The Gingerbread Man said:
This thread could also be used for all the supported fku devices if you were to split up the op into several device specific sections and ask about getting the thread moved to Android General forum. New posts can also be inserted on your behalf but you need to contact a moderator for both of these...
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I know, but I don't have the other devices to get the scripts set up for it.. and I'm more interested in working the nexus 5 right now..
I would have no problem if others wanted to use my scripts as a base for writing their own for swapping
Tzfardaya said:
Per-App Modes
The Gingerbread Man
April 13, 2014
Click to expand...
Click to collapse
FYI, getting a bad zip file here, but the tgbm.zip in your sig works just fine
(damn that was hard to write with auto correct on SwiftKey. Lol.)
Sent from my Nexus 5 using XDA Premium 4 mobile app
WettbackMartyr said:
FYI, getting a bad zip file here, but the tgbm.zip in your sig works just fine
(damn that was hard to write with auto correct on SwiftKey. Lol.)
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
heh, yeah, swiftkey autocorrection is a pain at times..
but I just downloaded through both the pc and nexus 5 and got clean downloads of that zip...
I'm not sure if the two gingerbread zip are different, but he just sent me the current batch today... (hence the date in the name) the others are from when I first worked on the scripts
Tzfardaya said:
heh, yeah, swiftkey autocorrection is a pain at times..
but I just downloaded through both the pc and nexus 5 and got clean downloads of that zip...
I'm not sure if the two gingerbread zip are different, but he just sent me the current batch today... (hence the date in the name) the others are from when I first worked on the scripts
Click to expand...
Click to collapse
Hmmmmmm :-/ I just can't get a good download on my Nexus 5. I'm not complaining tho, just trying to help for other people that may encounter the same. I got the scripts on my end one way or another.
Sent from my Nexus 5 using XDA Premium 4 mobile app
WettbackMartyr said:
Hmmmmmm :-/ I just can't get a good download on my Nexus 5. I'm not complaining tho, just trying to help for other people that may encounter the same. I got the scripts on my end one way or another.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try this one https://docs.google.com/file/d/0B2ar5BB6clkDQ0JfMVQ3NGtucEU/edit?usp=docslist_api I probably won't keep it in my drive long but feel free to get it while its there
Sent from my Nexus 5 using Tapatalk
How do I run (as root) or file manager for script ?where do I put the script file for kernel settings? I open the .sh file and it open and I see just texted files
Sent from my Nexus 5 using xda app-developers app
Just tested The Gingerbreads configuration and I must say I definitely see an improvement from the settings I had previously set. Nice job.
The Nexus 5 advocate (Team Inferno)
Ramone360 said:
How do I run (as root) or file manager for script ?where do I put the script file for kernel settings?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It doesn't matter where the scripts are ran from, you run them either by selecting them in the file browser or running the following commands in a terminal emulator.
Code:
su
Then
Code:
sh <script-name>
Just realize that running the script alone will not keep the settings across reboots...
You need some other way to persist the settings... Either using fku or an init.d system.
My recommendation is fku, use these scripts to set the values all at once, then use the fku set on boot toggles.
All a shell script is is a text file with a series of shell commands, it's only purpose is to run a series of commands in a row to prevent forgetting one or making typos... It's like the old dos/Windows batch commands...
Tzfardaya said:
It doesn't matter where the scripts are ran from, you run them either by selecting them in the file browser or running the following commands in a terminal emulator.
Code:
su
Then
Code:
sh
Just realize that running the script alone will not keep the settings across reboots...
You need some other way to persist the settings... Either using fku or an init.d system.
My recommendation is fku, use these scripts to set the values all at once, then use the fku set on boot toggles.
All a shell script is is a text file with a series of shell commands, it's only purpose is to run a series of commands in a row to prevent forgetting one or making typos... It's like the old dos/Windows batch commands...
Click to expand...
Click to collapse
Sorry I still don't get it. I'm too familiar with terminal emulater. l always use root explorer. I downloaded the file but now my question is how do I run as root.
Sent from my Nexus 5 using xda app-developers app
Sent from my Nexus 5 using xda app-developers app
To run the script from terminal emulator you'll need to first locate the file.. But you need to be root to launch an .sh file.
Type "su" without quotes and let SuperSU prompt you, make sure you grant it root access.
Navigate to the file by using the "cd" command without quotes.
If you're like me..and downloaded it from a browser or Tapatalk.. You'd type cd storage/sdcard0/Download
Then run "ls" without quotes to make sure the file is in there. Once it is make a note of the name.
Type su FILENAME.sh (replacing filename with the actual name of the file) and hit enter. Should have worked. It did for me. If done correctly you should see no confirmation or error message. In Linux no messages are a good thing.
PS : don't forget to grant root to terminal emulator if you haven't yet. Remember to use FKU or init.d to make settings stick after reboot.
Edited to include "su" command for those who don't know how to run terminal emulator as root.
The Nexus 5 advocate (Team Inferno)

Categories

Resources