Kali Nethunter. - Nexus 6 Q&A, Help & Troubleshooting
Is anyone here familiar with Kali Nethunter? They released version 3.0 that now supports Marshmallow, however, Kali is installed on top of stock Marshmallow from what I understand. Can anyone elaborate on how this is possible seeing as Marshmallow on the shamu is packed tightly to the brim on the system partition? I freed up about 200 to 300 MB of space deleting system apps I don't need, but this Kali build is over 600MB! Probably uncompresses to be even bigger. Thanks for any insight ant of you can provide! Cheers!
H4X0R46 said:
Is anyone here familiar with Kali Nethunter? They released version 3.0 that now supports Marshmallow, however, Kali is installed on top of stock Marshmallow from what I understand. Can anyone elaborate on how this is possible seeing as Marshmallow on the shamu is packed tightly to the brim on the system partition? I freed up about 200 to 300 MB of space deleting system apps I don't need, but this Kali build is over 600MB! Probably uncompresses to be even bigger. Thanks for any insight ant of you can provide! Cheers!
Click to expand...
Click to collapse
When flashing it most likely removes enough to fit what it needs. It Could also over write stock files. I use Kali so am DL it now to have a look.
zelendel said:
When flashing it most likely removes enough to fit what it needs. It Could also over write stock files. I use Kali so am DL it now to have a look.
Click to expand...
Click to collapse
You were right, I went ahead and flashed it, and the aroma installer had a line that said "clearing up space in /system" and it did. Thanks!
Sent from my Nexus 6
H4X0R46 said:
You were right, I went ahead and flashed it, and the aroma installer had a line that said "clearing up space in /system" and it did. Thanks!
Sent from my Nexus 6
Click to expand...
Click to collapse
Yeah I have the zip and am gonna rip it apart and see just what it is doing.
zelendel said:
Yeah I have the zip and am gonna rip it apart and see just what it is doing.
Click to expand...
Click to collapse
Yea it makes me wonder what it's really removing. I had about 200 - 300 MB free on my system because I removed some Google bloatware, and after the Kali install, I had like, 500 ish MB free. It deletes something big from the system. Wonder what is actually removed.
Sent from my Nexus 6
H4X0R46 said:
Yea it makes me wonder what it's really removing. I had about 200 - 300 MB free on my system because I removed some Google bloatware, and after the Kali install, I had like, 500 ish MB free. It deletes something big from the system. Wonder what is actually removed.
Sent from my Nexus 6
Click to expand...
Click to collapse
Here is what their script removes.
# clean the system from extra/uneeded apps
#
SA=/system/app
# Apks were located in /system/app folder previously
rm -f $SA/PrintSpooler.*
rm -f $SA/QuickOffice.apk
rm -f $SA/CloudPrint2.apk
rm -f $SA/HPPrintPlugin.apk
rm -f $SA/KoreanIME.apk
rm -f $SA/PlusOne.apk
rm -f $SA/PlayGames.apk
rm -f $SA/Drive.apk
rm -f $SA/Maps.apk
rm -f $SA/Magazines.apk
rm -f $SA/GooglePinyinIME.apk
rm -f $SA/Books.apk
rm -f $SA/Magazines.apk
rm -f $SA/Currents.apk
rm -f $SA/GoogleEars.apk
rm -f $SA/Keep.apk
rm -f $SA/FaceLock.apk
# Apks are located in folders now...can we move to /data?
rm -rf $SA/HoloSpiralWallpaper
rm -rf $SA/BasicDreams
rm -rf $SA/Drive
rm -rf $SA/Maps
rm -rf $SA/FaceLock
rm -rf $SA/Books
rm -rf $SA/Newsstand
rm -rf $SA/Street
rm -rf $SA/CloudPrint2
rm -rf $SA/PlayGames
rm -rf $SA/YouTube
rm -rf $SA/PlusOne
rm -rf $SA/PrintSpooler
rm -rf $SA/GoogleHindiIME
rm -rf $SA/GooglePinyinIME
rm -rf $SA/KoreanIME
#rm -rf $SA/LatinImeGoogle
rm -rf $SA/Music2
rm -rf $SA/iWnnIME
rm -rf $SA/Photos
rm -rf $SA/LiveWallpapersPicker
rm -rf $SA/PhaseBeam
rm -rf /system/priv-app/Hangouts
rm -rf /system/priv-app/Wallet
zelendel said:
Here is what their script removes.
# clean the system from extra/uneeded apps
#
SA=/system/app
# Apks were located in /system/app folder previously
rm -f $SA/PrintSpooler.*
rm -f $SA/QuickOffice.apk
rm -f $SA/CloudPrint2.apk
rm -f $SA/HPPrintPlugin.apk
rm -f $SA/KoreanIME.apk
rm -f $SA/PlusOne.apk
rm -f $SA/PlayGames.apk
rm -f $SA/Drive.apk
rm -f $SA/Maps.apk
rm -f $SA/Magazines.apk
rm -f $SA/GooglePinyinIME.apk
rm -f $SA/Books.apk
rm -f $SA/Magazines.apk
rm -f $SA/Currents.apk
rm -f $SA/GoogleEars.apk
rm -f $SA/Keep.apk
rm -f $SA/FaceLock.apk
# Apks are located in folders now...can we move to /data?
rm -rf $SA/HoloSpiralWallpaper
rm -rf $SA/BasicDreams
rm -rf $SA/Drive
rm -rf $SA/Maps
rm -rf $SA/FaceLock
rm -rf $SA/Books
rm -rf $SA/Newsstand
rm -rf $SA/Street
rm -rf $SA/CloudPrint2
rm -rf $SA/PlayGames
rm -rf $SA/YouTube
rm -rf $SA/PlusOne
rm -rf $SA/PrintSpooler
rm -rf $SA/GoogleHindiIME
rm -rf $SA/GooglePinyinIME
rm -rf $SA/KoreanIME
#rm -rf $SA/LatinImeGoogle
rm -rf $SA/Music2
rm -rf $SA/iWnnIME
rm -rf $SA/Photos
rm -rf $SA/LiveWallpapersPicker
rm -rf $SA/PhaseBeam
rm -rf /system/priv-app/Hangouts
rm -rf /system/priv-app/Wallet
Click to expand...
Click to collapse
Alright! That's good to know! I was wondering how it removes so much from system, this answers my question perfectly!
H4X0R46 said:
Alright! That's good to know! I was wondering how it removes so much from system, this answers my question perfectly!
Click to expand...
Click to collapse
If you are ever wondering what it is doing, just unzip the file on the pc and use notepad++ to check out the scripts. Even if you dont understand everything somethings will start to make sense the more you look at it.
zelendel said:
If you are ever wondering what it is doing, just unzip the file on the pc and use notepad++ to check out the scripts. Even if you dont understand everything somethings will start to make sense the more you look at it.
Click to expand...
Click to collapse
I've done this more or less, where should I look? The update script? I've done this a couple of time to see which Android version a ROM was when the post I found it on was not specific enough.
Sent from my Nexus 6
H4X0R46 said:
I've done this more or less, where should I look? The update script? I've done this a couple of time to see which Android version a ROM was when the post I found it on was not specific enough.
Sent from my Nexus 6
Click to expand...
Click to collapse
What I did was look to see what the update script was running and then went and looked at those scripts. It's a bit of tracking but it works
zelendel said:
What I did was look to see what the update script was running and then went and looked at those scripts. It's a bit of tracking but it works
Click to expand...
Click to collapse
Thanks man! Appreciate it! Also, an unrelated side question. If you remove the SuperSU zip from a rom, will it still flash right and just skip SuperSU? Or does the script have to be also changed? Thanks! You may be able to answer this one, if not, that's cool!
Yeah it should. I would imagine to pull off alot of what its pc counter part does it will need root
zelendel said:
Yeah it should. I would imagine to pull off alot of what its pc counter part does it will need root
Click to expand...
Click to collapse
Mostly for multirom use, some roms include systemless root and as of right now, that doesn't flash correctly with multirom. So in theory, removing the super su folder from the rom and then installing normal system root should work?
Sent from my Nexus 6
H4X0R46 said:
Mostly for multirom use, some roms include systemless root and as of right now, that doesn't flash correctly with multirom. So in theory, removing the super su folder from the rom and then installing normal system root should work?
Sent from my Nexus 6
Click to expand...
Click to collapse
To be honest I have never messed with multirom. It has never really worked properly and most roms I run will not support it. So that I can't answer.
zelendel said:
To be honest I have never messed with multirom. It has never really worked properly and most roms I run will not support it. So that I can't answer.
Click to expand...
Click to collapse
Alright. Well cool thanks for all your help man! Appreciate it!
can i flash kali nethunter 3 on top of aosip slim gapps hcb13 ?
i installed their 3.0 the day they announced it but the terminal doesnt work with the error "1.) no title".
other people have the same issue and they cannot seem to reproduce the issue and fix it. had to dirty flash my system image.
even though they say its stable there are many issues hovering over this mod BUT its hell of a mod if it works, makes you proud to own an android; specially a Nexus!
Related
Help create a script to remove .apk's on CM.9999 PLZ??
ok now there is a few apps i dont like that come in the ROM like Voice Dialer Music(dont use it) IM Mail Amazon MP3 Talk now im tired that everything i flash i need to go trew terminal to delete these apps can i like write a script that i can run an do all of these for me? (is that what scripts can do?) can some one help me out
I know that you CAN, I just don't know exactly how... but I'm interested as well, so here's hoping someone with the knowledge lays it on you.
so a specific script can be created?? now to find who can help me go about it
brios86 said: ok now there is a few apps i dont like that come in the ROM like Voice Dialer Music(dont use it) IM Mail Amazon MP3 Talk now im tired that everything i flash i need to go trew terminal to delete these apps can i like write a script that i can run an do all of these for me? (is that what scripts can do?) can some one help me out Click to expand... Click to collapse im about to leave right now, but when i get back i can write it up .. i usually delete VoiceDialer/VoiceSearch and Amazon everytime I flash a new ROM
IIRC, miketaylor00 posted up a script a while back to automatically remove a couple apps. I sent him a message with a link to this thread, but it looks like the board's Dominicano can help.
this would remove the apps: Code: su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /system/app rm VoiceDialer.apk rm Music.apk rm com.amazon*.apk rm IM.apk rm Mail.apk rm Talk.apk Just remove the .txt extension from the attachment
What's the difference between "rm" and "rm -r"?
uansari1 said: What's the difference between "rm" and "rm -r"? Click to expand... Click to collapse the -r switch will make it recursive, but since we're not doing it to directory, we don't need it ... i was gunna add some more to the script to remove the data/data/ directories for each of those apps up there, but i gotta look to see what they are first
thankx this is great i knew i wasent the only1 tired of doing that...
xidominicanoix said: this would remove the apps: Code: su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /system/app rm VoiceDialer.apk rm Music.apk rm com.amazon*.apk rm IM.apk rm Mail.apk rm Talk.apk Just remove the .txt extension from the attachment Click to expand... Click to collapse to remove the data of those apps: Code: su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /data/data/ rm -r com.android.voicedialer rm -r com.android.music rm -r com.amazon.mp3 rm -r com.android.im rm -r com.htc.android.mail rm -r com.google.android.talk
wow even more thankz never new that one of removing the data, im sure this can come in helpfull to others. looking at the script i didnt know it could be that easy(atleast thats what it seems like to me)
brios86 said: wow even more thankz never new that one of removing the data, im sure this can come in helpfull to others. looking at the script i didnt know it could be that easy(atleast thats what it seems like to me) Click to expand... Click to collapse yup just gotta be careful with removing an app that could be dependent on another app
Is there anything stopping me from combining both into one shell script? I was going to make a script to do this myself because I am so sick of that damn teeter app! I will never play it and almost every ROM has it included.
Dyonas said: Is there anything stopping me from combining both into one shell script? I was going to make a script to do this myself because I am so sick of that damn teeter app! I will never play it and almost every ROM has it included. Click to expand... Click to collapse go ahead and combine them .. it should still work as long as you dont interleave the 2 also, the 2nd script doesnt need that mount command since we are messing with /data/ instead of /system/
I hand-typed the commands in console and received this error: "mount: mounting /dev/block/mtdblock3 on /system failed: Invalid Argument Any ideas?
theartar said: I hand-typed the commands in console and received this error: "mount: mounting /dev/block/mtdblock3 on /system failed: Invalid Argument Any ideas? Click to expand... Click to collapse you dd a typo check again look between (mtdblock3 /system) you wrote (mtdblock3 on /system) <~~~ no good this is: mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
ok now that i got my phon working again i was having a SPL problem all done now thank god lol yes thank god i love my phone. anyways one question were do i put this script at?? also foundout MMS is save to remove and use a replacement app and you will work fine for those who use chop or handcent app
xidominicanoix said: this would remove the apps: Code: su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /system/app rm VoiceDialer.apk rm Music.apk rm com.amazon*.apk rm IM.apk rm Mail.apk rm Talk.apk Just remove the .txt extension from the attachment Click to expand... Click to collapse a noob question... how do you run a script? and what do you mean by removing .txt extension... thank you!!!
Save his file to your SD card, and rename it to RemoveApp.sh instead of RemoveApp.sh.txt. To run it, you can go into Terminal Emulator and type "sh /sdcard/RemoveApp.sh", substituting the correct file path where you have saved the script.
uansari1 said: Save his file to your SD card, and rename it to RemoveApp.sh instead of RemoveApp.sh.txt. To run it, you can go into Terminal Emulator and type "sh /sdcard/RemoveApp.sh", substituting the correct file path where you have saved the script. Click to expand... Click to collapse or to save you time get GScript in the market
removing pre-installed apps
How can I remove some of the pre-installed apps? I don't use Peep or some others, but I can't figure out how to get rid of them. I have an uninstaller app, I've gone to Manage Apps, I even used a file manager to find the apk file in /system/app. If I tell it to delete it says it does, but the file is still there. How do I remove them?
If you are rooted: cd c:\android-sdk-windows\tools adb shell su mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /system/app ls (This displays all apps on the phone.) Do this to delete them. rm NameOfApp.apk rm NameOfApp.odex names are case sensitive so look for any caps in the name of the app you want to remove. I removed: rm teeter.odex rm Sprint_Nscar.apk rm Sprint_Navigation.apk rm HtcFootprintsWidget.odex rm HtcFacebook.odex rm IM.odex rm HtcTwitter.apk rm com.htc.StockWidget.odex rm Flickr.odex rm HtcRingtoneTrimmer.odex rm Sprint_TV.apk rm HtcFootprintsWidget.apk rm Flickr.apk rm com.htc.StockWidget.apk rm Stock.odex rm Facebook.apk rm Sprint_TVWidget.apk rm Sprint_NFL.apk rm IM.apk rm HtcFootprints.apk rm teeter.apk rm HtcFacebook.apk rm Stock.apk rm amazonmp3.apk rm HtcFootprints.odex rm com.htc.TwitterWidget.apk rm HtcTwitter.odex rm com.htc.TwitterWidget.odex
Thanks raz! That's exactly what I needed. I knew there had to be a way to get that stuff off of the phone. I will keep a couple of things, I do like the Sprint Football app. But ALL of the Twitter stuff is useless, and Nascar, and the stock stuff......etc. I'd much rather have that space for something useful, like games.
This is a useful resource as well: http://forum.xda-developers.com/showthread.php?t=581976 there's a lot of posts of what people removed and if it caused them problems or not
sgs noob (new from g1) sammy tools uninstall
hey. i just am new to the sammy and so far i'm loving it. However, I'd like a clean install of the OS so I want to get rid of the sammy default apps. I've tried using some tools to uninstall it but thats a no go. Any ideas how I can delete these default apps (ans also which ones are mission critical and so I should keep). thanks
i have made list of files which you can delete safely. you have to be root for this. i did this with the JM2 firmware but it should work with other's too ... "adb shell" to the device and then: Code: su cd /system/app/ rm SamsungWidget_StockClock.odex rm WriteandGo.odex rm MagicSmokeWallpapers.apk rm WriteandGo.apk rm Dlna.apk rm TATLiveWallpapersDandelion.odex rm MiniDiary.apk rm TATLiveWallpapersOceanWave.apk rm DualClock.odex rm MagicSmokeWallpapers.odex rm Days.odex rm aldiko-standard-1.2.6.1-samsung-s1.apk rm SamsungWidget_StockClock.apk rm MiniDiary.odex rm Layar-samsung.apk rm TATLiveWallpapersBlueSea.odex rm SamsungWidget_FeedAndUpdate.odex rm BuddiesNow.odex rm BuddiesNow.apk rm Memo.odex rm Memo.apk rm SamsungWidget_CalendarClock.odex rm TATLiveWallpapersAurora.odex rm Dlna.odex rm TATLiveWallpapersBlueSea.apk rm SamsungWidget_WeatherClock.apk rm SamsungWidget_ProgramMonitor.apk rm SamsungWidget_FeedAndUpdate.apk rm Days.apk rm DualClock.apk rm TATLiveWallpapersAurora.apk rm VoiceDialer.apk rm SamsungWidget_WeatherClock.odex rm SamsungWidget_CalendarClock.apk rm SamsungWidget_ProgramMonitor.odex rm InfoAlarm.apk rm InfoAlarm.odex rm UnifiedInbox.odex rm UnifiedInbox.apk rm MyFiles.apk rm MyFiles.odex enjoy a clean system without most of the sammy-ui crap
cannot thank you enough. someone should make this a sticky with people contributing to this list based on other versions as well. thanks much again
There is already a topic like this. Use search for gods sake. Sent from my GT-I9000 using XDA App
[Q] what stock apps can be removed
what apps can you safely remove i have removed the stocks apk and odex with terminal emulator and a couple others. i have searched the threads and looked and found some help. i would like to find out all apps and widgets that can be removed. like face book, peep,flicker and others.
Here is a script I use to remove a bunch of Sprint apps and such when I install a Sense ROM. adb shell su mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system cd /system/app rm Sprint_Nscar.* rm teeter.* rm LearnMore.* rm HtcFootprints.* rm HtcFootprintsWidget.* rm Sprint_NFL.* rm Sprint_TVWidget.* rm Stock.* rm com.htc.StockWidget.* rm Sprint_TV.* rm Sprint_Navigation.* rm IM.* rm Mail.* rm htcmailwidgets.* rm SDSA.* rm GSD.* rm HtcNaviPanel.* rm SprintZone.* All of these apps are definitely safe to remove. If you just want to test an app to see if it's safe, download Titanium Backup and "freeze" the app. If you have no problems, then it's safe to remove that app. If you have problems, you can simply unfreeze the app, which returns it to normal and you don't have to reinstall the rom.
Thanks for the list. I thought I have seen a post that Facebook and peep cam be hope other can help with a list that can help us all. I have been picking through threads a couple ones here a couple there. Sent from my HERO200 using XDA App
Bloatware removal script
This is just a removal script that removes bloatware. You can edit the script by your own liking in the file: remove_apps/remove_script.sh Just flash in any recovery. But you have to be root and unlocked. This is not my own idea but just made it custom to JB and Xperia phones. If you edit the script just remove / add lines in the file i prefer the Note++ app... and flash. Goodluck to all Code: #!/system/bin/sh ## add here the .apk files you want to delete ## like: rm -f /system/app/Calculator.apk rm -f /system/app/EventStream.apk rm -f /system/app/EventStreamPluginTwitter.apk rm -f /system/app/EventStreamPluginFacebook.apk rm -f /system/app/facebook.apk rm -f /system/app/fast-dormancy-incall.apk rm -f /system/app/fast-dormancy-wakeup.apk rm -f /system/app/FBCalendarSync.apk rm -f /system/app/FBIAppShare.apk rm -f /system/app/FBMediaDiscovery.apk rm -f /system/app/FBMusicLike.apk rm -f /system/app/FBSetupwizard.apk rm -f /system/app/GenieWidget.apk rm -f /system/app/helpapp.apk rm -f /system/app/JapaneseIME.apk rm -f /system/app/PlusOne.apk rm -f /system/app/POBoxSknMono.apk rm -f /system/app/POBoxSknPink.apk rm -f /system/app/POBoxSknSelector.apk rm -f /system/app/POBoxSknWood.apk rm -f /system/app/LiveWallpapers.apk rm -f /system/app/PostViewer.apk rm -f /system/app/retaildemo.apk rm -f /system/app/SemcEmail.apk rm -f /system/app/SEMCFacebookProxy.apk rm -f /system/app/SemcPowerSaver.apk rm -f /system/app/SEMCSetupWizard.apk rm -f /system/app/SocialEngineCore.apk rm -f /system/app/SocialEngineFacebookPlugin.apk rm -f /system/app/SocialEnginePicassaPlugin.apk rm -f /system/app/SocialPane-Apps.apk rm -f /system/app/SocialPane-FeedWidget.apk rm -f /system/app/SocialPane-FriendsWidget.apk rm -f /system/app/SocialPane-StatusWisdget.apk rm -f /system/app/storefront.apk rm -f /system/app/talkback.apk rm -f /system/app/textinput-chn.apk rm -f /system/app/timescaperssplugin.apk rm -f /system/app/TimescapeSpline.apk rm -f /system/app/TwitterPostViewer.apk rm -f /system/app/UpdateCentre.apk rm -f /system/app/PhaseBeam.apk rm -f /system/app/CosmicFlow.apk rm -f /system/app/HoloSpiralWallpaper.apk rm -f /system/app/Galaxy4.apk rm -f /system/app/MagicSmokeWallpapers.apk rm -f /system/app/NoiseField.apk rm -f /system/app/PhotoSlideshow.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk ##rm -f /system/app/.apk The above is an example of my file. Also usable with "Gscript" from the playstore: First of all extract your modified .sh script to your sdcard in the folder "Gscript". In the app go to options and use "add script" and use the file, save and you're done! Now you can load the script Download here: Bloatware_removal_Script_v1.0
Could this script be made to work with gscript for example ? . Will it work if i just paste the text from your post in new script ?
I'll look into it.
mastersjef said: I'll look into it. Click to expand... Click to collapse Thank you :good::good:
MafiaManV said: Thank you :good::good: Click to expand... Click to collapse Oke so use Gscript from the playstore. First of all extract your modified .sh script to your sdcard in the folder "Gscript" in the app go to options and use "add script" and use the file save and your done! Now you can load the script just tested.....
ok, so i downloaded the. zip you included in your first post, extracted the. sh file,........... but after running the script i get this. What am i doing wrong? I use XperiaS
I think it just need root and busybox. Root is not required. But I can be wrong.
i have granted root access, and busybox with smart install installed
EDIT : My bad, sorry
This is a universal script for all xperia phones. Have three Versions. http://forum.xda-developers.com/showthread.php?t=2349568
Just to point to an alternative. Android Tuner's file manager offers to select multiple files. Hit delete and the bloat is gone in a minute. I am sure other file managers are also capable doing this.