• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Nitroglass: How to get on our skate 1GB internal memory???

81 posts in this topic

Posted (edited)

(you included my file-script 04nitroglass-v2 into init.d, with permissions 0775 or 0777 of course)

Where I can find the init.d ? is it a floder ? and how to add permissions ?

Caution!

  • The previous post instructions are for developers only. IS TO PUBLISH A ROM

    • Anyone can add nitroglass in your favorite rom. To do that it is only necessary:

    In recovery:

    - Format sd-ext (or create ext if necessary):

    - 3 wipes

    - Flash rom-zip (NOT-REBOOTSYSTEM)

    - Flash nitroglass-zip (REBOOT)

    Note to everyone: Be patient on first boot. Take some time ...

Edited by Viento del Sur
0

Share this post


Link to post
Share on other sites

Posted

Don't get past boot logo in PAJelly 2...

0

Share this post


Link to post
Share on other sites

Posted

Don't get past boot logo in PAJelly 2...

Are you flashed zip-rom first, and followed, flashed the zip.nitroglass (without reboot sytem between them)?

Be patient with the first boot!

0

Share this post


Link to post
Share on other sites

Posted (edited)

hi, i instaled it just about 10 mins ago and still booting.first i flashed PJ2+gaap and then i formated sd-ext and after that flashed nitroglas. is it ok this way?

Edited by meso87
0

Share this post


Link to post
Share on other sites

Posted

hi, i instaled it just about 10 mins ago and still booting.first i flashed PJ2+gaap and then i formated sd-ext and after that flashed nitroglas. is it ok this way?

No... do this:

- Recovery:

1.--- Format sd-ext (if not exist, make partition ext512/ 0swap /)

2.--- 3 wipes

3.--- also Format /system (always my personal recommendation)

4. -- install zip-rom (NO-REBOOT)

5. -- install zip-nitroglass

6. --- reboot system

0

Share this post


Link to post
Share on other sites

Posted

Just to add, when partitioning ALL data on SD is lost, so backup and also put ROM and script on SD through Mount USB storage option in CWM

0

Share this post


Link to post
Share on other sites

Posted

Ok, my bad... It was loading more than 30 min and i thought that it wan't load at all... Il try tomorrow in order as you say. Thanks btw ;)

0

Share this post


Link to post
Share on other sites

Posted

I tried being patient but it seems that it'll never stop booting. How long is too long? I think I did everything as described.

0

Share this post


Link to post
Share on other sites

Posted (edited)

I tried being patient but it seems that it'll never stop booting. How long is too long? I think I did everything as described.

As I said, I have no experience with 4.+, I don't use it's.

In 2.3.x roms, the first boot takes 3-4 min.

When reading to another user, about JB and int2ext+, it is possible that it is also important "when" install gapps ... He said that install gapps after the first boot ....

I suggest testing well, and then add a step to the installation:

- Recovery:

1.--- Format sd-ext (if not exist, make partition ext512/ 0swap /)

2.--- 3 wipes

3.--- also Format /system (always my personal recommendation)

4. -- install zip-rom (NO-REBOOT)

5. -- install zip-nitroglass

6. --- reboot system

(...)

7. flash gapps

8. Reboot system

Edited by Viento del Sur
1

Share this post


Link to post
Share on other sites

Posted (edited)

Notice:

1. I have checked for myself that rom fails to start when the Ext-partition is not fully empty. <<===============

2. It is always necessary to perform step 1. (Format sd-ext)

3. I also found a small bug in CWM 4.1.14: not always clean the EXT partition (even format it). I've seen it with linux .... After many installations followed, the sd-ext sd-fat corrupted data are stored, that cwm can not erase ...

4. [have elapsed multiple installations roms] RECOMMEND DO NEW PARTITIONS INTO YOUR SD (...PREVIOUS backup rom and FAT-partition, of course!!)

Edited by Viento del Sur
0

Share this post


Link to post
Share on other sites

Posted

Tried in several different ways but without success. I've got cmw 4.0.14 but I also tried partitioning on my pc, used two different cards... I give up for now.

Thanks anyway.

0

Share this post


Link to post
Share on other sites

Posted

Ok, I will study the problem for PJ2...

0

Share this post


Link to post
Share on other sites

Posted

Just in case it helps you, Int2Ext doesn't work either

0

Share this post


Link to post
Share on other sites

Posted

Just in case it helps you, Int2Ext doesn't work either

Of course, it helps me! I've seen that this is a problem of the busuybox of these rom. Now try to adapt the code to new busybox.

Thx!!

0

Share this post


