[Q] About cache sizes [SOLVED] - Captivate Q&A, Help & Troubleshooting

So I've been having a problem with my phone that I've never had before. My cache is almost always filled and I'm having issues downloading updates from Market. The file size range can be anything from 100k to 23MB and it refuses to update. Sometimes booting in CWM and clearing cache works, sometimes it doesn't. I looked around and found a cache size changing script from the I9K forums, but that also doesn't work. So my questions are:
1) Does anyone else have this issue, and if so, what did you do to fix it?
2) Are there way to actually change the cache size? Either via CWM or I think I remember something about a pit file.
3) If I can't find a solution, does anyone know if any other the custom roms have changed the size of the cache to anything larger then 25mb which is the stock Samsung limit
And if there's already a thread with the answer, please point me to it. I searched prior and everything was about dalvik cache, which is not my issue.

Here is a post by Kyuta Syuko which includes all links for the captivate cache info.
I use the init.d script and it works great (also works for others too). Did you set the permessions on the script? Look over here for an init.d cwm script package that includes the cache scrpit. Disregard the other two scripts (S98screenstate_scaling and S98system_tweak) in the zip if ur not interested in them, simply delete them from the zip before flashing. Follow the steps to be taken after flash in the link. Cheers

I actually have the init.d script but it doesn't work for me. And I'm certain Cog4 has init.d support as there are already other scripts in there that I did not put there myself.

Don't know about cog4 (froyo rom if I'm correct), but the script works great on talon/darkcore + i9k based gb roms (tested on jvq/s/t).

fuloplori said:
Don't know about cog4 (froyo rom if I'm correct), but the script works great on talon/darkcore + i9k based gb roms (tested on jvq/s/t).
Click to expand...
Click to collapse
Yes it is Froyo. And after some more tinkering with adb, I got the script to work. Had to comment out a line. I finally have a cache thats USABLE. Thanks guys.

Cool, glad u figured it out

Related

[Q] What happens to /system when a rom is installed?

I'm sure this question has been answered before, but I can't find it anywhere, so here goes:
I always thought that whenever a ROM is installed it completly wipes and overwrites the /system partition. But perhaps I figure wrong, maybe the files/folders within /system are overwritten and any other pre-existing files are left behind.
Which is it?
I ask this because I notice that the size of /sytem in an update.zip varies from one ROM to another, this suggests to me that perhaps files can be left behind when a ROM is installed. Also I'm curious why it's sometimes possible to upgrade a rom without a wipe and sometimes it isn't.
It depends on how the ROM is set up to install...
Basically, a flashable zip is just a bunch of files and a script that installs the package. If the script also has instructions to erase files or directories, then it will...
Sent from my Nexus One using XDA App
it depends on what you are doing. if i flash a full ROM to my phone, it will just upgrade everything as if it were a real OTA from google, meaning it keeps every thing in tact. if i wipe the phone first, of course it re-writes everything. so it's a tough question to answer.
Thanks danger-rat, perfect explanation.
It's quite interesting that we rely on the ROM-dev to wipe whatever is necessary (as a manual wipe from Recovery-mode does not wipe /system). So I guess it's possible to install a new ROM and be left with bits of the old one still in /system if the ROM-dev didn't specifiy a format of /system.
danger-rat said:
It depends on how the ROM is set up to install...
Basically, a flashable zip is just a bunch of files and a script that installs the package. If the script also has instructions to erase files or directories, then it will...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse

[Question]:zImage and modem binary swaps

