[Guide][Updated][MicroG] Breathing new Life into your Shield Tablet - Shield Tablet General

Hello everyone, this is the updated version of this guide. Most will stay the same as in the old guide but there will be a few crucial changes, both good and bad, so choose for yourself (you can always follow the original old guide here). Anyways, the major "update" to the guide will point you to install microG services onto your tablet. I'm doing this because I've noticed that it boosts performance and RAM management quite substantially and because I haven't found an active topic about microG on this xda subforum. Anyways, if you don't know what MicroG is, google is your friend and you can learn more here.
So, here are a few pros to using microG:
Better performance
Better battery life
Better RAM management
Also a few cons :
Many google services won't work perfectly (though most are at least usable)
Google Play Games won't work at all
So in order to use MicroG and lineage OS you are going to have to download a special fork of official LOS from here
This is the main difference between the old guide which you can follow and check out here, and the new guide. Also, if you do decide to use this and don't mind giving up Google play games (Youtube, chrome and other stuff works mostly) you shouldn't flash google apps.
Anyways, this update is going to be the most useful to people (like me) who use the tablet mostly for media consumption and some light games.
Also, you are going to have to make a few tweaks inside the ROM to get google apps to work :
Download F-Droid (very useful) and with F-Droid download Yalp Store (this will be your new Google play store)
Download Google contacts sync app
Give every google app you've downloaded all the permissions it needs manually (quite important, do it in settings -> apps -> some google app -> permissions)
Go through MicroG settings app self check tool and get everything to have a tick
That's about it, I found this to really boost my RAM performance to the point that I could have a few lighter apps open and when I would return to Chrome my 4 or 5 tabs would still stay open, though, your results may vary so please state your opinions about this in the comments. Have fun !
(Also, expect another update to this when we get fully functional Oreo, I will try the new Android GO then and report back if it works well)
Note : please don't hold me responsible if you brick your tablet or lose your data. Like with every other tech related guide, do your own bit of research before jumping into the guide. Blindly following this should work but if you want to lower the chances of messing something up, do your homework before hand, not after you do something wrong

When you say "change the filesystem of /data /cache to f2fs". Is that both Cache and Data?

Both Barrelz said:
When you say "change the filesystem of /data /cache to f2fs". Is that both Cache and Data?
Click to expand...
Click to collapse
Yes, that is what I ment. Here, I edited the OP, also added one more trick I use

Excellent guide, but a quick question, does the pen work properly? I do a decent amount of drawing and note taking with the pen so...
Anyone ? Lineage OS + Pen = ?
Thanks!

DeBoX said:
Excellent guide, but a quick question, does the pen work properly? I do a decent amount of drawing and note taking with the pen so...
Anyone ? Lineage OS + Pen = ?
Thanks!
Click to expand...
Click to collapse
You don't really get any of the extra features for it but it works. Palm rejection and stuff seems to be a little worse but stock seems to frequently have detection issues with the stylus where I need to turn the screen off/on to continue using it and los seems to be a little better about that.

Yeah!

Change filesytem of data, and cache to f2fs?
Hi.
Thanks for this tutorial , but im stuck at "change filesytem of data, and cache to f2fs in BitOBSessiOn's F2FS recovery"
The only thing im able to is wipe data and cache. When push the button for "repair or change file directory" i get wrong parameter or something like that.
What am i missing?
Thanks
Knievel

Two questions, will this work in the K1 tablet and does it really make a difference if you come from stock?
Enviado desde mi Mi A1 mediante Tapatalk

KnieveI said:
Hi.
Thanks for this tutorial , but im stuck at "change filesytem of data, and cache to f2fs in BitOBSessiOn's F2FS recovery"
The only thing im able to is wipe data and cache. When push the button for "repair or change file directory" i get wrong parameter or something like that.
What am i missing?
Thanks
Knievel
Click to expand...
Click to collapse
Hi,
You have to go advanced wipe -> repair or change file system.
Make sure you flashed the multirom twrp (its the one with a dragon or something in its logo).
Also, there are hundreds of video tutorials for changing to f2fs, the procedure is the same on every device, so try making a few google searches if I was not clear enough.

moliverac8 said:
Two questions, will this work in the K1 tablet and does it really make a difference if you come from stock?
Enviado desde mi Mi A1 mediante Tapatalk
Click to expand...
Click to collapse
It works on shield k1 (my tablet is k1), and in my experience it helps to come from stock because then you will be on the latest firmware which is good (better charging etc)

I literally came to the forum to do this. I was using the optimized stock ROM and it was just so bad, i think it may have been my adopted storage.
Anyhow installed this and instantly saw a difference.

Do I need to unlock the bootloader in order to do the installation of this post
?

moliverac8 said:
Do I need to unlock the bootloader in order to do the installation of this post
?
Click to expand...
Click to collapse
Yes, sorry I forgot to mention that
It's really easy to do luckily

hello guys
if I want to go back to stock, what procedure I should to follow? I made backup before to install this rom, I have to restore this only?