Link to post
Share on other sites

Posted (edited)

Two things ...

1. Sorry, but PJ3.+ Ceco has a different busybox, and my script does not run correctly. For now I have no solution for that. You can use int2ext-modified.by-CECO for that rom.

2. important notice:

  • Available nitroglass-v3 in my link of HTCMania forum. INSTALL ONLY FOR TPTs with 2Mbs of cache ... (it provide cache downloads)

    • For all other cases, use v2.1
Edited by Viento del Sur
0

Share this post


Link to post
Share on other sites

Posted

INSTALL ONLY FOR TPTs with 2Mbs of cache ...For all other cases, use v2.1
What exactly you mean? 'If' which moves cache works only if it have 35Mb size...
0

Share this post


Link to post
Share on other sites

Posted

What exactly you mean? 'If' which moves cache works only if it have 35Mb size...

Sorry, I have a little problem with the language ...

V3 works exactly like v2.1. The cache is not involved in the process. v3 just add a plus: provides 64mb cache only in case that your tpt is 2MB of cache ...

You have a 2mb tpt-cache? Then flash v3.... Provide 64mb-cache.

If you has 35MB or more, v3 keeps those 35 (or more). It's automatic.

See you:

TPT.2mb.cache + 2.3.7rom + Nitroglassv2.1 = PlayStore NOT DOWNLOAD

In this case, the solution is v3. In other cases, simply it's not necessary.

0

Share this post


Link to post
Share on other sites

Posted

Sorry, I was some wrong with my previous statement. It not works properly with 2mb cache due to incorrect condition: $CACHESIZE returns "2M" instead of "2".

0

Share this post


Link to post
Share on other sites

Posted (edited)

If you're using H3 Blues and your TPT has a 2MB cache then you'd need to be careful with v3 of this script. That'd be because H3 Blues will already detect if you've got a 2MB cache and it'll automatically create you a temporary 35MB cache. It's 35MB because the stock size is 35MB and that's normally plenty.

By the way, this explains the swappiness a little:

http://forum.xda-dev...937&postcount=2

http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/

On Android the advantage of no swap is a performance gain. So if on your ROM your memory (SD Card) is slow then H3 Blues will always be faster, although you may not be able to keep as many things running in memory. I've yet to run into any problems with this though.

Edited by H3ROS
0

Share this post


Link to post
Share on other sites

Posted (edited)

First of all, I apologize for my bad English. And later, I appreciate your comments and contributions.

Sorry, I was some wrong with my previous statement. It not works properly with 2mb cache due to incorrect condition: $CACHESIZE returns "2M" instead of "2".

Oh god, you're absolutely right! THANK YOU VERY MACH!!

I only thinking in numbers of two digits... The problem is that I haven't one tpt-2mb to test ... :( Very thx for your repport.

If you're using H3 Blues and your TPT has a 2MB cache then you'd need to be careful with v3 of this script. That'd be because H3 Blues will already detect if you've got a 2MB cache and it'll automatically create you a temporary 35MB cache. It's 35MB because the stock size is 35MB and that's normally plenty.

For now, I retired v3, to better study all options...

Given the possibility that nitroglass (as int2ext+) is not compatible with severals mounts of partitions that can make some roms, I decided to delete 06mountdl for safety. The problem is that in some spanish roms, 06mountdl tpts provide cache for these small TPTs ...

My idea is to make a script (nearly completed), take your original idea to redirect cache (VERY THANKS), but it can take several conditional intelligently:

A. Decide which is the best size in each case, based on the actual cache for each tpt.

1 - If you have 2mb, assigns 64 (for big downloads of market, like AngryBird-wars)

2 - If you have 35mb, remains at 35, no redirects (NO takes ram)

3 - If you have 64mb, no redirects. (NO takes ram And do not reduces the cache to 35)

B. (the most difficult), is compatible with (all???) the roms and does not conflict with other previous codes ...

However, taking advantage of your intervention, I think v3 (or similar) would not be a problem for H3, because the sequence of scripts (04nitroglass vs. 06blues) allow the first-script mount a new cache, and for second, to evaluate the condition of start, do any action on the cache (either already resolved or whether it even has time to make the decision) I mean right? What do you think of this, I will be very useful your opinion.

By the way, this explains the swappiness a little:

http://forum.xda-dev...937&postcount=2

http://zerocredibili...snt-make-sense/

On Android the advantage of no swap is a performance gain. So if on your ROM your memory (SD Card) is slow then H3 Blues will always be faster, although you may not be able to keep as many things running in memory. I've yet to run into any problems with this though.

