yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] shinobisoft:
As much as I hate to cut my own throat...

Before I wrote OOne ROM Editor I used an archiving app called JZip for trimming ROMs on a Windows PC. No special things to do. Open the ROM in question with JZip. Remove/delete what files you want and then close JZip. That's it. No special settings etc.
[Optimus One, P500 Original Android Development] sam811:
you want to trim the rom? open zip, go to app folder and delete apps you don't use. i created a list here which should help you: Cyanogenmod 10.1 (Android 4.2) application list:. i managed to trim down the rom to less than 90MB that way without breaking any function.

also delete the extra folder anyway. you can also trim the media folder but that won't save a lot of space. you can further trim the latinIME (keyboard) by a healthy ~10MB with the OneRomEditor by keeping just 1 language.

PS: don't extract. you'll only mess up the rom.
[Optimus One, P500 Original Android Development] kitu34:
Ya i know your websiteb is closed and i did this only what you said but somehow did not happen.After exracting and deleting is it necessary to select all folders from within and zip it or going out to the main folder and doing is any difference?
[Optimus One, P500 Original Android Development] hariraj96:
can u give me the list of apps and libs i can safely remove ....i will never use gapps,email,live walls,...

my rom is only used for basic funtions ,media, and rarely internet on browser for news...
[Optimus One, P500 Original Android Development] shinobisoft:
Once you have removed what you want you can close JZip. The chosen files are removed once you confirm deletion. JZip does the rest in the background.
[Optimus One, P500 Original Android Development] ibub:
Or I could share this link to shinibisoft's tool and docs:

http://www.mediafire.com/?w1m1y992mpvpv

List of apps is in the docs. ;)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] hariraj96:
thanks , can u make a list for libs ???

i know its a bit ridiculous...but i'll be very useful
[Optimus One, P500 Original Android Development] shinobisoft:
Domo arigato gozaimasu
[Optimus One, P500 Original Android Development] ibub:
Just let me know when to delete the link bro. :)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] kitu34:
Thanks,and that is the problem that don't know what is harmless to remove therefore not able to do much and still after trying 5 times home button does not work but battery seems to be ok
[Optimus One, P500 Original Android Development] hariraj96:
tell me what u need and i will trim and upload it for u ???
[Optimus One, P500 Original Android Development] Dovidhalevi:
I take off from /system/app/

Apollo.apk --> install as user app (push to /data/app/, let Android do the rest)

Browser.apk if you use a different one or none

Calculator.apk --> install as user app

Calendar.apk --> install for Play if you want it, user app

Email2.apk if you use a different one or none

Exchange2.apk if you do not need exchange

Gallery2.apk --> install as user app

QuickSearchBox is a decent whole-phone search. Keep it if you like it. I take it off because I am using Rashed's modded Google Search (Now).

I usually remove the keyboard because I have others on sdext. Keep it (only need one language to enter google account) if you wipe.

I remove folder /usr/srec. This is voice recognitios stuff. It will work without it as I discovered. I symlink to a copy on sdext.

Extras and all that stuff does not get installed so can leave alone.

If you have the gapps version, remove Talk.apk. This does eat battery. I would leave the Play for now. You might (I have not tried) need to push Provisions.apk to /system/app/ if you remove Play. You may need to push a Play version and a gmscore.apk to system app but maybe it will work without them. A user app Play (upgraded or cross loaded) still requires the /system/app/ ones to work on cm10.

Be sure of your baseband! Use old baseband fix if need be.

Media will be found anywhere on your phone so nothing wrong with having a couple of ringtones left on the ROM and the whole business on your sdcard.
[Optimus One, P500 Original Android Development] nomancoolboy:
Also remove the pico tts apk and its lib files from system ...

It will save you 3.5 mb
[Optimus One, P500 Original Android Development] sam811:
i am not a developer so i can't be sure which library files are related to which app/functionality. i have removed a couple of lib files from 4.1 (or maybe 4.0. forgotten) build that involved the front facing camera but hardly made a difference in size.
[Optimus One, P500 Original Android Development] kitu34:
Hehhehe If you said this seriously then it is so sweet & kind of you.......overwhelmed!! Thanks a ton dear but it worked now and i trimmed but not much,i am learning from you all then i will decide.Thanks a lottttttttttttt
[Optimus One, P500 Original Android Development] rr0yy:
@ dovidhalevi