I like to tweak my ROMs before a flash. i.e. make changes to /system apps; framwork tweaks... etc.
However, whenever I try to replace a kernel zImage or modem binary(using 7z, so as not open archive), I get stuck at a bootloop.
I can replace .apks and .pngs no problem using this method.
Can zImage and .bin be replaced as well? Does redbend also need to be copied? Since .bin and zImage reside in same folder in ROM... which redbend to use if needed?
Thank you?
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Br1cK'd said:
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
Click to expand...
Click to collapse
Exactly what Br1cK'd said. Use the redband that's with the kernel. If pulling the kernel from a rom and a modem from a different one same deal. Also be careful which kernels you use ie: right kernel for phone and version of Android.
d33dvb said:
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Click to expand...
Click to collapse
No sir it is not quite that simple. Proper settings have to be in the update script for everything to install properly. Replacing one file for another of the same name usually works and some files can be added but system apps and additional folders need to be in the update script.
Br1cK'd said:
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
Click to expand...
Click to collapse
Br!ck'd, fan of your work and EDT as a whole... great dev team! It happens on any kernel/ROM combo I have tried, which is interesting. Update.zips just carry signed certs and simple copy bash scripts, essentially pushing new files to correct directories, correct? I definitely check for kernel compatability before, I am noobish, not noobtacular
d33dvb said:
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Click to expand...
Click to collapse
1. I believe redbend is samsung tool for flashing volatile memory (NAND).
2. You can use 7zip to explore archives/apks without extracting them and breaking signings. Thus you can simple copy paste .apks/.pngs to appropriate directories without extracting
Most update zips are the actually apk and simple scripts in a flashable container. Roman form EDT has an excellent tool for creating flashable zips if interested... but yes you can manipulate file system of phone and archives. I use adb from recovery. Or android commander is a useful tool as well
EDIT: Explodingboy gives better explanation above
I use untermench's modified redbend. It's the same thing except it removes that ugly blue splash screen every time it is run. That said, I've simply copied over OS and CW into the trigger zips to override the stock kernel. And I never received any reports if it not working from anyone (and I've had releases with both).
Point being, in my experience it doesn't really matter (so long as everything matches). I've done the same for previous modems.
And as you said, all it's doing is copying them to the proper partitions.
Sent from my SGH-T959 using Tapatalk
birgertime said:
I use untermench's modified redbend. It's the same thing except it removes that ugly blue splash screen every time it is run. That said, I've simply copied over OS and CW into the trigger zips to override the stock kernel. And I never received any reports if it not working from anyone (and I've had releases with both).
Point being, in my experience it doesn't really matter (so long as everything matches). I've done the same for previous modems.
And as you said, all it's doing is copying them to the proper partitions.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
Very cool... thanks.
Also, you are going to think I am crazy... but that ugly blue splash screen can tell me if it is a bad flash or not. When it happens on the top of screen= good flash, on bottom = gonna need to flash again, cause behavior goes wonky. Maybe just bizarre coincidence???
Poser said:
Br!ck'd, fan of your work and EDT as a whole... great dev team! It happens on any kernel/ROM combo I have tried, which is interesting. Update.zips just carry signed certs and simple copy bash scripts, essentially pushing new files to correct directories, correct? I definitely check for kernel compatability before, I am noobish, not noobtacular
Click to expand...
Click to collapse
I've seen you around, you're not noobtacular, but hell I'm still way noobish about a lot of things. Dig the avatar btw. I don't know if I can give an intelligent enough answer to your question, would probably have nobody running Loki by tomorrow, lol. Have you grabbed any logs, or tried to, while its looping?
I have no issues doing this with winrar.
Sent from my Amazing Captivate using the XDA Premium App Infused with Tiger Blood
Br1cK'd said:
I've seen you around, you're not noobtacular, but hell I'm still way noobish about a lot of things. Dig the avatar btw. I don't know if I can give an intelligent enough answer to your question, would probably have nobody running Loki by tomorrow, lol. Have you grabbed any logs, or tried to, while its looping?
Click to expand...
Click to collapse
<Palm to forehead> Probably should logcat... duh.
Just flashed with with custom kernel/modem combo... seems to be booting fine, will report any anomalies.
Only thing I did different was copy zImage and redbend from Kernel.zip
Thanks peoples!

nandroid backup = factory reset??