Well, The swap is another matter ...

Nitroglass is not related to that. Use a system of mounts and symlinks to move apps and dalvik to sd-ext. Maintains /data/data in internal for speed.

However, (although there are different opinions), I studied enough the swap, and have come to the conclusion that their usefulness depends on:

- User profile (for heavy games, for example)

- the speed of your sd

- As you set up the swap ...

In THIS MOD I included other personal-script (PERFECTSWAP) providing swap for any rom and allow configure swappinnes. The idea is:

if you believe that you will not use swap (for various reasons), then put swappinnes to 0.

If you have a SD Class10 and will run heavy games, swappines puts greater. (30-40)

And finally, for users undecided, a value of 10, provides both performance (because I never use) and safety (because timely, in extreme cases, the swap will be activated). I call it "swap-conservative."

if you are interested to try it, I can provide it, of course!

Edited by Viento del Sur
0

Share this post


Link to post
Share on other sites

Posted (edited)

Version A of your idea is what H3 Blues already does, minus point 3 as I've not come across anyone using a TPT with a 64MB cache yet. I have it use 35MB of memory instead of 64MB, and I've not tested downloading Angry Birds Star Wars, but nobody has ever said that 35MB wasn't enough. I'll double check that later.

As nitroglass is a lower number I'd expect it to execute before my script, which means you'd be adjusting the cache to 64MB and then H3 Blues would lower that back to 32MB. Not a huge issue, but something you should be made aware of.

The swappiness I figured I'd mention since I've seen spanish ROM's re-enable it. I just wanted to let you know why it's disabled in H3 Blues :) You see, if I disable it then I can guarantee that the ROM will run fast for everyone, but if it was enabled then for anyone with a class 2 SD card it would become slow over time. I know that can be tweaked like how you've done it via your script, but I opted to disable it as many people don't like to edit files. They just want to install a ROM and use it. Also when I was performing tests with a swap vs. no swap using my class 10 SD card I found that the swap didn't ever really help. Yes, in a way it gave me more memory, but I found that I didn't actually ever need that memory as Android handled everything pretty well and closed the apps I wasn't using. My memory tweaks might of helped a little with that though.

Nice scripting by the way. They're rather clean and laid out well :)

Edited by H3ROS
0

Share this post


Link to post
Share on other sites

Posted (edited)

Version A of your idea is what H3 Blues already does, minus point 3 as I've not come across anyone using a TPT with a 64MB cache yet. I have it use 35MB of memory instead of 64MB, and I've not tested downloading Angry Birds Star Wars, but nobody has ever said that 35MB wasn't enough. I'll double check that later.

On cache size ...

Remember that possibly TPT-stock from factory is the most common ... It has 64mb.

In H3 v2.2 this may be a small problem since 06scritp only evaluates a size 35. In my opinion, that solves the problem to those with 2mb, also does not affect those who are 35, but ... harms those who have the phone without changing the original tpt, because not only reduce your cache but reduce your ram (with tmpfs) Is my thinking correct?

In HTCMania people with 35 (or less) has reported they can not download apps like this:

IMAGE

(For this reason my idea I said yesterday)

As nitroglass is a lower number I'd expect it to execute before my script, which means you'd be adjusting the cache to 64MB and then H3 Blues would lower that back to 32MB. Not a huge issue, but something you should be made aware of.

yes, it can be a solution. However, the important thing is that I also recommend nitroglass-v2.1 for H3. Maybe I should remember your thread (or you can do it yourself, of course) ^_^

By the way, I made a mod for your rom + nitroglass and love. Thanks for your great rom.

Nice scripting by the way. They're rather clean and laid out well :)

VERY VERY THANKS!!!

Edited by Viento del Sur
0

Share this post


Link to post
Share on other sites

Posted (edited)

I'm thinking the original TPT cache size is 32MB, so if you've got a 2MB cache then it'd create a temporary 32MB cache or 64MB in your case, but if you've got an actual 64MB cache then my version of the script would end up making a temporary 32MB cache so the existing 64MB gets wasted. That's an easy fix though as all I need to do is instead check if the cache size is 2MB instead of checking if it's not 32MB :)

If you like the H3 Blues ROM enough to source from it then you may like the newer ROM I'm working on. It's Gingerbread made to look like JB/ICS and it's actually a little faster and more polished than H3 Blues.

Screenshots:

http://www.modaco.co...00#entry2077367

I'm still working on it, but I think it's going to be rather popular over at htcmania :)

Edited by H3ROS
0

Share this post


Link to post
Share on other sites

Posted

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.