Hi all,
i was testing this ROM and it works pretty well for a pre-alpha release. Actually there is a known issue (Settings / Apps / Properties -> FC) that is driving me nuts... I really need to open the Properties to move certain apps to "internal".
There are a couple of apps natively installing parts on SD card, for example Final Fantasy 4 or the XDA developers app. For whatever weird reason when the phone is rebooting these apps are completely disappearing and need to be reinstalled from the Playstore. This is happening to all apps which are "on SD card" in Settings / Apps.
So far i could not figure out why these apps are disappearing, but i believe the Properties FC is related to the INT2EXT4 script. I tried removing the script from init.d folder in the zip file to use Mounts2SD from Playstore instead. Did a full wipe and reinstalled, but then everything was force closing at setup wizard sceen.
Is it possible to remove the INT2EXT4 script from this ROM without crippling it completely? If yes, what is the procedure to remove it properly?
Any help would be appreciated.
Thanks for opening up a Q&A thread.
To remove INT2EXT and make a full restore of A2SD, you have to
1. remove 40int2ext from system/init.d/
2. copy the following files from any JB rom with A2SD support:
- system/init.d/03sdcard
- system/init.d/10apps2sd
- system/bin/a2sd
Click to expand...
Click to collapse
I hope this will solve your problem.
Another thing to check, how did you partition your sd card? Should be done with 4EXT recovery or gparted only (not minitool)
Backup and repartition your sd card if it's not done with those methods. One FAT32 partition, one 1.5-2GB max ext4 partition, no need for swap even though I think it says in OP.
To get around apps installing partially on sd card you could try a couple of things instead of replacing the script as it should work:
- Use titanium backup, long press an app and to move them to 'internal' to move to sd-ext, gets around having to navigate app settings
- I believe the ROM comes bundled with Xposed? Find a module called Modaco Toolkit, has a system option to 'Disable Forward Lock' which should prevent auto installation of apps to SD card (it works for me on Nexus devices preventing apps installing to virtual /mnt/asec sdcard partition, not tested with a real SD card but I believe the principle is the same, try it). If this method works, it's cleaner as apps should always get installed to 'internal' (sd-ext) in the first place.
spezi77 said:
Thanks for opening up a Q&A thread.
To remove INT2EXT you have only to remove it from system/init.d/
But you will have to copy 03sdcard into system/init.d/ folder. This script comes along with a2sd and is responsible for mounting the sd-ext.
I hope this will solve your problem. If not you should insert the following files for a full restore of a2sd:
- system/init.d/03sdcard
- system/init.d/10apps2sd
- system/bin/a2sd
Click to expand...
Click to collapse
Thanks for the quick response.
Tried your suggestion without success. As soon as I remove INT2EXT from init.d in the zip file ROM is going crazy force closing everything after fresh installation. Very strange... Restoring A2SD didnt help either. Is it only me or is it reproducible for other users?
eddiehk6 said:
Another thing to check, how did you partition your sd card? Should be done with 4EXT recovery or gparted only (not minitool)
Backup and repartition your sd card if it's not done with those methods. One FAT32 partition, one 1.5-2GB max ext4 partition, no need for swap even though I think it says in OP.
To get around apps installing partially on sd card you could try a couple of things instead of replacing the script as it should work:
- Use titanium backup, long press an app and to move them to 'internal' to move to sd-ext, gets around having to navigate app settings
- I believe the ROM comes bundled with Xposed? Find a module called Modaco Toolkit, has a system option to 'Disable Forward Lock' which should prevent auto installation of apps to SD card (it works for me on Nexus devices preventing apps installing to virtual /mnt/asec sdcard partition, not tested with a real SD card but I believe the principle is the same, try it). If this method works, it's cleaner as apps should always get installed to 'internal' (sd-ext) in the first place.
Click to expand...
Click to collapse
1 GB sd-ext partition created with 4EXT, no swap. Had bad experience with minitool and even gparted so I always use 4EXT for partitioning. Works fine for every other JB or ICS ROM.
***facepalm*** YES OF COURSE TB!! - that's the workaround, shame on me... Sometimes you don't see the wood for the trees...
BTW with Xposed and Gravity / Modaco toolkit Final Fantasy 4 refused to start, I had to remove both modules to get it working again.
Thanks a lot for driving me to the right direction, I'm fine with the workaround for now.
Siluxsept said:
Thanks for the quick response.
Tried your suggestion without success. As soon as I remove INT2EXT from init.d in the zip file ROM is going crazy force closing everything after fresh installation. Very strange... Restoring A2SD didnt help either. Is it only me or is it reproducible for other users?
Click to expand...
Click to collapse
Did you make those changes directly on your device? If yes, I suppose to modify the .zip instead and then flash it after doing a full wipe.
spezi77 said:
Did you make those changes directly on your device? If yes, I suppose to modify the .zip instead and then flash it after doing a full wipe.
Click to expand...
Click to collapse
No I did not change anything at OS level - that's the weird thing, i always adjust the zip file and flash it after full wipe.
Siluxsept said:
No I did not change anything at OS level - that's the weird thing, i always adjust the zip file and flash it after full wipe.
Click to expand...
Click to collapse
Tested one more time with a fresh download. As soon as I remove int2ext from zip file and flash it after full wipe all apps are force closing at setup wizard screen.
Siluxsept said:
Tested one more time with a fresh download. As soon as I remove int2ext from zip file and flash it after full wipe all apps are force closing at setup wizard screen.
Click to expand...
Click to collapse
That's really strange. However, thanks for your feedback. For the next version, I will create two variants of the rom (a2sd/int2ext).
Related
I have a few questions:
1) Which is better? The Cyanogenmod 7 or The Nightly builds?
2) I really like the Sense UI. After flashing Cyanogenmod 7, can I change my "theme" to Sense UI?
3) Which ROMs you can recommend me? I like to use the Sense UI. So till the time ROMs have Sense UI, I'm cool with it. Most of the ROMs I see have different themes which I kinda don't like. I got a few other ROMs with Sense UI but they needed to do some partition in the SD card and stuff which didn't really go inside my brain
4) After performing a Nandroid backup, I should flash my rom. So why do a few devices get bricked? Can't they just restore the backup and be back to normal version again?
5) After rooting, should I connect my phone to any HTC online services?
6) If HTC future updates come out and I'm on my rooted phone then will the update automatically install itself or I need to backup to the original version and then update my phone?
Sorry, I'm really new to all this. So please don't flame me
Hi !
1) You may go with the nightly builds, they seem to be quite stable as a daily rom. You can reflash an old build if one is buggy anyway.
2) You can't switch to Sense UI with a Cyanogen 7 installation, but you can install Launcher Pro or another launcher and then apply a theme that looks like Sense.
3) Leedroid is by far the most known Sense rom on Desire. You can also look after Teppic74's rom and addons which are also nice if you don't want a rom that has an infinite nomber of addons or changes.
4) Pay attention not to change your recovery when you backup an old rom. You have to restore with the same recovery you backed up your rom.
5) You must be talking about HTCsense.com, this online service has appeared with Desire HD and Z, it isn't available on our Desire Froyo roms at the moment. If you want to try HD Roms and others with a later version of Sense UI, you won't be forced to connect to this service.
6) When a future updates come out, if you want to install a stock RUU, you'll only have to create a goldcard before installing the RUU. No matter your Desire is rooted or not, after the RUU install, you will be S-ON and unrooted.
But you should wait for developers to release roms with the new HTC update, therefore you won't have to root and S-OFF your device again.
Welcome on XDA
Hey, thanks for replying mate
I didn't understand the 4th point. Sorry I'm a noob at this
for the fifth point, I was talking about sync and other services.
Sorry, I misunderstood your 4).
Your device won't get bricked if you pay attention to what you are doing when flashing.
Make sure before any flash to :
- Check the MD5 hash of your rom
- Wipe Data, Cache, Dalbik-Cache when it is needed
for the fifth point, I was talking about sync and other services.
Click to expand...
Click to collapse
Do you talk about Google sync (calendars, contacts, gmail), Facebook, etc. ?
Oh okay. I got it and how do I install Leeroid? I don't see any tutorials around..
- Download .zip : http://leedroid.ftp.rshost.eu/Bravo-ROMs/LeeDrOiD_V2.4.1_A2SD.zip
- Copy your .zip on your SD card
- Root your phone with Unrevoked (you can find some tutorials around here)
- Turn off your phone, press volume down+power button to boot into bootloader and select RECOVERY.
- Wipe Data, Cache and Dalvik Cache
- Flash Leedroid's rom.
Maikoru said:
- Download .zip : http://leedroid.ftp.rshost.eu/Bravo-ROMs/LeeDrOiD_V2.4.1_A2SD.zip
- Copy your .zip on your SD card
- Root your phone with Unrevoked (you can find some tutorials around here)
- Turn off your phone, press volume down+power button to boot into bootloader and select RECOVERY.
- Wipe Data, Cache and Dalvik Cache
- Flash Leedroid's rom.
Click to expand...
Click to collapse
Sorry, but imho your guide is incomplete. I write the necessary new things in red:
- Download .zip : http://leedroid.ftp.rshost.eu/Bravo-ROMs/LeeDrOiD_V2.4.1_A2SD.zip
- Copy your .zip on your SD card
- Backup/copy all data of sd-card on your computer, just in case;
- Root your phone with Unrevoked (you can find some tutorials around here): noob-guide: http://forum.xda-developers.com/showthread.php?t=1016084; for advanced users: http://forum.xda-developers.com/showthread.php?t=696189
- Save your systemdata and apps; i recommend Titanium Backup (Menu>Batch>”Backup all systemdata and apps”).
- Turn off your phone, press volume down+power button to boot into bootloader and select RECOVERY.
- Made a full nandroid-backup. Reboot your phone. Copy all data on the sd-card to your computer again.
- Turn off your phone, press volume down+power button to boot into bootloader and select Recovery; now select "partition sd-card" and then "partition sd". Set 0 MB for SWAP, 512 MB for ext3 and rest for FAT32. If you cannot create ext3, create ext2. After complete partitioning, select "SD: ext2 to ext3". Now go back and select "USB-MS-Toggle". Now copy all the saved data back on your sd-card. Is this complete, select "other" and "toggle signature verify".
- Wipe Data, Cache and Dalvik Cache
- Flash Leedroid's rom.
- Restore all missing systemdata and apps (Titanium Backup>Menu>Batch>"Restore all missing systemdata and apps").
- Restart phone
First start can take some time, because all apps were moved to the sd-card.
Never post such incomplete guides, please.
My bad, I gave him an incomplete guide, but there are also plenty of them around this forum and Google.
Searching isn't hard : http://forum.xda-developers.com/showthread.php?t=1016084
Thank you for your replies guys
Also, will the tutorial work with Cool Sense? (http://forum.xda-developers.com/showthread.php?t=899943)
It will, don't forget to flash this .zip : http://wbss.ro/coolexe/Extra/Alignment_Cool.zip before installing the rom. (This .zip will convert your ext3 partition on your sd to ext4, and it will also align that partition)
Okay And what's the use of partitioning the SD? Does it increase the Storage space (Internal Memory)? I saw it on one of the ROMs. Not sure which.
And what are radios?
The Radio of your device is the thing which makes it possible to call and to have mobile internet. And some radios should be better than others, so they should increase battery life or so but i never felt a difference with different radios yet.
Royal King said:
Okay And what's the use of partitioning the SD? Does it increase the Storage space (Internal Memory)? I saw it on one of the ROMs. Not sure which.
And what are radios?
Click to expand...
Click to collapse
The use of partioning is, that u are able to save data on the sd.
If you ask, why you should do it with this ext3- partition (i do not know why you need swap-partition; i just set it to 0 MB, as i was told ): With this ext3- partion all apps you install are automatically moved on the sd-card, wether the programmer has destined it or not. On this way you consume less space internal memory, by what you save/increase indirectly internal memory. This function is available for roms with apps2sd(a2d).
If you really what to increase your internal memory, you need data2sd (also available in some roms here). Here ALL data were moved to your sd-card without exception and the system is leaded to believe that the free internal space is the free space on your sd-card. On this way you increase your internal memory directly, and you will never have any save problems any more.
The question about the radio was already answered.
That sounds really good! Thanks
Okay so in Titanium Backup my free System ROM memory is 229MB. SD Card Maid says 211MB free. Im not sure why they both have different values but, can I make any of these unused MB converted to usable system space for more apps? I've tried making some apps system apps through Titanium Backup and that takes more ROM memory and makes the used internal memory less, but that just makes the apps unusable. Im using CM7 Nightly and CWM Recovery. Thanks for the help.
Well I probably found an answer in this thread http://forum.xda-developers.com/showthread.php?t=855424 but if anybody has another suggestion .....
Sure you can. I recommend using Titanium Backup to uninstall system apps. Be sure to make a full backup using whichever recovery you currently are using jiust encase you delete something important. I removed apps related to live wallpapers, friend streams, twitter etc. Features I don't use. Hope this helps.
I forgot to ask. Do you have a SD-EXT partition set up? May want to look into that.
Removing system apps doesn't free up storage for installing user apps. You can manually move apps into the system partition if you want, but you have to redo that after that app gets upgraded. The other option is to play with MTD partition size as mentioned in the thread you found.
You can't flash the apps to system/data?
sednafx said:
You can't flash the apps to system/data?
Click to expand...
Click to collapse
/system/app is where they'd go. You don't necessarily need to flash them there, you can use Titanium or a root-capable file explorer to move them. Some apps need some extra steps to work with their native libraries though. In addition the problem I mentioned of updates going back to /data/app instead of updating in the system partition, you also have to keep track of what you've moved in and do it again if you flash an updated ROM (without wiping).
bkrodgers said:
/system/app is where they'd go. You don't necessarily need to flash them there, you can use Titanium or a root-capable file explorer to move them. Some apps need some extra steps to work with their native libraries though. In addition the problem I mentioned of updates going back to /data/app instead of updating in the system partition, you also have to keep track of what you've moved in and do it again if you flash an updated ROM (without wiping).
Click to expand...
Click to collapse
You are correct. Good points.
I don't have an SD EXT but I'll look into that. The link I posted helped alot. Thanks for all your help guys.
hi guys .. i don't know if this is a dumb question .. i am not expert at flashing custom roms .. in my titatinum backup info .. my system rom got 200+mb free and now i want to flash a custom rom but its size is 300mb+ ?? should i still continue or is there anything else to solve this??
Hi all.
I've been running CM7.1 on my Desire GSM for a couple of weeks without any issues. Tonight I tried partitioning my SD card to get more app space and I seem to have come unstuck.
Here's the process I used...
Full nandroid backup using ClockworkMod recovery
Wipe data & cache, install CM7.1 stable and GApps from zip on SD
After first run, reboot into recovery
Partition SD card from ClockworkMod Recovery menu - partition size 1024 MB, swap size 0 MB
Reboot & attempt to access Market
At this point I get a host of errors - Google Talk begins to complain that it can't login to my account (never used Google Talk so this is the first time it's even come to my attention), and anything I try to download from the Market gives me a "[app name] could not be downloaded due to an error" message.
At this point I copied the .apk file I had backed up for Titanium Backup to my SD card and attempted to install manually - the install claimed to work, but Titanium Backup was not then available from my app drawer, as though it hadn't been installed at all.
My suspicion is that somehow I've cocked up the partitioning and the system is unable to read or write sd-ext. But I can't see that I've done anything wrong - though I'm new to all this, so there's every chance that I've missed something obvious.
Right now I'm restoring from my last Nandroid backup since, well, I need my phone and this can wait for the time being.
Any help that anyone can offer is appreciated.
Miz.
Flash this DarkTremor A2SD Script - http://box.net/files#/files/0/f/121132533/1/f_981313987
Then install A2SD Gui from market and set everything you like.
Cheers. Can't access that script though - "The item you are trying to access has either been deleted or is unavailable to you."
Will install A2SDGUI next chance I get.
A2SD Gui will not work without the script.
Try this link: http://www.box.net/shared/y9m9qap51mekqvl2kk29
Thanks, will give it a shot and report back on the results.
Worked like a charm. Thanks for the info, all looking great now - including oodles of app space.
Miz.
Sent from my HTC Desire using XDA App
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Much appreciated, but we're done now.
Hi
this is my first post, apologies if I'm going about things the wrong way. I've searched the forum and Google for the problem I'm experiencing but the hits I get back are for specific error and processes. My problem is this:
Flashing to Aurora or Runnymede results in my phone throwing up "the process android com.process.xxxx has stopped unexpectedly, please try again", they vary with HTC and Google errors. I get a lot of these errors (phone, camera, media etc) and then a blank HTC whitescreen. I get signal, however if I unlock my screen the errors pop up - I cannot do anything on my phone at all.
My device is S-OFF. I've successfully flashed MIUI and Cyanogenmod many times without error, and they work without a hitch. I've a feeling that with these Sense roms I'm missing some pre-installation procedure of which I simply cannot find what. What do i need to do to get either of these ROMS working?
Thanks for the help!
Edit: I have installed an app that moved certain items to the SD card that were taking up space on the internal memory. Not sure if this has anything to do with it?
DeciMA said:
Edit: I have installed an app that moved certain items to the SD card that were taking up space on the internal memory. Not sure if this has anything to do with it?
Click to expand...
Click to collapse
It probably is your problem. The roms you tried has some kind of apps2sd implementation already check the rom thread. Technically you don't have to use any app that move your apps to SD.
I will try that out tomorrow when I have some time.
NOw that I've restored my miui backup, I have noticed that same error pops up when the phone loads and I have to run the App, then the errors disappear. I'll post back tomorrow with my efforts!
Out of curiosity, what's the name of that app you are using to move apps to sd?
Root All to Data2SD (cant post links). I'm finding it difficult to move all the items back to the internal memory.
Just from the description of the app, it seems that it will screw up the set up.
Start fresh. Backup all your apps using Titanium Backup. Copy and save all the contents of your sd to a computer. I suggest you zip the titanium backup folder on your sd before transferring it to your computer, I often get errors about the filenames inside the folder being too long with Windows7 if they are unzipped.
Repartition your sd card with fat32 and ext4 or ext3 (depending on the rom requirement)
Put your files back to the SD card and unzip the titanium backup folder as well.
Flash the rom and restore your apps using titanium backup. Do the app restore by batches. The apps should be moved to the ext partition automatically. Check the rom thread for details on the apps2sd implementation they used. Some require to flash another zip after the initial boot. Just check the thread.
DeciMA said:
I've a feeling that with these Sense roms I'm missing some pre-installation procedure of which I simply cannot find what. What do i need to do to get either of these ROMS working?
Click to expand...
Click to collapse
Just curious, did you perform full wipe before flashing your new ROM/s??
777ace said:
Just curious, did you perform full wipe before flashing your new ROM/s??
Click to expand...
Click to collapse
Pretty sure I did, which is why this is baffling me. I would've thought that flashing a new rom would replace all pre-existing required applications
To confirm, in Recovery its Wipe Data/Factory Reset?
Performing a full wipe before flashing has worked! I can get into these ROMs now finally! Thanks for the help!
I feel like an idiot
Nice.
I had the same issues many months back. I was going from LeeDROiD Froyo ROM to InsertCoin GB. No matter how many times I flashed, I got same results as you. Then someone aksed "did you full wipe"?
After that, no more problems!!
I do have something strange with my Ace 2 8160I mobile.
I installed [ROM][JB-XXMB2] KYRILLOSv6B **Fast n' Lite** (23/02/2013) and I'm also using the app. DROIDSail app2SD lite so I can remove some apps to my sd-card.
But the problem is that all the apps which I removed to the sd-card are disappeard from my phone after the moment I do a reboot so I have to install them again but this is not the correct way of working of course.
Does somebody know what is going wrong with this and how I couyld solve this?
Please post in Q and A thread! Please don't create new ones!
maybe the dalvik cacha for those apps is still on the sd..Use link2sd for this operations..
I get the same issue when restore apps with titanium and reboot
chape199 said:
I get the same issue when restore apps with titanium and reboot
Click to expand...
Click to collapse
I installed link2sd but I do have the same problem as with the other app but I get the underneath message:
Symbolic link - second partition not found
/dev/block/mmcblk1p2:device not found
Be sure to have a second partiotion on your sd-card and that they are both primary
And I really don't know what to do now
************************************************************************************************************
Edit: problem solved