i made an nandroid backup with amon ra 2.2.1 with sd-ext included and when i reboot, everything was gone, as if the data got wiped....
i see some broken apps so i geuss something happended with the ext partition
my sd-ext map is empty and i have this ext.tar in my nandroid map
wtf happened!?
shiyou,
You are having too many problems from the beginning. I posted some tips on your first thread, but never heard back. Also, a member recommended doing more research before going forward. The N1 is different from other phones as far as flashing roms.
I would recommend you do this assuming you have a working rom or working backup and sdcard backup. Depending what you have or don't have the below order may vary. Maybe someone can help us there:
1. Take your sd card out of phone--believe you said you have a backup--format it with sdformatter: http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
You can dl manual also--mainly select full erase on and size adj on as format options.
Put your backup back on sdcard while still outside phone. Put card back in phone and boot into Amon recovery. Go thru the partition steps to get 1gb ext3 and 0swap.
At this point you need to have a working rom to boot into. If not other steps may be needed.
I use Titanium Backup to manage apps, the paid version. After I flash a new rom, I open TB, or get it from Market if not part of rom. Then I restore all apps with data. NOT system data. Then I delete any old rom apps and do a refresh and then backup all apps and data.
At some point you need to get rid of Rom manager and Clockwork and flash a fresh Amon_Ra 2.2.1 from his site: http://forum.xda-developers.com/showthread.php?t=611829 Before flashing make sure the install recovery file from old revovery is deleted thru Root Explorer, see this link: http://forum.xda-developers.com/showthread.php?p=9414097#post9414097. You don't have to use adb, just Root Explorer. Change permission first to R/W.
You can push the 2.2.1 .img after, downloading to root of sdcard, with Terminal Emulator using these commands:
Open TE and type:
SU
at # type flash_image recovery /sdcard/recovery-RA-passion-v2.2.1.img then hit enter. I usually check md5's with a file explorer. The recovery-RA-passion-v2.2.1.img part above should be the exact name of the img file you downloaded.
2. Before flashing an update to a rom wipe dalvik cache and cache in recovery
3. If flashing a new rom wipe Phone's System with Temasek's System Wipe zip 3X by flashing from recovery. It should be in your download folder.
http://forum.xda-developers.com/showthread.php?t=723844&page=1767
Then wipe Dalvik Cache and anything else that wasn't wiped with System Wipe zip 5X
4. You probably already know, but you can't restore a CWMod backup using Amon_RA or vice versa.
5. Read all the OP pages on the links I posted carefully
This is the way I been doing this for a long time--and rarely need any help or have problems. The system wipe is critical as old files can be left on phone even after a phone data wipe and flashing new rom.
Hope this helps and I haven't left anything out. Not a good typer. If I did--someone will correct me and some things are personal preference. But these have worked well for me.
BTW: If you have no good rom, you may want to dl the latest CM7 RC or nightly to pc and put it on sdcard after you format and put your sdcard backup from pc to phone. Then it is there to flash after card is ready and good recovery installed. You can always put the 2.2.1 on I mentioned after you get rest worked out. But, you gotta get off CWMod 3.0.
You should not use the beta Dark Tremor either, Would dl the the latest non beta.
Also, want the correct gapps for CM7 from OP page, and flashing order is rom/gapps/DT
Ken
I guess I was the member who recommended doing more research. So let me repeat:
I suggest leaving your phone alone and reading A LOT before you start doing something with it.
Yea, Sorry Jack
I was too lazy to go back and look--been a busy day and Fits is giving me a hard time on another thread
rugmankc said:
Yea, Sorry Jack
Click to expand...
Click to collapse
Nothing to be sorry for But indeed, I agreed with your point - someone who's looking for help rooting the phone and doing basic stuff for several days in a row, encountering a lot of problems, is most probably not ready for it, or not willing to read the guides.
You were right Jack on last thread. OP has now abandoned two threads he/she started and again asking for help on a CM7 thread.
No return to either with thanks and still looking for one magical answer, wondering why his phone don't work.
I gave enough advice for a dozen new users and over a year of flashing/backup expertise all in one post.
If he had done it right to begin with and followed some advice, he'd be running smooth. Card could be bad too, don't know.
I am done--
Ken
I love how you two are having this random conversation hahaha. Although I don't understand how the op did a nandroid backup and his phone wiped.. he mustve clicked wipe and confirmed it instead of nand backup. It's nearly impossible. I also decided (out of boredom) to look at his other thread.. Jack you said "Flash a new ROM, wipe your data, and try.
Repeat.
If the problems will still persist - they're in HW and you can't do anything about them." and what HE did: "i tried factory reset but didnt work..." lmfao you sir, are too nice jack! I'll give you two a thanks for the entertianment!
Well, rom development is slowing
Gotta do something
can't tell the same. 2 times i saved by nandroid due to bad flashing issue...