evilshinryu89 said:
hello guys
if I want to go back to stock, what procedure I should to follow? I made backup before to install this rom, I have to restore this only?
Click to expand...
Click to collapse
This guide already provides you with the link to stock ROM (it's literally the first step of this guide). Click the link and follow nVidia's guide or just restore from TWRP.

Thanks a lot dude! My Shield K1 feels quite a lot faster now even though it's still kinda slow lol.
I wish Nvidia updated the hardware (More RAM, faster storage) when they released the K1 but oh well. This is good enough for now.

Thank you for the guide!

what app did you use for tweaking the CPU profile

Bitcloud30 said:
what app did you use for tweaking the CPU profile
Click to expand...
Click to collapse
Kernel Adiutor (ROOT) from play store

fpozar said:
Kernel Adiutor (ROOT) from play store
Click to expand...
Click to collapse
Thank you ? will it reset the CPU profile if i unistall the app?

Related

CM 10.2 Issues

Now that CM10.2 nightlies are available for Nook HD and HD+, I am opening this thread as a place to discuss common issues people may face when migrating to 10.2.
I am watching a lot of people posing the same questions time and again on the development thread, so this thread will provide people to share issues and find solutions to their common problems.
I updated to CM 10.2 after a dirty install on 10.1. I immediately regretted the decision.
1) The market would fail to download or update any apps giving [RPC:S-5:AEC-0] error. This issue arises, I believe, because the identity of the device has changed. People have suggested that clearing the cache (setting>storage>cache) and removing and adding your Google Account solves this problem. In my case, at least, it did not solve the problem but I will not stop anyone from trying it, as it is much quicker than the solution to this problem.
2) Clock and Google Music would crash.
So here is what I suggest
CLEAN INSTALL CM10.2 to avoid any problems.
3) I have been using this version of GAPPS
http://forum.xda-developers.com/showthread.php?t=2378992
[courtesy of johje] and have not had any problems with it (except two clock icons in apps which I can live with)
4) Superuser still does not work with 4.3. You have to download this version from
http://forum.xda-developers.com/showthread.php?t=1538053&page=350
[Thanks Sherip for suggesting this solution]
before you could use adaway or Titanium back
5) [Resolved] Lock Screen slider positions does not work. Even if you add or remove shortcuts, your preferences will not be saved.[Edit: After a couple of restarts, now I can see a save button on top, Before that it only showed the reset button.]
6) Finally, for the first few hours after the install, the tablet was excruciatingly slow. so slow that I wanted to go back to 4.2. I think it was because of all the background Google processes and after the first few hours, the tablet is much more responsive now.
I will add more issues here once I found them. Please feel free to share, discuss and find solutions to your common CM10.2 issues.
---
Deafcyclist said:
Sorry if this is a noobish question but what can I do to make a 'clean' install? Just wipe data/factory reset? what other thing I can wipe to 'clean' it up further? Is it possible to completely remove the previous CM for a clean slate install?
thanks.
Click to expand...
Click to collapse
That's what I did. I spent around six hours trying to fix a dirty install over CM10.1. The dirty install preserves your apps and settings (if it works). However, I would suggest that you update your backup (using Titanium Backup or any backup app you use) and then wipe data/factory reset before installing CM10.2. I installed CM10.2 img, gapps and Superuser zip together and restored most of my apps and settings within the first hour.
Deafcyclist said:
Sorry if this is a noobish question but what can I do to make a 'clean' install? Just wipe data/factory reset? what other thing I can wipe to 'clean' it up further? Is it possible to completely remove the previous CM for a clean slate install?
thanks.
Click to expand...
Click to collapse
Make sure you also clear dalvik cache, battery stats and format internal sd. And please don't restore apps from Titanium Backup
---------- Post added at 05:38 PM ---------- Previous post was at 05:32 PM ----------
I installed 10.2 dirty but everything seems to work fine.
Try Greenify donated version it allows you to hibernate system apps to free up RAM
---
kareinanikko said:
Make sure you also clear dalvik cache, battery stats and format internal sd. And please don't restore apps from Titanium Backup
---------- Post added at 05:38 PM ---------- Previous post was at 05:32 PM ----------
I installed 10.2 dirty but everything seems to work fine.
Try Greenify donated version it allows you to hibernate system apps to free up RAM
Click to expand...
Click to collapse
I personally do not think that restoring user apps from Titanium backup will do any harm to your system. I know that it also backups system apps and settings which should not be transferred to CM10.2 but user apps, e.g., Facebook can safely be restored from backup. Just make sure that you have updated the latest version of your apps or else you may have to update them immediately in Play store. Even then, you retain all your settings which is important for me.
Though I have not yet installed 10.2
I really appreciate you starting this thread so I know what I'm in for when I do.
Thanks for the info. Since the only issue I have is some lag that is likely more hardware than software related and one game "Vice City" not working, I will pass for now. Can not be bothered starting from scratch with over 200 apps and about 17GB in total size. Not seeing the value-add in relation to current performance. Comics, video, browsing, emulators, games and Flash all perform fine. A little UI and app start lag seems the lesser of the "evils". Especially since I doubt software can compensate for a 4470 with 760mb of free ram and a older gpu pushing a 1080p display. The lower res Nook has none of the lag and is quite zippy. Only real difference is less than half the pixles to push.
Seems likely I could go through the effort and still have the lag. Added: I am tired of that word "lag". I prefer the "L" word.
rushless said:
Thanks for the info. Since the only issue I have is some lag that is likely more hardware than software related and one game "Vice City" not working, I will pass for now. Can not be bothered starting from scratch with over 200 apps and about 17GB in total size. Not seeing the value-add in relation to current performance. Comics, video, browsing, emulators, games and Flash all perform fine. A little UI and app start lag seems the lesser of the "evils". Especially since I doubt software can compensate for a 4470 with 760mb of free ram and a older gpu pushing a 1080p display. The lower res Nook has none of the lag and is quite zippy. Only real difference is less than half the pixles to push.
Seems likely I could go through the effort and still have the lag. Added: I am tired of that word "lag". I prefer the "L" word.
Click to expand...
Click to collapse
I would say this upgrade is worth the hassle to go through a fresh install. My main motivation to upgrade to 10.2 was the presence of TRIM support which both increase the responsiveness and life of emmc. I have read [Leapliner] the trim app some people installed in 10.1 bricked their tablets so upgrading was the only option. If you make an update of your user apps, a fresh install will take less than an hour. Also make sure to take a nandroid backup. Even if something goes wrong, you can have your old setup back in a flash.
Dirty Install
excalibar001 said:
Now that CM10.2 nightlies are available for Nook HD and HD+, I am opening this thread as a place to discuss common issues people may face when migrating to 10.2.
I am watching a lot of people posing the same questions time and again on the development thread, so this thread will provide people to share issues and find solutions to their common problems.
I updated to CM 10.2 after a dirty install on 10.1. I immediately regretted the decision.
Click to expand...
Click to collapse
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
RageAgain said:
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
Click to expand...
Click to collapse
That's good info to have. I'll try ondemand with cfq scheduler, and see if that helps. The only thing I noticed was that it was "slightly" slower than the 10.1 version. But not horribly so. I'll give this a try and see if it helps.
My stable pre 10.2 nightly salutes all of you folks that jumped in!
I will remain peaking out of a bunker, twenty fathoms below sea level until a common trend of opinion is it is worth it- not seeing that yet.
Unless lag free, I see no reason to take the six hours (really) to download and set-up everything again. 272 apps at 17GB total. So far, some state it is
actually slower and some say faster- net result though at this point seems a net wash.
bpaulien said:
That's good info to have. I'll try ondemand with cfq scheduler, and see if that helps. The only thing I noticed was that it was "slightly" slower than the 10.1 version. But not horribly so. I'll give this a try and see if it helps.
Click to expand...
Click to collapse
That is how I feel too. It is slower but not enough to make me migrate back.
rushless said:
My stable pre 10.2 nightly salutes all of you folks that jumped in!
I will remain peaking out of a bunker, twenty fathoms below sea level until a common trend of opinion is it is worth it- not seeing that yet.
Unless lag free, I see no reason to take the six hours (really) to download and set-up everything again. 272 apps at 17GB total. So far, some state it is
actually slower and some say faster- net result though at this point seems a net wash.
Click to expand...
Click to collapse
stable? you have a stable build? my 10.1 reboots at the worst times
The nightly just before 10.2 version has had zero reboots for me and very low battery bleed in standby. Not seeing how 10.2 is worth it ATM since for every person raving, another is either having issues, or a slightly slower device. This does not include folks that installed over 10.1 rather than start from scratch.
Looking forward to 10.2 with feedback that is more favorable for performance to offset my apathy for starting from scratch.
rushless said:
Looking forward to 10.2 with feedback that is more favorable for performance to offset my apathy for starting from scratch.
Click to expand...
Click to collapse
Understandable. I am not having the same slowdowns and lag that occurred with the 20130814 now that I have updated to the 20130815 of the 10.2. Much smoother and more responsive, as now it never doesn't wake up right away when I push the power button, and the lock screen responds immediately. I have had no spontaneous reboots, and my screen hasn't gone black momentarily at all. Hopefully this positive trend will continue. My only current issue is the apps that no longer work, or no longer work correctly. Still a far larger percentage work without incident than not, and the ones that don't are mostly Android 4.3 problems and not Nook HD(+) problems so they will be fixed eventually.
All in all, I would say that 4.3 isn't as bad as it was initially made out to be...
RageAgain said:
Understandable. I am not having the same slowdowns and lag that occurred with the 20130814 now that I have updated to the 20130815 of the 10.2. Much smoother and more responsive, as now it never doesn't wake up right away when I push the power button, and the lock screen responds immediately. I have had no spontaneous reboots, and my screen hasn't gone black momentarily at all. Hopefully this positive trend will continue. My only current issue is the apps that no longer work, or no longer work correctly. Still a far larger percentage work without incident than not, and the ones that don't are mostly Android 4.3 problems and not Nook HD(+) problems so they will be fixed eventually.
All in all, I would say that 4.3 isn't as bad as it was initially made out to be...
Click to expand...
Click to collapse
I agree. I'm one who said it was slightly slower than 10.1 initially, but after updating to the 0815 nightly version, it doesn't seem to be the case anymore.
Although, I also changed the governor to OnDemand, and scheduler to cfq, like I heard from somebody who got better results with that configuration, on another post somewhere... So I don't know if it was one or the other, or a combination of both. But I have no complaints with the current setup.
RageAgain said:
I did a dirty update, but my results were largely different from yours.
1) Superuser works for me.
2) You used the old gapps (20130726), and I used the new (20130813) so I had no issues with the play store.
3) It was really laggy until I discovered that it only seems to like ( on my tablet anyway ) the ondemand governor with the cfq scheduler.
I have lost a few apps/widgets, but nothing that I miss so far ( stuff like 'Temp + Cpu v2 ), but it screwed up gl to sd until I manually edited its .xml file.
I update to 10.2 20130814 from 10.1 20130813, and it seems to be working but I have a lot more live testing to do...
Click to expand...
Click to collapse
Could you please let us know what you did for the dirty update, I am planning to upgrade from CM10.1 to CM10.2 without loosing the Apps and User profiles(?) For normal updates in CM10.1, I just run the ROM update choosing the Update file (No cache clearing etc, it automatically update without going to CMW recovery mode, at least i dont have to choose any options in this kind of update). If this is not correct method of Upgrading to 10.2, could you please provide all the steps that i need to do. Thanks in advance.
sudheersagar said:
Could you please what you did for the dirty update, I am planning to upgrade from CM10.1 to CM10.2 without loosing the Apps and User profiles(?) For normal updates in CM10.1, I just run the ROM update choosing the Update file (No cache clearing etc, it automatically update without going to CMW recovery mode, at least i dont have to choose any options in this kind of update). If this is not correct method of Upgrading to 10.2, could you please provide all the steps that i need to do. Thanks in advance.
Click to expand...
Click to collapse
First, I am using the TWRP recovery and not the CMW, as I just wanted the touch...
The steps that I took were just, in TWRP choose both the update file and the gapps file and let it install both. Then I cleared the cache and dalvik cache, and rebooted. I usually wait until it settles down after the initial boot and then reboot.
So, in CMW, I guess that would be ( they way I used to do it in CMW anyway ):
1) Reboot into CMW
1a) When in doubt, do a backup
2) Install System update
3) Install Gapps ( 4.3 version latest that I used was the 20130813 )
4) Clear/wipe cache and dalvik cache
5) Reboot into Android and wait til it stops fiddling with itself
6) Reboot again
It is the method I have used since my Acer A500 days...
SU Still Mishandling Environment
Even with the SuperSU package linked in the first post, I'm still having issues with SU misbehaving in terms of how environmental variables are handled. In 10.1 I can pass pretty much whatever I want into the su session, and it behaves quite similarly to su running on a linux desktop. In 10.2, I can't pass anything, even with the --preserve-environment flag (which shouldn't even be necessary, since I'm not using -l.) SuperSU doesn't seem to improve the situation much, except for making su usable in the shell again. Has anyone else noticed this, or am I in the minority of people that wants to pass things like PATH and ZDOTDIR into my su session? Is this a security feature of Android 4.3, or just a quirk with SU at this point?
I've tried some test cases to illustrate this behavior:
CM 10.1 20130813
Code:
[[email protected] /]% su -v
13 com.android.settings
[[email protected] /]% export TESTVAR=1234
[[email protected] /]% su
[[email protected] /]# echo $TESTVAR
1234
CM 10.2 20130815 w/ SuperSU linked in OP
Code:
[email protected]:/ $ su -v
1.51:SUPERSU
[email protected]:/ $ export TESTVAR=12345
[email protected]:/ $ su
[email protected]:/ # echo $TESTVAR
[email protected]:/ # exit
3|[email protected]:/ $ su --preserve-environment
[email protected]:/ # echo $TESTAR
CM 10.2 20130815 without SuperSU had the same result, but had really broken output.
CM 10.2 20130817 has the same behavior as the previous nightly.