Can you give me the link to rashed's modded google now??!

I have lost touch with this thread.

Thanks.
[Optimus One, P500 Original Android Development] Dovidhalevi:
This is text-to-speech. Don't want to hear it, yes, remove it.

Want to use it, leave it there.

I have >12 meg on /system which is much more than enough.
[Optimus One, P500 Original Android Development] kitu34:
Thanks as learning from you guys.eEmail or gmail you will need i guess, and i also wanted to remove keyboard(11mb) coz i use a different one and not used to this and in keyboard for gingerbread and hacker keyboard it is faster but a senior guy said do not remove IME and being a newbie i dropped the idea for a while.But if we can remove it we can even keep two third party keyboards still the size will not cross even the half of the stock one which is around 11mb,or we can have one for daily use and one a very small size in case of emergency to fall back upon and restore later coz mine feezed once during chatting with gf(only if one uses chat service a lot). I removed all the language,voice and text to speech, tts as well.I guess there is no harm in trial and error method in here so even i will delete and see what happens.But instead of again and again reflashing after trimming there should be a way of doing it on the phone itself if the free space we get is similar compared to this way,this will save time and risk of flashing.Anyway thanks a lt for the info
[Optimus One, P500 Original Android Development] xu3sno:
Go to the first page of this thread. There's on Rashed97's signature.

---------- Post added at 07:02 AM ---------- Previous post was at 06:42 AM ----------

Try using Root Explorer. It's rooted file manager easy to use and rich of features. Get it from Play store

On:

/system/app

rm browser, calculator, email2, exchange, cmf (replaced with RE), replace LatinIME with trimmed one (English only) get it from rahulsby

On:

/system/fonts

rm localized fonts

On:

/system/media

rm some files you don't need it but system UI

As per my experiences you're safe :) after did it and got enough space on /system to flash mini gapps (rahulsby) or ROM with mini gapps included. You may install Link2SD and it will work out of the box! :cool:
[Optimus One, P500 Original Android Development] ibub:
[MENTION=4689008]rr0yy[/MENTION]

Google Now is not in Rashed's signature. But you can learn a little bit about how to make it work here:

http://xdaforums.com/showpost.php?p=39156799&postcount=169

;)
[Optimus One, P500 Original Android Development] xu3sno:
You are right ibub :). I'm mistaken with Google Apps. Please accept my apology:)

BTW, I noticed that almost more than a month, all topics regarding JB development or discussion or OT were posted in this thread. Nobody interested to post it in JB Discussion Thread anymore :).

Since Rashed97, as I remembered, doesn't objected about content other than development, IMHO it's more efficient just post all topics regarding JB 4.2.2, including discussion, here.
[Optimus One, P500 Original Android Development] ibub:
No need to apologize bro. I think I remember seeing it too. But someone was asking me for that, so I was looking. Discussion/development... 4.1/4.2...god I wish my machine would build JB. :p:rolleyes:

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] kitu34:
Try using Root Explorer. It's rooted file manager easy to use and rich of features. Get it from Play store

On:

/system/app

rm browser, calculator, email2, exchange, cmf (replaced with RE), replace LatinIME with trimmed one (English only) get it from rahulsby

On:

/system/fonts

rm localized fonts

On:

/system/media

rm some files you don't need it but system UI

As per my experiences you're safe :) after did it and got enough space on /system to flash mini gapps (rahulsby) or ROM with mini gapps included. You may install Link2SD and it will work out of the box! :cool:

Thanks,but i am sorry being a newbie i did not understand eveything you mentioned and how and what i can do.But as for file manager i want to remove but thought of checking it first but i found out neither it remembers your last folder and i am not able to find the OPTION 'show hidden files'.Very strange since now i have 4.2.2 stuff.

I have in backup ES Explorer but will surely try your root explorer and see but did you remove apps with explorer or titanium? Or trimmed it?

I have finished my 8 thanks hehehe