[Q] Best Kernel to Fix Lag on Gingerbread

Apologies if this has already been covered, i have searched beforehand i promise.
I have a a Galaxy running on Stock Gingerbread Firmware, and while it is slightly better than Froyo for lag issue, is nowhere near as fast as it was with OCLF oN Froyo. Unfortunately it only worked for 2 weeks before going even slower than before he fix so i removed it (after some messing about).
From what I have read, changing or patching the Kernel seems to be the best way to fix the lag issue, but there are so many different kernels from various developers, I really don't know where to start.
Can someone recommend a Kernel that will help fix the lag issue and get the phone working to it's full potential (it was lightning fast after I first installed the OCLF)?
I have installed firmware with Odin, rooted and installed OCLF previously, but that is about as far as I have messed about with my phone, so no expert. So if you can point in the direction of a guide to install too, that would be amazing (though i could probably find myself, once i know what Kernel i'm using)
This is the full details of model/firmware etc:
Model: I9000
Firmware: 2.3.3
Baseband: I9000XXJVO
Kernal: [email protected] #2
Build: GINGERBREAD.XXJVO
Thanks in advance
**ok, just realised i posted thread in wrong forum, should have gone in Q & A, apologies. Unfortunately, can't delete or move**
Try semaphore 1.8.2bm, use ext4 app v1.3 to convert to ext4. Use acid tweak to remove journals from system and cache file systems. Set lmk to 56 mb, use screen sensitivity fix, use smartassv 2 and sio and you'll have a fast phone that is solid with great battery life, remove profiles from setcpu if used. I also use darkys zipalign script and 3g script, works really well
Edit
I'm using stock odexed jvt with custom theme, all Samsung bloatware removed.
Sent using TCP/IP
Thanks have found the kernel will give it a try.
Since i posted, I have installed a SpeedMod Kernel CWM which i used to root and change to Ext4. I assume once i change back to rfs it is safe to try this kernel?
Sent from my GT-I9000 using Tapatalk
Thank you for your advixe, I have made of the suggested changes and it is running noticeably smoother and quadrant test up from 965 (without mod) to over 1600.
The only thing i haven't done is the Acid Tweak, I'm not sure exactly how to install this. I found the download here http://forum.xda-developers.com/showthread.php?t=1266715
Can you advise how i install this please?
Also what would you recommend to remove bloat apps?
Instructions here:
http://forum.xda-developers.com/showthread.php?p=18285859#post18285859
cookm75 said:
Thank you for your advixe, I have made of the suggested changes and it is running noticeably smoother and quadrant test up from 965 (without mod) to over 1600.
The only thing i haven't done is the Acid Tweak, I'm not sure exactly how to install this. I found the download here http://forum.xda-developers.com/showthread.php?t=1266715
Can you advise how i install this please?
Also what would you recommend to remove bloat apps?
Click to expand...
Click to collapse
I think you need to convert to RFS, then flash semaphore 1.8.2bm using SGS flasher (wipe cache & dalvik cache afterwards). One you are on Semaphore or Galaxian, you don't need to convert to RFS, simply flash!
Then use ext4 app V1.3 to convert to ext4.
I've uploaded acid tweaks zip file, apply this zip file from CWM.
Reboot, edit the /etc/system/init.d/*acid* script, comment out the line for the
/data file system. I have uploaded my acidtweak file.
Also uploaded extra scripts from here, there and everywhere. Please remove the ".txt" file extension and make the files executable. Probably best to try each file one at a time so you know the effect.
If you are running Semaphore 1.8.2bm, use smartassv2 and sio, and the sensitivity tweak, SD card tweak, I don't think you need any other tweaks, but you can try!
Note that the tuned gsp.conf file is for the UK, I normally get at least 8 satellites very quickly with an accuracy of 10m (sometimes 5m)
Note that the 56Mb script sets the LMK value to 56Mb and should run later on so overwrites the semaphore value (usually set to 48Mb or 64Mb)
Let me know if you need any help
Thanks for that. Though I think you may have overestimated my knowledge lol
So far, I have installed the Semaphore Kernal, Used Ext4 to change the filesystem to Ext4, Applied some of the mentioned tweaks in Semaphore such as Smartass2 etc.
I haven't cleared cache and dalvik, would it be safe to do this now? What does this do?
Now the part where I struggle:
I have no idea how to edit acidtweak file (though I did try applying the zip file and my phone would no longer boot, getting errors about not being able to mount data etc)
The uploaded scripts: I can remove the txt extension, but how do I make them executable? Do I then copy them to my phone and run them?
Once again, cheers
cookm75 said:
Thanks for that. Though I think you may have overestimated my knowledge lol
So far, I have installed the Semaphore Kernal, Used Ext4 to change the filesystem to Ext4, Applied some of the mentioned tweaks in Semaphore such as Smartass2 etc.
I haven't cleared cache and dalvik, would it be safe to do this now? What does this do?
Now the part where I struggle:
I have no idea how to edit acidtweak file (though I did try applying the zip file and my phone would no longer boot, getting errors about not being able to mount data etc)
The uploaded scripts: I can remove the txt extension, but how do I make them executable? Do I then copy them to my phone and run them?
Once again, cheers
Click to expand...
Click to collapse
press three power button, enter recovery mode, choose apply zip file, choose acid tweak zip file. Reboot. You can now copy the acid tweak script into /system/etc/init.d and remove the . txt files in this directory will run when the phone boots. I use root explorer to make files executable, I think the free es explorer app may do the same.
You can copy the other files into this directory and enable then by making then executable. Long press on file, options, click on executable boxes (3 off)
If you are a noob, always best to backup /efs folder, you can do this with root explorer, long press on folder, copy, go to sd card, paste
Sent using TCP/IP
I have tried applying the Acidtweak zip file, but then my phone fails to restart, will not pass the Initial Boot screen (not the animated one)
I can access swm but id displays the following errors:
E: Unknown volume for path [/data] and [/cache], can't mount /cache/recovery/command etc
Have had to flash the softwre again to get it working.
Had you converted to ext4 before flashing acid tweak from cwm?
Sent using TCP/IP
Yes, already done
Sent from my GT-I9000 using Tapatalk

Symlinked Gapps for CM9 And CM10 (w/ Google Now ICS instructions) (09MAY2013)

Hello everybody. After spending hours trying to figure out what I could delete from the system to make room for Gapps on CM10, I even tried to resize partitions, I came to the conclusion that the Gapps will have to be stored elsewhere. So, I came up with a solution, by installing the apps to /data/Gapps and then symlinking the files to /system. So since there are so many people trying to get Goggle Now on CM9, I figured I would make modified Gapps zips for both CM9 and CM10.
These are complete Gapp packages, they actually free up space on the /system partition, and are completely functional. Most of the files are installed to data/Gapps, this way the devs will not have to worry about trimming the ROMs, except to fit on the partition.
I'm sure this will help a bunch of other devices that have smaller system partitions also.
Note: Facelock requires you to log in to an account, to even show up in lockscreen options.
I don't think Google should have any issues with this as I haven't changed any files that where in the zip just moved them around and modified the updater-script.
Installation for fresh install:
1. Boot to your favorite custom recovery
2. Factory reset, wipe cache and dalvik cache
3. Flash CM9/CM10
4. Flash these Gapps
5. Reboot
Installation for previous install:
If you are already setup , you will need to wipe the cache and reinstall the ROM to format system to remove any Gapps already installed. As long as you don't wipe data/factory reset you should be right back where you started.
1. Boot to your favorite custom recovery
2. Wipe cache and dalvik cache
3. Flash CM9/CM10
4. Flash these Gapps
5. Reboot
Google Now Installation for CM9:
Google Now Installation for CM9 (fresh install):
1. Boot to your favorite custom recovery
2. Factory reset, wipe cache and dalvik cache
3. Flash CM9
4. Flash Google Now (online)
5. Flash these Gapps
6. Reboot
Google Now Installation for CM9 (previous install):
1. Boot to your favorite custom recovery
2. Wipe cache and dalvik cache
3. Flash CM9
4. Flash Google Now (online)
5. Flash these Gapps
6. Reboot
[MOD][ICS] The Google Now for ICS Project [ARMv6 & v7]
Symlinked Gapps for ICS Ver3:
Fixed Facelock.
Note: Facelock requires you to log in to an account, to even show up in lockscreen options.
Had to add placeholders in system/vendor for the symlinks to be created, but vendor is still 0 bytes
symlinked-gapps-ics-20120429-signed-Ver3.zip
Symlinked Gapps for JB Ver2:
Fixed Facelock.
Note: Facelock requires you to log in to an account, to even show up in lockscreen options.
Had to add placeholders in system/vendor for the symlinks to be created, but vendor is still 0 bytes.
symlinked-gapps-jb-20121011-Ver2.zip
thank you very much
this reduces the pain while trimming the rom for matching system partition
in this same way can we get google offline voice..?
reversegear said:
thank you very much
this reduces the pain while trimming the rom for matching system partition
in this same way can we get google offline voice..?
Click to expand...
Click to collapse
GNow offline for ICS still requires about 60mb. So it will depend on the ROM. But, it works with our Triumph ICS ROMs. And they should be almost identical, as far as I've seen. I use GNow offline with my PA ICS ROM, with no issues. I haven't spent much time on any of the X6 ROMs, as we can't use the newer kernel and still use our phone service.
Let me know how it goes.
Sent from my WX435 using Tapatalk 2
This is great way of freeing up system partition..! So can our device be repartitioned? And make some internal memory available as internal sdcard?
bandukia said:
This is great way of freeing up system partition..! So can our device be repartitioned? And make some internal memory available as internal sdcard?
Click to expand...
Click to collapse
Already we have a enough internal memory 1gb. What we need is system partition which is 245 mb needs expansion may be additional 100 mb from internal memory. that is where the pain area.
"Fixed Facelock.
Note: Facelock requires you to log in to an
account, to even show up in lockscreen
options."
what do you mean by this sir?
thanks.
^_^
It is okey to flash this gapps when already some gapps (gmail, voice etc) in our rom? ....
Or we just force to uninstall before flash this? ..
Btw thx dude, great job.... :thumbup:
Ps:im using jb rom by dr.rush
Sent from my Andro-Id using Pulsa
reversegear said:
Already we have a enough internal memory 1gb. What we need is system partition which is 245 mb needs expansion may be additional 100 mb from internal memory. that is where the pain area.
Click to expand...
Click to collapse
thats not what i meant.. i was saying that partitioning our phone with what u said and also with some 100-200 mb to make internal memory detect it as sdcard?
bandukia said:
This is great way of freeing up system partition..! So can our device be repartitioned? And make some internal memory available as internal sdcard?
Click to expand...
Click to collapse
Thanks, our partitions can not be repartitioned/resized, I tried everything except deleting the extended partition(4) that holds 5 - 17. That is why I made these.
This is the breakdown of the partitions on our phone:
BSydz said:
So, this is what I have found so far about the partitions on the Triumph, I can't guarantee that this is all correct, but if anybody has any input feel free to chime in.
WARNING, THE INFORMATION PROVIDED BELOW IS SPECULATIVE AND COMES WITH NO WARRANTY. IF YOU MESS WITH THIS STUFF, I AM NOT RESPONSIBLE IF YOU DAMAGE YOUR PHONE.
Partitions:
1 (FAT) Mobile Partition containing image folder, which is very well documented around the forums.
2 (crypt/QNX4.x) Primary Boot Loader (PBL) I believe that this is what the SOC uses to boot.
3 (crypt) Secondary Boot Loader I believe this is where the hardware layout is contained, as it changes button configuration and was key to getting back to normal after I flashed the wrong nb0. It is linked to the mobile partition, as the phone will not boot properly without the correct amss.mbn
4 (extended) Just an extended partition containing partitions 5 - 17.
5 (Boot) This is where the boot img is extracted.
6 (OnTrack DM) I think this manages and verifies integrity of partitions 13-17.
7 (ext3) This is where the system/rom is located. This is what you see in root explorer as "system", containing the build.prop and other stuff.
8 (ext3) This is the "data" folder .
9 (ext) This partition holds CDA info, with OEM apks, ringtones, and wallpapers, it seems to be mounted inside partition 10 (hidden) when the phone is on you can find the information merged into "hidden/data" using root explorer.
10 (ext3) This is the hidden partition containing boot images and CDA info. This can be found in "hidden" using root explorer.
11 (ext3) This is the cache partition.
12 (ext3) This is the Caivs, can't find too much info on this.
13-17 (unknown) I believe this is where the phone specific data is stored, including but not limited to MEID, ESN, and PRL.
Click to expand...
Click to collapse
reversegear said:
bandukia said:
This is great way of freeing up system partition..! So can our device be repartitioned? And make some internal memory available as internal sdcard?
Click to expand...
Click to collapse
Already we have a enough internal memory 1gb. What we need is system partition which is 245 mb needs expansion may be additional 100 mb from internal memory. that is where the pain area.
Click to expand...
Click to collapse
Since there is no way to resize any partitions, that is why I made these. Data is the only partition that we can really use that won't require us to heavily modify the phone and be user friendly. Because not everybody who installs custom ROMs is gonna be able to do those types of modifications. This is the simplest way to fix the issue and won't impact anybody who wants to change ROMs.
aeoi said:
"Fixed Facelock.
Note: Facelock requires you to log in to an
account, to even show up in lockscreen
options."
what do you mean by this sir?
thanks.
^_^
Click to expand...
Click to collapse
I have had this posted in another forum for a while, the original tread is below. We (Triumph users) did not have camera working in ICS, and still don't on JB, So when I first released these, the optional script that installs facelock was not correct. Now that I have fixed the front camera, I got feedback that facelock was not working. While trying to fix it, I spent a few hours, never even getting the option in lockscreen settings, and finally added an acount one time so I could get some apps from google to figure out what was happening. Then I went in to the settings and it was there. So the hours I wasted was because I hadn't added an account. So face lock will not even show up in lockscreen settings until an account has been added to the phone. I think it has to do with having to have a second unlock option if facelock can't work, like low light situations.
http://androidforums.com/triumph-al...-w-google-now-ics-instructions-09may2013.html
adonwenas said:
It is okey to flash this gapps when already some gapps (gmail, voice etc) in our rom? ....
Or we just force to uninstall before flash this? ..
Btw thx dude, great job.... :thumbup:
Ps:im using jb rom by dr.rush
Sent from my Andro-Id using Pulsa
Click to expand...
Click to collapse
It may work, one of the issues I had was the script was putting the optional files in system (the wrong place) and then the symlinks would overwrite the files. So this leads me to believe it may work, but I can't promise anything. If it doesn't work I can add some stuff to delete specific files in the updater-script, or you can remove the files from the ROM zip before flashing. You will want to at least wipe cache before you try these. I hate to say it, but you may have to be the tester.
Now that you guys are aware of these Gapps, you should ask your dev to remove Gapps from the ROM if possible. That would probably be the best route to go.
bandukia said:
reversegear said:
Already we have a enough internal memory 1gb. What we need is system partition which is 245 mb needs expansion may be additional 100 mb from internal memory. that is where the pain area.
Click to expand...
Click to collapse
thats not what i meant.. i was saying that partitioning our phone with what u said and also with some 100-200 mb to make internal memory detect it as sdcard?
Click to expand...
Click to collapse
Sorry, as I explained above, this is not an option. Big SD cards are cheap now, and how would a couple hundred MB help anyway? If it is for swap, then it would be better to wear out your SD rather than your internal HD. Plus a good SD would be faster.
If anybody has any other questions feel free to ask.;
Thank you Bsydz for throwing light on the so far untouched topic in our forum
Lots of useful information.
Off topic question
Can you please let us know how do we port JB ROMs from triumph to ideos x6. Especially PA Rom
reversegear said:
Thank you Bsydz for throwing light on the so far untouched topic in our forum
Lots of useful information.
Off topic question
Can you please let us know how do we port JB ROMs from triumph to ideos x6. Especially PA Rom
Click to expand...
Click to collapse
Thanks. If I had another dev phone I would just build one for you guys. It is a pain switching over cause we never got an nb0, I have to manually swap out the partitions to get it back. That's where I got the info about the partitions. My PA JB is built on CM10, so it would be just like any other CM port except the headphones and most everything else should work. It is older since PA went to aosp instead of CM based. Are any of your CM10 ROMs built from source or just ports? It would be nice to see some of the edits made for our phone. The only thing that's not working on ours is 3G, video/camera preview, and HDMI. But you guys use sim cards so I don't think you would have 3G issues and your kernel should fix the previews.
I'll build a PA JB ROM if you are willing to test it. I have the device files and the kernels except ck's kernel. Let me know, cause I hate releasing something I can't test first.
Sent from my WX435 using Tapatalk 2
im ready to test the rom.
we have both the CM10. I.e built from source and port rom
This one built from source by master abenaigle
http://forum.xda-developers.com/showthread.php?t=2158624
This one is stable CM10 by Dr.Rush
http://forum.xda-developers.com/showthread.php?t=2160913
V0.2 is stable ROM presently.
I've uploaded my modded kernel source, sorry... not in github.
reversegear said:
im ready to test the rom.
we have both the CM10. I.e built from source and port rom
This one built from source by master abenaigle
http://forum.xda-developers.com/showthread.php?t=2158624
This one is stable CM10 by Dr.Rush
http://forum.xda-developers.com/showthread.php?t=2160913
V0.2 is stable ROM presently.
Click to expand...
Click to collapse
CacingKalung said:
I've uploaded my modded kernel source, sorry... not in github.
Click to expand...
Click to collapse
Thank you, I am building it right now, just working through the errors from the ICS device files. CK, I got your kernel source, so we will see how it goes. I'll start new thread when it is done building.
BSydz said:
Thank you, I am building it right now, just working through the errors from the ICS device files. CK, I got your kernel source, so we will see how it goes. I'll start new thread when it is done building.
Click to expand...
Click to collapse
Ready to test your ROM.. All the best.
visit Techlions.in for latest tech news..
reversegear said:
im ready to test the rom.
we have both the CM10. I.e built from source and port rom
This one built from source by master abenaigle
http://forum.xda-developers.com/showthread.php?t=2158624
This one is stable CM10 by Dr.Rush
http://forum.xda-developers.com/showthread.php?t=2160913
V0.2 is stable ROM presently.
Click to expand...
Click to collapse
Firmware and kernel of our devices are compatible, I checked when flashing CM 9 from Motorola TRIUMPH, running everything except the data and the camera upside down
Sory for my english
Dr. Rush said:
Firmware and kernel of our devices are compatible, I checked when flashing CM 9 from Motorola TRIUMPH, running everything except the data and the camera upside down
Sory for my english
Click to expand...
Click to collapse
No need to apologize for language barriers. Do you think, you could put together a zip of the files in /lib and /bin that are for fb0? I just need the files that you put in to get it working, not all of them. It will make it easier to setup a device files for building from source. I have built the ROM and it boots, but no display, with copybit errors. I think I can get past those errors but once it fully boots, I'm sure things will have to be fixed.
Also, yes our phones are almost identical. Our amss.mbn is not compatible with the new kernel so we can't use our phone after the update. Just like you can't install the newer ROMs unless you flash the sharp nb0. I have it installed on my dev phone right now so i can get this working. I can install the nb0 and everything works perfectly except phone and 3g. It sucks, cause we are stuck.
Sent from my WX435 using Tapatalk 2
How much, I realized you're talking about the incompatibility of your phone with our 35 kernel, 32 kernel but your compatible with our device, in MTDEV M9 worked even mobile network, except 3g that prevents replace the kernel to fix the library and enjoy the new firmware
BSydz said:
Thank you, I am building it right now, just working through the errors from the ICS device files. CK, I got your kernel source, so we will see how it goes. I'll start new thread when it is done building.
Click to expand...
Click to collapse
any update on status...?

Categories

Resources