My kindle fire HDX 7" setup, for newbies!

First of all, thanks a lot to Cpasjuste for making the working gapps flashble zip, here's a link to that. I take no responsibility for doing this, all credit goes to Cpasjuste. Also I do not know a lot about deving myself but i've had two android devices before this and have been avid in modding them, just thought i'd put that out there.
So, first thing I did was get root, factory reset and get safestrap recovery. then I made a backup of my stock ROM, kept it on my kindle, and moved it to a safe spot in my computer (I recommend everyone does this, no matter if they choose to follow this setup or not.) I created a new ROM slot with default partitions, and restored my stock ROM to it (you do this in case any thing happens you have your stock ROM to fall back on). I tried flashing Cpasjuste's gapps rom, but for some reason there were multiple issues with it so instead, i restored to stock, on ROM slot 1, and flashed his gapps zip mentioned earlier. Rebooted and everything (well almost everything) worked perfectly. playstore works and only app that I have discovered to be incompatible is instagram for some reason, but i found a apk download online that installed perfectly to replace it. I installed a app from play store called recent apps quick button, which basically activates android's recent apps, then I installed a app from play store called Home2 shortcut. this lets me assign the resent apps quick button to double tapping the home button so now when i double tap the home button it brings me to recent apps. It's really nice since kindles default Rom doesn't have a recent apps button! Right now I am working on blocking updates from amazon to prevent losing root or bricking, using the tutorial found at the end of the root link. Let me know what you guys have done to make your kindle fire HDX experince better, or any questions you have.
Also, I forgot to mention that using the gapps flashable zip broke my amazon appstore and most amazon services, except video it seams like, but since we have safestrap recovery this isn't a big deal to me because i can always get it back, and im sure it will be fixed in future. Have fun and be safe while experimenting with your kindle.
I TAKE NO RESPONSIBILITY FOR DAMAGE DONE TO YOUR DEVICE, KNOW WHAT YOUR DOING BEFORE YOU DO IT!!!!!!!
Ah! Thats what I missed, I didnt realise I could use restore on a different ROM slot! Thanks for that, going to try it later!:good:
OurFriendIrony said:
Ah! Thats what I missed, I didnt realise I could use restore on a different ROM slot! Thanks for that, going to try it later!:good:
Click to expand...
Click to collapse
No problem! Also if I were you I would delete most of the user apps on your stock ROM, Idk if you did what I said and factory reset before you got safestrap (I would not try it if you already safestrap since you will lose safestrap and possible break you device!) but if you didnt I would just go back and delete most user apps and data off stock ROM and then redo the backup and restore with that. because you most likely wont be using the stock ROM (you don't want to alter it since you want to have a safe spot to restore to) you want it to take up as little storage as possible. My advice, pretend that you don't have root and don't do anything with it, like editing parts of system, or flashing mod packages, etc... (only exception is having super user and safe strap app installed.) Let me know if any part of this was to confusing. Hope this helped!
Haha, I saw your reply about 2 minutes after starting up the factory rest. I can, however, confirm that safestrap is still installed between the boot and IS load, so I'm actually in a perfect position. Have taken a new backup of pure stock rom!
Happy days!
I got a copy of my Stock ROM installed into ROM slot 1 and then added the gapps package, it worked beautifully!
I now have a tablet with all the google features on and have no issues so far.
except...
when I boot to ROM slot 1, I get a message saying "Kindle is Updating/Upgrading". It doesn't do anything and it only takes a few seconds before it gives up. I was just wondering if there was a way of getting rid of this??
As someone who hasn't had any prior experience with Android (although a fair share of experience with GNU/Linux), I appreciate a thread like this.
I also rooted the device (works well from GNU/Linux), installed SuperSU and some essential apps to make the stock OS usable (busybox and a terminal emulator, of course; and also a lightweight file browser that doesn't take much space and does exactly that, lets me browse local files). Then installed SafeStrap and backed everything up to both the Kindle and the PC (the backup is accessible via MTP, in the internal storage, so you can just connect the USB cable and copy the TWRP directory – at least in KDE).
Now I'm going to try the new AOSP ROM. Though since I'm new to the whole Android business, the partition sizes have me a bit confused. I'd want to have three slots – the stock ROM (obviously), the stock FireOS (one that I can modify) and AOSP. What partition sizes for the two slots would be the best, if it's the 16GB HDX? Also, say I download a PDF file; would both FireOS and AOSP see the file if I put it in internal storage, or would I have to manually copy it over to the other slot through my PC?
@GreatEmerald, whats AOSP? I'm thinking of playing around a bit more. I want to try out some more ROMs.
I put my first ROM slot (Stock with gapps added and amazon crap removed) on Flight Mode and now when I try and put it on wireless it restarts....
OurFriendIrony said:
@GreatEmerald, whats AOSP? I'm thinking of playing around a bit more. I want to try out some more ROMs.
I put my first ROM slot (Stock with gapps added and amazon crap removed) on Flight Mode and now when I try and put it on wireless it restarts....
Click to expand...
Click to collapse
AOSP = Android Open Source Project
Many other devices have an AOSP build and is typically a very nice build to flash if you like the core android feel with some extra very nice features.
OurFriendIrony said:
@GreatEmerald, whats AOSP? I'm thinking of playing around a bit more. I want to try out some more ROMs.
I put my first ROM slot (Stock with gapps added and amazon crap removed) on Flight Mode and now when I try and put it on wireless it restarts....
Click to expand...
Click to collapse
Yea, as mentioned, AOSP is a ROM for stock Android 4.2.2, pretty much the only big ROM available for the HDX7 right now: http://forum.xda-developers.com/showthread.php?t=2607185
It works pretty well as it is, I'm impressed it's as good already given how new the project is. Though it still has some issues for normal use. Aside from the bugs mentioned in the post, Chrome crashes as soon as it's launched (but you can use Firefox instead), as does the Kindle app (which is mainly what is stopping me from using it, because the point of a Kindle is the integration with Amazon services...). Also, the Facebook app fails to install for some reason.
Everything else I tried works fine. I installed F-Droid, a file manager, Busybox and a terminal, then the Amazon app and some of the Amazon cloud apps, and finally Skype. All of them work very nicely on AOSP. Even tested a video call on Skype and it worked without any problems (including the camera working correctly).
As someone new to Android and from a GNU/Linux background, I'm really happy that F-Droid exists. It's an app store/package manager that offers only free and open source software. For regular users that might sound as not a big deal, but actually filtering software by license is more powerful than one would think. You're guaranteed to have only apps that have no spyware and adware, because you can't hide them in open code. And those who make apps without publishing their code obviously have something to hide. So much like in GNU/Linux, the first place to check for new apps for me is F-Droid, and after that the main store of the OS (be it Google Play or Amazon Store), and only then 1Mobile market.
I still would like to know more about that partitioning, though. I figured out that the emulated SD card is shared between ROMs (I uploaded F-Droid to the Downloads directory on FireOS, and could see it on AOSP just as well), but I still don't know what exactly the two partitions you have to make to set up a ROM slot are and how much space should be allocated to them.
GreatEmerald said:
Yea, as mentioned, AOSP is a ROM for stock Android 4.2.2, pretty much the only big ROM available for the HDX7 right now: http://forum.xda-developers.com/showthread.php?t=2607185
It works pretty well as it is, I'm impressed it's as good already given how new the project is. Though it still has some issues for normal use. Aside from the bugs mentioned in the post, Chrome crashes as soon as it's launched (but you can use Firefox instead), as does the Kindle app (which is mainly what is stopping me from using it, because the point of a Kindle is the integration with Amazon services...). Also, the Facebook app fails to install for some reason.
Everything else I tried works fine. I installed F-Droid, a file manager, Busybox and a terminal, then the Amazon app and some of the Amazon cloud apps, and finally Skype. All of them work very nicely on AOSP. Even tested a video call on Skype and it worked without any problems (including the camera working correctly).
As someone new to Android and from a GNU/Linux background, I'm really happy that F-Droid exists. It's an app store/package manager that offers only free and open source software. For regular users that might sound as not a big deal, but actually filtering software by license is more powerful than one would think. You're guaranteed to have only apps that have no spyware and adware, because you can't hide them in open code. And those who make apps without publishing their code obviously have something to hide. So much like in GNU/Linux, the first place to check for new apps for me is F-Droid, and after that the main store of the OS (be it Google Play or Amazon Store), and only then 1Mobile market.
I still would like to know more about that partitioning, though. I figured out that the emulated SD card is shared between ROMs (I uploaded F-Droid to the Downloads directory on FireOS, and could see it on AOSP just as well), but I still don't know what exactly the two partitions you have to make to set up a ROM slot are and how much space should be allocated to them.
Click to expand...
Click to collapse
The system partition only needs to be as big as the Rom or backup you flash is, the data partition I typically make as big as possible (4000 mb) since this is what your Rom will consider internal storage. This is where apps and app data will be downloaded onto, where the rest of the data on your ad card is shared and is used for music, videos and lots of other custom stuff you can add. As for the cache I leave it at the default, this is where temporary data for apps is stored ( for example when you play a youtube video, it is temporarily stored on this partition.
spaghettiknight said:
The system partition only needs to be as big as the Rom or backup you flash is, the data partition I typically make as big as possible (4000 mb) since this is what your Rom will consider internal storage. This is where apps and app data will be downloaded onto, where the rest of the data on your ad card is shared and is used for music, videos and lots of other custom stuff you can add. As for the cache I leave it at the default, this is where temporary data for apps is stored ( for example when you play a youtube video, it is temporarily stored on this partition.
Click to expand...
Click to collapse
Ah, that's good to know. It makes me wonder, though – can I resize partitions in some way? Say, I created a smallish partition setup for ROM slot 1, then another one for ROM slot 2, and then have a bit spare; can I allocate the whole space to ROM slot 1 if I no longer need ROM slot 2? Or to do a backup, clear the partition setup, then restore the backup into newly sized partitions?
GreatEmerald said:
Ah, that's good to know. It makes me wonder, though – can I resize partitions in some way? Say, I created a smallish partition setup for ROM slot 1, then another one for ROM slot 2, and then have a bit spare; can I allocate the whole space to ROM slot 1 if I no longer need ROM slot 2? Or to do a backup, clear the partition setup, then restore the backup into newly sized partitions?
Click to expand...
Click to collapse
yes, what i would do is backup my current setup, delete the rom slot your using, then remake it with your newly picked partitions
Nevermind. Got it working now. Thanks for the guide!
safestrap not working on my kindle hdx 7"
Hi my kindle is already rooted and I used towelroot. I have supersu installed too. I'm currently on the step of where I should install safestrap, but it seems safestrap is not working on my tablet. I tried 3.65, 3.72, 3.75 version of safestrap but it does not work. It always restart normally. Not in recovery. Pls help. 13.3.2.8 version. Thank u in advance.
pinksummer17 said:
Hi my kindle is already rooted and I used towelroot. I have supersu installed too. I'm currently on the step of where I should install safestrap, but it seems safestrap is not working on my tablet. I tried 3.65, 3.72, 3.75 version of safestrap but it does not work. It always restart normally. Not in recovery. Pls help. 13.3.2.8 version. Thank u in advance.
Click to expand...
Click to collapse
Have you blocked OTA with HDX Toolkit? If not your device will likely brick if Amazon attempts to push an update. At present the blocker in HDX toolkit is the only one that works on 3.2.8.
Your attention should be focused on this task; can deal with safestrap once OTA block is in place.
ya I had to learn about that the hard way

[ROM] MIUI 2.3.30 (GB 2.3.7) English ROM + TWRP Recovery for Google Nexus One

Please Read Everything Carefully as some info is crucial to getting your old phone functioning well!
Update:::: August 16, 2015 ::::::::::
STAGEFRIGHT BUG:
This bug has been blown way out of proportion and it is not something anyone should be extremely worried about. There are no patches for gingerbread as of yet, and I cannot patch it since I do not have the CM source. However, you can copy from /system/build.prop and open the file in Notepad++ and then search for "stage" and change the "true" to "false" -without quotes. While this is not a fix, it will still offer some protection. Do not download apk files from places you do not trust and you should be ok. For now you can also do the following :
1) In MMS App, Turn off Auto-Retrieve. If your Carrier converts your voice mails to text, you will no longer be getting those. The app will then provide a download button for you to download the message instead. You can simply call your voice mail and listen to the message and download it if you think its important.
2) Remove the stock browser - do not use it to sign into anything.
3) Use Firefox as your default browser. It will be slower but safer. Type about:config > Search for Stagefright > Set stagefright.disabled to True
4) FIREWALL : Use AFWall+ to block Apps making unneeded connections to places you don't trust. It starts in Whitelist mode. Change it Blacklist mode. Be careful, and understand how to use this. LINK https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall&hl=en
6) In an effort to save RAM and unnecessary background Operation, I have included ForceStop Prevent Running. Do not update this past version 0.15. Updates after this do not work well on Gingerbread. Preventing Google Play Store is ok, Play Services is optional (You will lose all sync except Contacts and Calendar but no unnecessary background syncing.[/I]
7) GApps package now Included. It is Stock Gingerbread Gapps with Google Play Store updated to version 5.1.11. Please note that the latest Google Play Store works Fine but it is slower. If you want to block it from Updating, BEFORE connecting to Wifi, IF the APK is called com.android.vending.apk THEN create a new directory in /data/app called com.android.vending-1.apk, so it is always 1 number higher than what is installed. Also, if you do Update, MOVE the update to System parition or you will have 2 copies of it. Then delete its Dalvik cache and reboot
Update :::: June 18, 2015 ::::::::::::::New Goody : Added Modded K9-Email for Gingerbread to list of Software - It is open source, and a good way to check "Hotmail/Outlook" using Imap. Imap functions in Outlook are limited but the program works. I have removed the Ugly K9 dog Icon and replaced it with a real Email icon to make it look more appealing
Updated ::: June 12, 2015 ::::::::::::: New Goody : Attached Adaway for Gingerbread - Disclaimer: I support ads in some apps that do so reasonably, but some apps are out of control with Permissions and blowing up your screen with constant Ads, this behavior is unacceptable so I have included AdAway here. It is the user's Right and choice to do as they please on a carrier/contract free ROM, however it is not my responsibility what you may do with this ROM. This ROM still contains most of the original components of the Original ROM and I may remove outdated functions or add new functions in the future
This is MIUI 2.3.30 Gingerbread version 2.3.7 U.S. English Rom
I have now added various changes to this ROM. No more Security Certificate issues. No more Email / IMAP issues -K9 Mail, Exchange and Google accounts should sync without issues now
Xposed For Gingerbread + Prevent Running + Security Fixes are now attached below for convenience
Partitioning your SDCard is absolutely recommended or you will not have enough Internal Space to have Google Apps - Internal Space should only store Dalvik Cache - Please see details
1) 30 Step Headset Volume Configuration - works great with Volume Limiter
2) Security Certificates updated. Bad and Outdated ones Removed. see GuardianProject. This ROM is more secure. I also highly recommend using Firefox and OperaMini. I have also attached CACERTS.BKS - Remove the .TXT Extension - Already included in the ROM but can be used in other Gingerbread devices!
3) Nexus Pie boot animation
4) Misc changes - Gps locks fast when using GPS apps like Mapfactor Navigator, CPU Sleep works during trackball wake/notify feature, country codes in dialer corrected, Correct APN and Carrier name will show.
Recommended Software
I recommend you download this: Volume Limiter by Captain Neoguri - March 26, 2014
Caution: Nexus One hardware has a bug where upon using this app when adjusting volume outputs in max volume which can be dangerous for your ears, Please do not wear your headset when doing volume adjustments. I recommend a volume of upto 16 in this app for headset max volume.
Recommended : Xposed Framework for Gingerbread :::::: Download Below
Once you install it, Update it, and Install the Following :
1) Fake ID Fix
2) Master Key Multi Fix
3) MasterKeyFix GB
These are all Security Patches for Gingerbread. I have taken the Courtesy to attach them in this thread.
I recommend Google Play Store no later than 5.1.11 as the latest versions seem to have some kind of DPI related bug and will Force close constantly. Google Play Services can however be updated to 7.5.73-034 - I have tested it and it is working perfectly fine
Launcher : I am now recommending Holo Launcher from the Playstore. It saves RAM and it is much more Functional than the Stock launcher. When I have time, I will entirely remove the Stock Launcher and put Holo Launcher in the ROM or until I get permission from its author
Call Blocking Call blocking feature is built into the ROM, however it is like most call blockers which simply hide the blocked call but it still goes through. A solution to this is to use this app. Root Call Blocker : https://play.google.com/store/apps/details?id=fahrbot.apps.rootcallblocker.beta&hl=en
It will take about 5 minutes to set up and will allow you to kill a call after 1 ring and it will not go into your voice mail. So the Spam caller will have no idea whether its a dead number or to even bother calling back. Usually "Dead Rings" make the automated telemarketing calls stop because the computer dialer that is making the call keeps getting dead air and it keeps showing in their call logs. So it becomes their problem, you will simply never see the call coming until 1 day you decide to go in your blocker's call log. So if you have a pesky caller, use this app.
Radio / Baseband Software
http://wiki.cyanogenmod.org/w/Passion_Info
If your 3G does not work, Please check your 3G Network's supported Frequency with your Nexus One 3G Supported Frequency. There were 2 models of this phone released in Canada. This is not due to MIUI and downloading any Radio software will NOT fix this because it is by design.
You need version 5.08.00.04 if you are not using a Korean Nexus One. Download it, then Extract the Radio.img file from the zip.
1) You need to have ADB Fastboot and ADB Enabled on your phone. You can download a small ADB Version here.
http://forum.xda-developers.com/showthread.php?t=2588979
There are also other places to get ADB, But just know there is no need to download Gigantic SDK Kit from Google. You only need the basic ADB with Fastboot.
2) Press Volume Down, Then Press Power and Start your phone in Bootloader Mode. Then select Fastboot. Make sure your phone is now in Fastboot mode, it should say it at the top of all the choices.
3) Go to where you ADB folder is and hit Shift + Right Click = Open Command Window Here.
4) Now Plug your USB cable into your phone and type in Command Prompt this - fastboot devices. You should see your Phone listed. If you do not, go back and check everything.
5) Copy that Radio.img file from the Zip you extracted into your ADB Folder and then type
fastboot flash radio radio.img
It should take about 30 seconds.
Use the instructions here http://forum.xda-developers.com/showthread.php?t=698721 to push it to your phone.
Now you are done.
How To Increase Internal Storage using Data2SD. This puts Apps(apk) AND Data onto your SD EXT Partition so you have more free Internal memory on the internal /Data partition
MIUI comes with something called A2SD+ which is turned off by Default.
1) Go into TWRP Recovery. Create EXT-4 Partition. You will lose all data, so before doing this, its a good idea to backup.
Create an EXT partition size you are comfortable with and depending on your needs.
2) SWAP SPACE 0. You do not need it.
When it is done. Your SD Card now has a FAT partition and an EXT Partition. You can reformat your FAT to FAT32 in Windows if you would like and give it a name.
Then get this Script. MAKE SURE YOU READ EVERYTHING in the Following Threads.
This is Ungaze Data2SD Script. Script is now Attached at the bottom of this post
http://forum.xda-developers.com/showthread.php?t=1378568
http://forum.xda-developers.com/showthread.php?t=1661892
Get the Data2SD Script and copy it to your SDCard FAT32 partition. Reboot your phone a couple times after flashing MIUI. Wipe Dalvik, Wipe Cache, Then Flash Ungaze D2SD from Recovery.
Follow directions in those threads and you should see an increase in Internal Storage Space in MIUI
You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card incase something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data.
ETC INFO
You will Need ROOT Access for almost everything if you want to make changes so make sure you have SuperUser Access Turned ON in MIUI.
Search for ADAWAY which creates a HOSTS file in your /System/etc Directory, which helps to block ads. I prefer using only open source apps or apps with Ads that do not Annoy.
Use ES File Explorer
And now you can install (or Uninstall) all the Pesky large size Google Apps. I personally stay away from ANY Google App I do not absolutely Need. I remove apps like
Google Search
Google Talk (Hangouts)
and Other Google crap.
MIUI has the basics of what you need. But you can Remove the MIUI Accounts etc because you won't be needing it.
And Anything Pesky that I cannot trust. Make sure you Backup in Recovery first before Uninstalling System Apps.
You can use an app called Disable Service from the PlayStore to disable Individual Services in an app incase you don't want certain services loading up. This should help conserve memory and cpu cycles if needed and also to disable functionalities in Apps that are otherwise impossible to disable. Link Below
https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en
The idea is to keep it SIMPLE and functional.
Last but not least, Thanks to everyone at XDA for making things like this possible. Without this community, we would not be able to do the things we can to bring enjoyment and functionality to our devices. Thanks to everyone who finds a solution and posts it with details for everyone to understand. I hope this culture keeps growing stronger.
Don't forget to say Thanks
That's it Folks! Bring out your old Nexus One. It will be fast, and serve its purpose as a phone first. And YES, Even your mom will now be able to use it. Enjoy!
ROM DOWNLOAD:
Download MIUI-Android-2.3.30-Gingerbread-NexusOne
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Obsy said:
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Click to expand...
Click to collapse
Hey, no problem! Yes 4Ext is a good recovery if you are on Blackrose and change your hboot partitions etc. My Guide is for those who don't want to mess with that and the TWRP Recovery is working flawless. I will mess around with Blackrose to increase internal Memory because one thing I find after bootloader unlock is the initial boot process is what takes the longest! MIUI Itself boots in less than half the time it takes for the intial boot. (Nexus X multi colored Logo with gray colored open lock at the bottom)
I am still not quite sure if the trouble of using Blackrose just to cut down my Cache partition to 50mb is worth the time and trouble because the phone is running fine. And I am also not sure if Blackrose will work with twrp. I will need to read more on this.
Thanks.
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
daaac said:
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
Click to expand...
Click to collapse
Thanks Daaac, you are right. When I pull out this old Phone, people ask me where did I get it? And how nice it looks. When I tell them its over 4 years old, they seem surprised. What google still does not seem to realize is that when it comes to Phones, people look at both the Phone hardware AND its Software that's running on it. Android is terribly ugly and MIUI is the closest you can get to getting some kind of Organized option structure even though it lacks some power user features, it is still better than scrolling through endless Cyanogenmod Gingerbread options. Not the fault of Cyanogenmod, but I blame Google for the terrible User Interface of Android. Google seems to hire Amateurs to design their User Interface and then market it as Simplicity. In my opinion, Apple runs circles around Android when it comes to Fluidity but ofcourse we know why we stick to Android, for things an iOs user can only dream of, specially on older devices. This MIUI ROM comes closest to make your Nexus One a daily usable phone with very few annoyances, however it is stable, never crashes, and looks good.
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
You are most certainly welcomed Sir! If you ever have any questions, feel free to ask me.
danibus said:
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
Click to expand...
Click to collapse
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
You need to see the first post for that to happen.
miui_nexus1 said:
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
Click to expand...
Click to collapse
Thanks for your quick reply. I am well aware of your updates to the ROM. I especially love the Nexus pie and appreciate the security updates.
ocd_amp said:
You need to see the first post for that to happen.
Click to expand...
Click to collapse
More security fixes!! I can't believe my eyes. Thanks a ton!
Hola launcher
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
That launcher will slow down your system, and constantly try to download ads. It also takes up a LOT of RAM. The idea here to make the device run FAST consuming as little resources as possible. On a fresh boot, my N1 RAM usage is at 95MB, and after 28 Hours, it is 144MB. With other processes that are important Cached. My Dialer starts and makes calls upto 3 seconds faster than my Galaxy 3 on Lollipop.
All this can be achieved by disabling Google Play Services and Google Play Store from starting on boot (unless you have apps that you are always using and depend constantly on them) - I don't use apps that heavily depend on Google Play Services, and if I do, I start the service and the app, then I press the "back" key and exit Google Play Services. - Xposed Framework module attached to prevent Apps from running helps.
Battery life is great, easily lasts 2-3 days with minor screen time / talk time - Heavy usage can last a full day. This is all on a 2010 phone with an old battery. My Nexus One puts most people's dual core modern phones to shame when it comes to speed
miui_nexus1 said:
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
Click to expand...
Click to collapse
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
1) Remove Holo Launcher icons and drag and drop Phone and Messaging icon from Drawer into the Dock at the bottom.
2) Use TWRP recovery.
3) /Data partition is EXT2 partition on your SDCard. Apps+Data (app data) will be there.
4) /mnt/asec/d2sd will be the "other" data partition (the original data partition) which is where your Dalvik cache will be.
5) Apps will be installed where their manifest suggests - Most apps will be installed to /Data on your EXT and their Dalvik Cache will be on the Internal parition /mnt/asec/d2sd/Dalvik-Cache
6) Use ES File Explorer - give it Root permissions - make sure Superuser permissions is set to On and inside ES Explorer you give Root access R/W - you can view all partions there
7) Use DiskInfo to see all your partitions
miui_nexus1 said:
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
Click to expand...
Click to collapse
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
miui_nexus1 said:
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
Click to expand...
Click to collapse
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
You're welcome. Enjoy!
lfe.zaius said:
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Click to expand...
Click to collapse
You edit build.prop either right on the phone using a text editor, or if you're like me, do it on the computer with Notepad++. It's a text based file. Oh yes, that was a spelling error. Fixed.
miui_nexus1 said:
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
Click to expand...
Click to collapse
I have opened it using ES file explorer (ES Note editor) on my device but when I want to save it it shows an error:"Error occurred when trying to save the file. It will not be saved.". I have granted Superuser access to ES file explorer but I cannot find a way to give the specified permissions you have mentioned in the post. I would appreciate your help.