As you said i will try Link2SD but how to remove apps from the phone and not by trimming and is it safe? WHILE TRIMMING I REMOVED TTS TEXT TO SPEECH BUT NOW IN EXPLORER I SEE ONE 'GOOGLE TTS' WHICH IS 5MB BUT IN THE ZIP FILE THERE IS NO APP NAMED GOOGLE TTS COZ I CONFIRMED ONCE AGAIN JUST NOW.IT WOULD BE NICE TO REMOVE THAT BUT THAT IS NOT VISIBLE THERE FOR ME AT LEAST SO FINDING A WAY TO REMOVE USING OTHER WAYS, do share if you know. Thanks

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------
[Optimus One, P500 Original Android Development] kitu34:
I want to check the one theme which is provided in themes.I want to know if after applying i do not like then is it possible to revert back to the default? Thanks
[Optimus One, P500 Original Android Development] pmvyas:
If there is only one, means it is default..

There is no other theme to change to.

Sent from my LG-P500
[Optimus One, P500 Original Android Development] kitu34:
Thanks but looking at it it doesn't seem to be the one phone is using.Color,wallpaper and the set up looks different,it is blue in color and i don't have that
[Optimus One, P500 Original Android Development] pmvyas:
You can select it and check. Maybe only wallpaper could be different

Sent from my LG-P500
[Optimus One, P500 Original Android Development] kitu34:
Ya i want to but can i revert back from there only, if i don not like o something
[Optimus One, P500 Original Android Development] post-mortem:
Do a nandroid backup first.
[Optimus One, P500 Original Android Development] kitu34:
Nandroid backup just for changing and reverting back? You mean there is no option to revert or reset?

ANYWAY HOW DO WE DO NANDROID BACKUP,COULD YOU SHARE THAT PLEASE....NEED A SEPARATE APP FOR THAT?
[Optimus One, P500 Original Android Development] sushant_1727:
No, boot in recovery, go to recovery and bckup and select backup all contents, make sure your sd card have atleast 2GB free space.
[Optimus One, P500 Original Android Development] kitu34:
[Thanks]

Oh that is called nand...,oh yes.I forgot reading all the time here and having problems with rom and at home as well.Thanks for sharing yaar.I am a newbie though and still learning

Nandroid is just for rom no or entire phone including kernel? If yes then we can flash other roms from zip as well
[Optimus One, P500 Original Android Development] FitAmp:
Goodluck with 4.3 ;)
[Optimus One, P500 Original Android Development] shinobisoft:
Nand can/should backup the entire device file system, recovery, cache, dalvik cache, sd-ext, and user data.
[Optimus One, P500 Original Android Development] borchaniz:
Is the source code out yet???
[Optimus One, P500 Original Android Development] ibub:
YES. You can read about it here:

http://www.androidpolice.com/2013/07/24/google-pushing-android-4-3-to-aosp-right-now/

:)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] jayc137:
All the devs mostly compile from CM sources right ?

Never seen many AOSP complied ROMs with the exception of ICS by Rockr172,GB by lupopirph and Jellybean by our popdog123
[Optimus One, P500 Original Android Development] ibub:
First AOSP, then Cyanogenmod. It won't be long.

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] jayc137:
Yeah :D
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
4.3 changelog : http://developer.android.com/about/versions/jelly-bean.html
[Optimus One, P500 Original Android Development] kitu34:
Removed LatinIME but....

Before trimming again on pc just wanted to try and see with es explorer.REmoved two apps and now free system storage is 12mb.

But strangely my free internal storage is just 55mb and i have installed only 10 apps around 78mb.I realized this in the morning and want to know about this.I even have deleted cache & history.What is the reason,does anyone know?Please do share,thanks a lot.
[Optimus One, P500 Original Android Development] Dovidhalevi:
/data ... "internal storage" is all of 200mb. Of this, there is app data (varies), app cache (volatile), and the Dalvic cache. This was once-upon-a-time < 64 meg and sat on /cache. No more. Uses a good chunk of /data. So your figure make sense.

Some apps can be moved to your sdcard. The apk is moved, the dex (dalvik cache) and data remains on internal storage.

Link2sd can link most apps. Both apk and dex are symlinked to the sdext partition. Data remains on internal storage.

Other sdext script may do thing differently but you get the idea.

You begin to have problems when internal storage gets down below 20 meg but may still work fine. Much below 10meg many things begin to crash out! For your ten apps, you are doing just fine. Want much more, consider these tools to fit things.

That 64 mb /cache partition is now largly unused. It would be nice to have some tools to regain usage of this storage but not as easy as it might seem.
[Optimus One, P500 Original Android Development] jayc137:
So if we want to reclaim the cache partition someone has to repartition the whole internal storage

Do we have anyone who can do that ?
[Optimus One, P500 Original Android Development] kitu34:
[Thanks]

That 64 mb /cache partition is now largly unused. It would be nice to have some tools to regain usage of this storage but not as easy as it might seem.[/QUOTE]

Yeah cache storage is 64mb and 62mb is free all the time,even when i was not rooted.I had this misconception that deleting system apps will give me some space as well.

System storage had mere 48kb free,at least now it is 12mb and let's see what difference i feel.But the ram is always low even after reboot it is not that much which it used to be.

I was thinking of deleting even the browser but suddenly realized that i have not got google maps,but that can be used from the browser from the tasks in the top left.Only concern is data usage,how much difference is there if any.Maps are also big size.
[Optimus One, P500 Original Android Development] kitu34:
Where is superuser app?

I mean it is not visible now but earlier it was.Once i got a msg also from titanium to install SU,and for other reasons as well i wanted to install that but was not sure if i should update superuser instead as i got an update notification long time back.Superuser is only seen when it pops up to allow permission.It is not even in 'my apps' in market and install option is available instead of update.

But i could not find SU in the market as well
[Optimus One, P500 Original Android Development] post-mortem:
Superuser (or SuperSu) is the app, as in superuser.apk. Su is the actual binary, what you would type in a terminal emulator to get su privileges. You can download/update the su binary from within the superuser app.
[Optimus One, P500 Original Android Development] kitu34:
I do not see the app now? Even in market istead of update button it has install button,not even installed it shows
[Optimus One, P500 Original Android Development] vikasb32:
In cm10.1 superuser app built with setting.apk and not having separate activity to lunch the app.this super user app is create by cm team and it different to super user app you used before which is create by chainfire3d(not sure extact name).
[Optimus One, P500 Original Android Development] kitu34:
[Thanks]

Yeah by chainsDD perhaps.I was just wondering people saying SU solved their problem etc so even i was wanting to have it esp coz i was creating partition but not with card reader,just connecting it as usb storage.Thanks
[Optimus One, P500 Original Android Development] Dovidhalevi:
Repartitioning at "board level" was proposed to solve the whole JB space problem. Has not been attempted (and maybe shouldn't be). I have tried symlinking stuff to there. Question is what would be well-behaved. Some folks have tried larger program caches normally on /data/data. Cm10 ROMs are very intertolerant of such tricks, however.

RAM is RAM and board memory is not RAM. RAM is in short supply. RAM is volatile, not preserved on reboot. Board memory is nand memory which acts like an disk, why we talk of partitioning.

One can save internal storage by consolidating functions in apps like cloudcube or astro and leaving bloated Google apps behind, dropbox app, etc. Browsers can be used to access Google+ (one of Google's most bloated), maps, etc. However, after a while, there are diminishing returns or loss of UI conveniences. We can each make our own decisions and choose a balance here.

Some mount2sd style script to utilize /cache would be helpful, though I have plenty of room on my phone by keeping bloat like Google+, the new Swype paid version (I bought it, then restored the beta!), use previous (and more stable) Maps version, etc.
[Optimus One, P500 Original Android Development] borchaniz:
Maybe someone can make a script to merge virtually /data and /cache together(just like an sd-ext script) /cache is almost never used especially with cm10.1!(64kb and the rest is free)
[Optimus One, P500 Original Android Development] rakeshdas:
Is Bluetooth A2DP working in the latest nightly of CM 10.1?
[Optimus One, P500 Original Android Development] kitu34:
[Thanks]

*Thanks for sharing.Can't say much until we test.Using of maps is better from phone no doubt.I too had a 6mb of map but don't where it is,as it is my stuff from sd card is getting deleted now very often or images/video/etc goes in 'lost & found' directory and their name turns into numbers,same in the pics folder:thumbdata3.Sorry i am going off the track hehehe.And i haven't tried cloudcube also but you are right we have to strike a balance,something which is good for me might not be for you.

Now again phone will take up my time finding what is lagging my phone.Most probably it is coz of less Ram.
[Optimus One, P500 Original Android Development] post-mortem:
Your SD card might be dying. Make sure you back up the card, and look into it's warranty status.
[Optimus One, P500 Original Android Development] ibub:
Hephappy is working on cm 10.2.

https://github.com/androidarmv6/android_frameworks_base/commits?author=androidmeda

:);)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] borchaniz:
Awesome I cant wait! He's doing a great job for us!
[Optimus One, P500 Original Android Development] ibub:
Yeah, I realize now why cm10.1.3 is the last stable 10.1 build. Silly me. :p

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] FPChaim:
Great news!!!