[MM][6.0][UNLOCKED BL/ROOTED] Debloating script for Sony Marshmallow Concept Rom

I guys, I share with you my debloating script for those lucky people who could install Sony Marshmallow Concept ROM and unlocked their BL and rooted
Concept ROM is already very minimal, so I just deleted few things, mostly Google apps and especially all things that can be installed from the Play Store (and already updated to latest versions of course!)
All things object of my debloating script are not really deleted actually, but moved to a backup folder in /system (that you can even delete or move to sdcards to get extra free space in /system) so you will be able to restore anything you may need very very easily (detailed instructions for that in second post).
NOTES
1. it is suggested to apply my script immediately after installing the Concept FW LP FW and before rebooting, this way all that stuff will be moved away before first reboot, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. as said above, all the bloat is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see much more free space in /system!!
Click to expand...
Click to collapse
Procedure for all xperia phones running MM Concept FW: (only Z3 and Z3C atm)
Requirements:
- rooted + working recovery
- MM Concept ROM already installed
Installation:
1. full nandroid backup
2. wipe cache and dalvik
3. flash my debloating script
4. that's all! reboot/enjoy
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things pretty easily. Luckily concept rom comes already slimmed down so debloat I did is minimal! Of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
Things removed by my script:
/system/vendor/overlay/*
/system/app/AndroidPay
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/bootinfo
/system/app/Chrome
/system/app/ClockWidgets
/system/app/DMAgent
/system/app/Drive
/system/app/Exchange3Google
/system/app/FOTAClient
/system/app/FaceLock
/system/app/Galaxy4
/system/app/Gmail2
/system/app/HeadphoneSelection
/system/app/helpapp
/system/app/HTMLViewer
/system/app/Hangouts
/system/app/HoloSpiralWallpaper
/system/app/ImageProcessorPermission
/system/app/JapaneseIME
/system/app/LiveWallpapers
/system/app/Maps
/system/app/Music2
/system/app/NoiseField
/system/app/PartnerBookmarksProvider
/system/app/PhaseBeam
/system/app/Photos
/system/app/PlusOne
/system/app/PrintSpooler
/system/app/SemcAlbum
/system/app/skin-core
/system/app/skin-picker
/system/app/SomcEmail
/system/app/SomcExchange
/system/app/Stk
/system/app/talkback
/system/app/Theme000
/system/app/Theme001
/system/app/Theme002
/system/app/Theme003
/system/app/Theme004
/system/app/Theme005
/system/app/Theme006
/system/app/Theme007
/system/app/Theme008
/system/app/UserDictionaryProvider
/system/app/Videos
/system/app/YouTube
/system/priv-app/ar-effect
/system/priv-app/AnonymousData
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/BetaFeedback
/system/priv-app/CellBroadcastReceiver
/system/priv-app/CrashMonitor
/system/priv-app/CrashMonitorSystem
/system/priv-app/device-monitor
/system/priv-app/IddAgent
/system/priv-app/InputDevices
/system/priv-app/phone-usage
/system/priv-app/qcrilmsgtunnel
/system/priv-app/SemcSimDetection
/system/priv-app/SharedStorageBackup
/system/priv-app/StatementService
/system/priv-app/TagGoogle
/system/priv-app/TimeShiftCamera
/system/priv-app/Velvet
HOW TO RESTORE SOMETHING
All the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
trying right now, report later
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
smorgar said:
When i ran this script in TWRP: TWRP soft rebooted and nothing was removed as far as i can tell!
Click to expand...
Click to collapse
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
moly82 said:
strange it works fine here! btw you can also manually delete things if you want, I wrote the list of all things removed by the script in second post
Click to expand...
Click to collapse
Ill give it another go!
Thank you for your work! Your KK and LP deboated roms are some fine stuff sir
[Edit]
I re-downloaded the script and ran it, same problem.
I'll go manual style now
works great on my D5833, the startup guide lacks for google seetings, but its totaly usable anyway.-
Sorry my english xD
thanks. but what you mean with startup guide lacking google settings?
moly82 said:
thanks. but what you mean with startup guide lacking google settings?
Click to expand...
Click to collapse
nothing wrong, since gmail is out it doesn't show you the seetings for add another account, that's all
Great work
Hi!
All works perfect on my D5803 with A1 Austria.
Thanks a lot and keep up
Ps: Akku %
Removed stuff
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
serajr said:
Moly my friend, you've just hit the same content I did remove manually on mine... I'm not kidding! :highfive:
Unfortunately I didn't have time enough for deeper tests (my regular week days are being tough), but it looks faster as hell. But for some obvious reason, I need to get back on LP, and I hope it just for a short period of time... and let's pray for the rovo!
Click to expand...
Click to collapse
Hi chief!!
yes indeed it is a super fast rom! and it comes so slim.. not even close to usual bloated stock fw... i love it!
rovo should do his magic soon, and hope you'll do the same! can't imagine this rom plus xposed and your modules.. it would be just simply wonderful!! :fingers-crossed: :good:
see you!!
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Marvel1403 said:
How is the battery life with your debloat script? Is it possible to get 2 days usage with 3-4h sot?
Click to expand...
Click to collapse
debloating MM is not so effective for battery life actually as MM comes already slim. it is essentially to optimize and remove useless stuff you can also download from the store. btw yes 2 days and 3-4 hours sot is very easy to reach here, with or without debloat script! I could get that in LP too...
as I am back to concept rom (much more stable now) and Sony added more bloat in it, I updated the script and list of things removed by the script
@moly82, I use your scripts on my xperia's but wondered if it would work on my Nexus 9 too?
Anything you could see that would be an issue?
Would it just skip items it did not find?
yes it should just skip unfound items so no worries but backup first just in case who knows
moly82 said:
yes it should just skip unfound items so no worries but backup first just in case who knows
Click to expand...
Click to collapse
Cool thanks, will give it a whirl
@moly82 Thanks for the list of deletable files, most of which I had already done. The concept FW should be the commercial release in my opinion. I only flashed it because I had an issue with my nav bar not working even after restoring an old back up so I fully wiped the system and internal memory and started from a new FW. I wish I had of changed over sooner!
@moly82 have you managed to get any camera mods to work with Concept? That's one of the biggest issues I'm having right now with this rom, the stock camera/video is so bad; washed out, overexposed white balance, and nasty lens flair. I was able to flash the Z5 camera libs, but that didn't seem to help. I tried Camera 2.0, but that caused a force close.
On a side note, I was able to regain special Sony audio settings, ex. Clear Audio, S-Force, etc., using this thread: http://forum.xda-developers.com/showthread.php?p=65873613
Sent from my D5803 using Tapatalk

[ROM] Evervolv | 7.0.0p1 [AOSP Nougat 7.0.0] [3.4 kernel] [ALPHA] WIFI & 4G

For those that don't know what evervolv is, Evervolv is an AOSP (Android Open Source Project) rom. We're fully open sourced and encourage it with no restrictions. The work put into this rom is community driven and and Evervolv Project is made up of numerous members and contributors.
Right now the current source we are working on is Nougat(Android 7.0.0).
Current version: 7.0.0p1
Current Items not working/Buggy
Updated 10-27-2016
WIFI MODEL
Camera
Wifi cuts out for some.
4g MODEL
Camera
Wifi cuts out for some.
You tell me what you find.
Click to expand...
Click to collapse
Evervolv Github: https://github.com/Evervolv
Evervolv Gerrit: http://review.evervolv.com/
Evervolv website: http://www.evervolv.com/
Twitter: https://www.twitter.com/wbellavance
IRC: #evervolv
Click to expand...
Click to collapse
[GPL Compliance]
Kernel Source
Click to expand...
Click to collapse
[Download]
[Unoffical TWRP Builds]
3.0.2.0 TWRP recovery with MTP support and F2FS. http://evervolv.com/get/FLINTMAN-TWRP-touch-data_media-SELINUX-f2fs-3.0.2.0-09-06-16.zip Updated to 3.0.2.0
3.0.2.0 TWRP recovery with MTP support and F2FS. http://evervolv.com/get/FLINTMAN-TWRP-touch-data_media-SELINUX-f2fs-3.0.2.0-09-11-16.zip Made a little smaller then previous 9.2mb
**REQUIRES 1312MB System Partition.
This is very easy to do via JCSullins Toolbox
WIFI MODEL TEST BUILDS
http://evervolv.com/get/ev_tenderloin-7.0-testing-2016.10.05.zip Ok this isn't block style install which allows changing the size of system to what you want and use all of it. Its a slower install time but not much slower then before. Also some BT changes that allow me to use my headset. Test out BT and let me know. I'm still testing myself. Another change is root is disabled by default. You will have to go into Evervolv toolbox to enable root.
http://evervolv.com/get/ev_tenderloin-7.0-testing-2016.10.27.zip Behind the scene updates along with fixing BT speakers HOPEFULLY 8)
4g MODEL TEST BUILDS
http://evervolv.com/get/ev_tenderloin4g-7.0-testing-2016.09.07.zip
http://evervolv.com/get/ev_tenderloin4g-7.0-testing-2016.09.17.zip Includes all above
http://evervolv.com/get/ev_tenderloin4g-7.0-testing-2016.10.27.zip Behind the scene updates along with fixing BT speakers HOPEFULLY 8)
These are the gapps im using. http://opengapps.org/?download=true&arch=arm&api=7.0&variant=pico gapps that seem to work the best with Nougat UPDATED 09-06-16
Click to expand...
Click to collapse
****************************************PLEASE READ**************************************************************
F2FS installs. If you want to try out F2FS you will have to wipe your data parition which includes your internal sd card. Some steps if you want to backup your data. PLEASE NOTE DON'T DO THIS IF YOU DON'T KNOW WHAT YOU ARE DOING CAN CAUSE ISSUES OR LOST DATA. IF YOU DON'T DO THIS IT WILL STILL WORK WITH THE CURRENT FORMAT EXT4.
-- Flash the F2FS compatible TWRP Recovery
-- Boot into Recovery
-- Backup > Data
-- Save your internal SD card by transfering to your PC or if you have room your external_sd
-- Wipe > Advanced Wipe > Data > Repair or Change File System > Change File System > F2FS
-- Wipe > Advanced Wipe > Cache > Repair or Change File System > Change File System > F2FS
-- Copy the saved SD card content back to your device
-- Restore > Choose backup > Data (the warning about ext4 backup doesn’t matter)
-- Advanced > Fix Permissions
-- Wipe > Advanced Wipe > Cache & Dalvik Cache
-- Flash the 2-12-15 test build and gapps to ensure you got them
-- Reboot to system
Click to expand...
Click to collapse
[UPGRADE(Dirty Flash)]
I have noticed if you dirty flash on first boot you may experience a little lag or possible reboot. After it settles down no issues. Not sure if its art related on upgrades or what. Its hard to pin point as it only happens once and smooth after that. Recommend after an upgrade let it settle in before playing hard.
Thanks
Click to expand...
Click to collapse
FIrst boot is a little slow but that is due to art. I always recommend a clean install when upgrading but if you feel luck. Backup and try a dirty flash. If you have issues run a clean install and if you still have issues please post with a logcat. You can upload via bugreport in the toolbox under settings. If going from a differnt rom other then evervolv lollipop always clean install. ALWAYS REMEMBER TO BACKUP its important if you don't want to loose anything
Click to expand...
Click to collapse
NOTE: NEED a clean install if moving from a previous version and or another ROM.
Flashing from cm or any other ROM will require a clean install, dirty flashes can cause random reboots and random errors
[Disclaimer]
I am not responsible for bricked devices, lost data, etc, etc. You all know the drill. BACKUP BACKUP BACKUP
Click to expand...
Click to collapse
[Special Thanks]
i would like to thank Flemmard, Jcsullins, Dorregaray, Invisiblek, Milaq, and anyone else that helped to make this happen. More great work to come.
Mitchbaria --for a 4g model to start in on this
EricBlade --for my second 4g model to start in on this for Marshmallow
Colchiro-- For a spare Touchpad WIFI to be able to test on one and develop at the same time
Click to expand...
Click to collapse
Biggest thing is need to update system size and use new recovery.
Alot of features have been turned on yet this is ALPHA its not a daily. I released for all to play with and we will grow on this. 8)
TP Toolbox v0.42 Complete Data Reset Guide with Updated Links
NOTICE: THIS THREAD WAS ABANDONED BY THE OP, BUT I WILL KEEP THE LINKS IN THIS POST UPDATED
This guide is for a complete data reset to start from scratch. You should only need to use TP Toolbox to either adjust partition sizes, or start from scratch if any partitions got corrupted or you get errors while adjusting partitions or installing new ROMs.
If you end up having to start from scratch in TP Toolbox v0.42, follow these steps:
- Download a TP Toolbox Compatible ROM
- Download a TP Toolbox Compatible GApps
- Download a TP Toolbox Compatible TWRP
I recommend keeping those files on your PC hard drive so you can always re-use them in the future if needed.
1. In the TP Toolbox v0.42 main menu, do a 'Complete Data Reset' to start from scratch
2. Select the 'Install Android' option from the main menu
3. Copy the 3 above files from your PC to the "tpinstall" folder after the TP is mounted
4. When given the option to adjust partition sizes, increase the System partition to at least 1312mb
5. Finish install, and reboot to TWRP
6. While in TWRP, flash the newer 3/24/17 TWRP 3.1.0.0
7. Reboot into the new TWRP that you just flashed
8. In TWRP advanced wipe menu, wipe the System partition
9. While still in TWRP, flash the Wifi model ROM or the 4G model ROM along with some OpenGapps
AlwaysLucky said:
Great work @flintman! Will test out now! Many thanks on your continued attention on the tenderloin!
PS: Your OP says you are working on "Marshmallow(Android 7.0.1)"
Click to expand...
Click to collapse
Missed that one. Remember to upsize your system partition.
Wow.
Thank you flintman for giving our touchpad a treat of fresh nougat.
I increased the system size to 1.5 gb several days ago and waited for your nougat. Now downloading it...
Edit: are we required to use the new twrp recovery in the OP? I have twrp 3.0.2 with an older time stamp.
BIG THANKS @flintman
googlephone said:
Wow.
Thank you flintman for giving our touchpad a treat of fresh nougat.
I increased the system size to 1.5 gb several days ago and waited for your nougat. Now downloading it...
Edit: are we required to use the new twrp recovery in the OP? I have twrp 3.0.2 with an older time stamp.
Click to expand...
Click to collapse
Yes use the one in the op you will get an error (not fatal) on older recoveries.
Sent from my Nexus 6 using XDA-Developers mobile app
flintman said:
Remember to upsize your system partition.
Click to expand...
Click to collapse
I actually enlarged the System partition to 1500mb just to be safe, and am testing the Nano OpenGApps. So far everything works great! I've installed several different apps, and all seem to work just fine with no FCs. I also get to test out the apps I'm developing on the Nougat OS, so that's really nice. I do miss CM theme support and the Evervolv toolbox, but I promise to be very patient; as I know those are out of your hands. :angel: I also flashed AdAway to the system and that is also functioning fine.
EDIT: For those who would like a flashable zip of AdAway to flash it to the System, I attached it to this post.
I dirty flashed over evervolve 6.0.1 and it boots up in about 6 minutes.
It feels much faster than 6.0.1 and the multi window is amazing.
There is no evervolve toolbox tab in setting, so there is no option to change the cpu frequency.
In the OP, it mentioned evervolve toolbox for bug report. Is the toolbox supposed to be absent?
Edit: second question: where do we control root permissions?
googlephone said:
I dirty flashed over evervolve 6.0.1 and it boots up in about 6 minutes.
It feels much faster than 6.0.1 and the multi window is amazing.
There is no evervolve toolbox tab in setting, so there is no option to change the cpu frequency.
In the OP, it mentioned evervolve toolbox for bug report. Is the toolbox supposed to be absent?
Edit: second question: where do we control root permissions?
Click to expand...
Click to collapse
Im surprised a dirty flash worked. As stated above not alot of features have been added but the toolbox access at the moment is only though the launcher you should see toolbox just like any other app. Root permission is controlled though the toolbox as well.
How can we promote this thread to the xda news portal? Flintman deserves a spot there.
Edit: there is no thanks button any more on XDA? I can not find that button.
Edit: now the thanks button shows up. Weird.
AlwaysLucky said:
I actually enlarged the System partition to 1500mb just to be safe, and am testing the Nano OpenGApps. So far everything works great! I've installed several different apps, and all seem to work just fine with no FCs. I also get to test out the apps I'm developing on the Nougat OS, so that's really nice. I do miss CM theme support and the Evervolv toolbox, but I promise to be very patient; as I know those are out of your hands. :angel: I also flashed AdAway to the system and that is also functioning fine.
Click to expand...
Click to collapse
Toolbox is located in the launcher for now. All features will be added back little by little. 8) trying to get a good base and then we move on.
flintman said:
Toolbox is located in the launcher for now.
Click to expand...
Click to collapse
OMG, I'm so blind. Sorry about that. :silly:
@ flintman
how is your general partitionsetup, not just system.
schwatter said:
@ flintman
how is your general partitionsetup, not just system.
Click to expand...
Click to collapse
1312 for system, 1 gig for external and rest in data. I
Sent from my Nexus 6 using XDA-Developers mobile app
flintman said:
1312 for system, 1 gig for external and rest in data. I
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Ok, it looks like my setup. I find in touchpad toolbox the partition "media". So "media is like "external" right?
And about "cm-cache", i think i set it up in the past from 200 to 1000. Is that better? So normally yes because
of more. But i don't know how android handle it. That's why i ask.
Hey gang, using tptb I placed jcs rom and the gapps and used jc twrp recovert. it failed. ant pointers? thanks..
deafasheck said:
Hey gang, using tptb I placed jcs rom and the gapps and used jc twrp recovert. it failed. ant pointers? thanks..
Click to expand...
Click to collapse
If you've switched to f2fs, then that's the reason. TPTB is unfortunately incompatible with it.
Hi didn't switch to f2fs. I downloaded the files and used pc tptb for the installation.. Currently I am trying to get wifi working better. I installed the job new rom and cm 12 going to the WiFi forum. I have just bought a new one that's 16 gig, it has WiFi access but falters..
But on this issue I will try to get it going on the other TouchPad see if it works..
Amazing stuff
Great job as always. Flintman, you have always been the first ou with the new release of Android since i have had a toucpad for the last few years. Congratulations again and thanks for all your work.
And Multi screen works too!

Categories

Resources