This made my day :D :) :beer:
[Optimus One, P500 Original Android Development] rr0yy:
Customized Partition!!!

I remember, we used to customize FW partitions merging rofs and uda spaces BUT in Symbian OS (Basically Nokia Phones). We used to do customizations even on PCB level. Those were different days, Android made it a lot easilier. /OT

There are many tools and wares on XDA and other development websites for re-allocating Linux MTD partitions. You can Re-size Data, System, Cache partitions.

But let me tell you, its "eXXtremely risky". And im not sure which tool works because i never tried it myself on android. Im not encouraging anyone here to do so, its just for knowledge.

These are two links that i have come across.. Search for yourself.. for more info.

Link 1

Link 2

Also here
[Optimus One, P500 Original Android Development] Bonoboo:
Tested gerrit build from 22.07.

Yep, now SELinux status in Settings > About phone described as Permissive. So, hope it works.

Also fast tapped on this item like on build number. Then phone fully freezes.

Is there hidden settings menu?

Wi-Fi hotspot works, but now no reboot after toggling, only Error message.

But if turn on Wi-Fi after this > reboot.
[Optimus One, P500 Original Android Development] kitu34:
[Thnks]

Yeah maybe,will buy a new sd card now.

---------- Post added at 02:50 PM ---------- Previous post was at 02:45 PM ----------

Thanks i will read this link but i do not know much about these things,hardly.Honestly did not understand completely what you mean but i appreciate seriously that you shared some useful knowledge.Thanks for that
[Optimus One, P500 Original Android Development] xu3sno:
+1

As I posted it earlier (see page 607) SE Linux is there, but the system stuck on CM logo when it's rebooted :(
[Optimus One, P500 Original Android Development] xu3sno:
CM 10.2 test is in progress, submitted by our best dev hephappy

http://jenkins.androidarmv6.org/job/submission-test/183/

Trigger by gerrit

http://review.androidarmv6.org/5512
[Optimus One, P500 Original Android Development] xu3sno:
Latest status build CM10.2 on p500 device :

Gerrit changes subject: Enable SE Linux

Failed :(

http://jenkins.androidarmv6.org/job/submission-test/lastFailedBuild/
[Optimus One, P500 Original Android Development] ibub:
I count 9 failed builds today, so it's not for lack of trying. He'll succeed He always does. :)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Optimus One, P500 Original Android Development] xu3sno:
[MENTION=4912093]ibub[/MENTION]

If your problems with white tapes maps persist try modded old Maps version of 6.60 by Bruteall
[Optimus One, P500 Original Android Development] xu3sno:
CM10.1-20130727-NIGHTLY-p500 (505,506,509) is out.

Want to try it out or just stick on CM10.1.3? The choice is yours :)

As usual for weekly build, it started by timer-weekly.

Link for p500:

http://jenkins.androidarmv6.org/job/android/406/

Size: 104.34MB

http://jenkins.androidarmv6.org/job/android/406/artifact/archive/cm-10.1-20130727-NIGHTLY-p500.zip
[Optimus One, P500 Original Android Development] ibub:
Thanks, but again it's a no go. A little more on how I fixed it in ICS. In previous roms (working), the default bpp was specified as ARGB_8888. And this is the format that Gmaps seems to be calling for (have logcats). In newer ICS and JB roms the bpp default is RGB_565. Since I don't have the proper hardware to build JB, I am looking for other solutions. Possibly the default can be changed by using an Xposed module. Will try. More later. ;)

Edit: Xposed is also a no go (at least with EXISTING modules). Maybe I can learn to build module, or decompile frameworks.jar/edit/compile.

sent from the p509 that I thought I killed again... no trouble at all :cool: