[Q&A] CyanogenMod 12 - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

Q&A for CyanogenMod 12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for CyanogenMod 12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

Nice work Nardholio
Great work on this Beta CM12

Unable to make backups in cwm
I am able to flash the CM12 with a clean flash but I get a message that says "failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at/data: Device or resource busy" along with "unmount of /data failed (-1):device or resource busy) when I try to flash the rom. When I go to make a complete system back up in CWM, I can back up all the way to the data partition where it states "error while making a backup image of /data". This is concerning because I would like a full back up. Did I go wrong in my clean flash? I wiped the /data, /system, and /cache partition along with wiping dalvik cache. Other than that, the rom is pretty stable for only being on the 3rd build! Keep up the work.

Woodsracer77 said:
I am able to flash the CM12 with a clean flash but I get a message that says "failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at/data: Device or resource busy" along with "unmount of /data failed (-1):device or resource busy) when I try to flash the rom. When I go to make a complete system back up in CWM, I can back up all the way to the data partition where it states "error while making a backup image of /data". This is concerning because I would like a full back up. Did I go wrong in my clean flash? I wiped the /data, /system, and /cache partition along with wiping dalvik cache. Other than that, the rom is pretty stable for only being on the 3rd build! Keep up the work.
Click to expand...
Click to collapse
I'm not sure about not being able to back up, but I receive the same message every time I flash it, ROM still installs fine.
Also, this was posted in the main thread, but I can confirm that the camera now works so long as you launch it from the lock screen.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app

CM12 d2att
Seriously , WOW, good work.
It's a very early build but it is deadly smooth. Most of it work. It's viable to try it out. Of course its missing lots of CM goodies but if you want to try LP out, this work fine.
The superSU root work perfectly. Installed the beta .zip from CWM.
Looks like the Documents apps is missing.
Thank you for you good work SIR.

Odd bug, when you drag down for notifications it goes straight to quick settings. It wasn't like that on the last build.

No Sim Card
I just flashed build 3 but It still can't detect SIM Card. Any extra thing that I should do to get that working? Thank you for your help, awesome work.

matsix said:
Odd bug, when you drag down for notifications it goes straight to quick settings. It wasn't like that on the last build.
Click to expand...
Click to collapse
Not sure if that's a bug or not, it should definitely be an option, and not defaulted and stuck on, but it only happens when you pull down from the right side, which has been an existing option in previous CM versions. Pulling down from the middle or left acts as expected.
Just an FYI if you hadn't already figured that out.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app

Oh wow thanks! I don't remember that ever happening with the previous build. Maybe perhaps the dev got some CM stuff working with it

Woodsracer77 said:
I am able to flash the CM12 with a clean flash but I get a message that says "failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at/data: Device or resource busy" along with "unmount of /data failed (-1):device or resource busy) when I try to flash the rom. When I go to make a complete system back up in CWM, I can back up all the way to the data partition where it states "error while making a backup image of /data". This is concerning because I would like a full back up. Did I go wrong in my clean flash? I wiped the /data, /system, and /cache partition along with wiping dalvik cache. Other than that, the rom is pretty stable for only being on the 3rd build! Keep up the work.
Click to expand...
Click to collapse
I'm able to make backups using TWRP.

So, anyone else having GPS troubles? It very well might be me, or this particular phone, but I finally got my GPS working reasonably reliably with 4.4, using the Samsung service menu (which I now can't find the # for), and resetting the aGPS calibration and re-downloading it.
Now when I open GPS status it says 0/0 satellites locked. Maps still gets a rough area via WiFi and cell towers, but no turn by turn, and I get "GPS signal lost" frequently.
-- Edit --
Flased a TW rom (blegh), and went into the Samsung service menu *#197328640#, umts, nv rebuild, nv rebuild, full reboot, and problem was solved. Will be flashing another rom ASAP.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app

SIM Card not detected
Anyone else having this problem?

Still no SIM
I flashed cm-12-20141120-UNOFFICIAL-d2att (I'm pretty sure that's build 4) and no matter what I do I cannot get it to recognize the SIM card. I've wiped both caches and done factory resets from both the recovery and the OS. I also flashed gapps and SuperSU. Everything else seems to be working as expected. Any help would be appreciated!

No SIM Detected.
So I flashed from a completely different rom (factory reset, wipe cache, dalvik, etc.) and I get No Sim Detected. I looked it up and I found that I need to configure the APN (had no idea what it was and never needed to do this before) but it says "Access Point Name settings are not available for this user"
Did I do anything wrong?
EDIT: If it helps, I have d2ATT sgh-i747 and I (supposed to) have 4g
Thanks

Not being able to wake up with home button
Is anybody else have the same issue? Not being able to wake the screen with the home button?

henriquel said:
Is anybody else have the same issue? Not being able to wake the screen with the home button?
Click to expand...
Click to collapse
That is a known issue. See the main discussion forum.
Update to No SIM issue:
Apparently I can receive calls and send texts. My device still says no SIM and won't let me make any calls.

No sim, will not let me save apn
Rom runs great, but same as some other users, sim not detected, and apn will not save.
Thanks for the hard work.
jef

Having the same issue. No sim card but I can receive text, I can't make any calls and the APN won't save

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

SIM and SD Not Recognized.
Getting the same issues as other users - I747m on Telus, flashing with CWM recovery. Clean flash of build 3 and 4 with the same issue on both. Can send and receive texts, incoming calls work, cannot make outgoing calls. APN settings not available for user and will not stick when edited/added?

Related

[Q] Cascading FCs, Whitescreen, and Half-Opening Apps

In the last few days I've had a cascading series of issues with my Evo, and things keep popping up. Can anyone help me figure out what may be going on?
It began with my phone "losing" the SD card in the middle of daily use. Eventually I formatted the SD card and put my backed up files on it, and everything seemed fine.
I had been experimenting with Go Launcher, and wanted to return to Launcher Pro, so I flashed my themed update - built off of Myn's Warm TwoPointTwo themed Launcher Pro. I've flashed this a number of times with no issues, but this time - nothing happens.
So I DL Launcher pro from the Market, THEN flash Launcher Pro. All I get is the stock Launcher Pro, no matter what I do. So I go poking.
I find out that my /Data folder is completely empty - despite the fact that the themed update puts com.fede.launcher.apk into /Data/Data/App. But there's NOTHING in /Data, and no subfolders.
Finally, I reboot into recovery and run "fix apk ui mismatches", but the recovery hangs up right after saying it's done doing that. I have to pull the battery, and when I reboot, I get perma-stuck at the Whitescreen.
So I Battery out/in, and go into recovery, re-run fix apk ui mismatches, and this time it goes smoothly. Except that when it reboots, I get cascatding apk FCs immediately.
So I go to Nand, and every Nand I flash just gives me a whitescreen.
Finally, I load the PC36IMG.zip onto my sd card, but before I hit "update" (which UNROOTED my phone last time I did that, but at least restored it), I decide to reflash the Rom I've been using.
Reflash, reboot, everything looks peachy. Reflash all the other stuff I normally flash (which includes no new files that I haven't regularly used before, and no new Kernels), and then get to trying to use the phone normally.
Now here's the thing: all my recent data is still there. But on about half of the apps I try to run (including XDA, Gmail, Internet, and Dolphin HD) it begins to open and then immediately closes.
Does anyone have any idea what may be going on, and what I can do?
Thanks.
MDM
MadDogMaddux said:
In the last few days I've had a cascading series of issues with my Evo, and things keep popping up. Can anyone help me figure out what may be going on?
It began with my phone "losing" the SD card in the middle of daily use. Eventually I formatted the SD card and put my backed up files on it, and everything seemed fine.
I had been experimenting with Go Launcher, and wanted to return to Launcher Pro, so I flashed my themed update - built off of Myn's Warm TwoPointTwo themed Launcher Pro. I've flashed this a number of times with no issues, but this time - nothing happens.
So I DL Launcher pro from the Market, THEN flash Launcher Pro. All I get is the stock Launcher Pro, no matter what I do. So I go poking.
I find out that my /Data folder is completely empty - despite the fact that the themed update puts com.fede.launcher.apk into /Data/Data/App. But there's NOTHING in /Data, and no subfolders.
Finally, I reboot into recovery and run "fix apk ui mismatches", but the recovery hangs up right after saying it's done doing that. I have to pull the battery, and when I reboot, I get perma-stuck at the Whitescreen.
So I Battery out/in, and go into recovery, re-run fix apk ui mismatches, and this time it goes smoothly. Except that when it reboots, I get cascatding apk FCs immediately.
So I go to Nand, and every Nand I flash just gives me a whitescreen.
Finally, I load the PC36IMG.zip onto my sd card, but before I hit "update" (which UNROOTED my phone last time I did that, but at least restored it), I decide to reflash the Rom I've been using.
Reflash, reboot, everything looks peachy. Reflash all the other stuff I normally flash (which includes no new files that I haven't regularly used before, and no new Kernels), and then get to trying to use the phone normally.
Now here's the thing: all my recent data is still there. But on about half of the apps I try to run (including XDA, Gmail, Internet, and Dolphin HD) it begins to open and then immediately closes.
Does anyone have any idea what may be going on, and what I can do?
Thanks.
MDM
Click to expand...
Click to collapse
On the surface, two things come to mind : Virus and bad RAM. Make no mistake about it, I'm only speculating. If you don't mind, can you flash one of the stock roms and see if you have the same problems? You can download one from here: http://shipped-roms.com/shipped/Supersonic/ If you still have those issues using a stock rom, then it's safe to assume a hardware problem (bad RAM is my guess). If you find that those problem disappear with the stock rom then I would start from scratch when reinstalling RLS 5 and that includes reflashing the radios. I wouldn't leave anything to chance.
OK, I'm DLing one of the stock ROMs you linked to. I notice they're all .exe files. How do I go about this?
MadDogMaddux said:
OK, I'm DLing one of the stock ROMs you linked to. I notice they're all .exe files. How do I go about this?
Click to expand...
Click to collapse
Do NOT install or run the .exe after you finish downloading. I have not noticed that they were executables. Let me find another link for you for a 3.70 RUU zip.
Here you go: http://www.mediafire.com/?t7u904lm502vl7l
OK, that seems to let me run things normally. So I guess I'll assume that all the .zips on my SD card were corrupt and begin downloading/flashing new everything.
Weird, how Stock looks fresh and new since it's been so long since I've used it.
Thanks DJ!
Not sure if this is still part of the problem, or what.
I flashed the Warm TwoPointTwo themed Launcher Pro update, but it doesn't show up anywhere, and when I go to /Data, there's nothing in the folder at all.
MadDogMaddux said:
Not sure if this is still part of the problem, or what.
I flashed the Warm TwoPointTwo themed Launcher Pro update, but it doesn't show up anywhere, and when I go to /Data, there's nothing in the folder at all.
Click to expand...
Click to collapse
Have you tried using adb push instead?
If you're flashing it and it's not installing into the data/app folder then it's possible it's not actually being flashed properly.
I could send you a launcherpro apk that I use (the most recent one) but it has some lingering themeing effects in it.
You could use it for troubleshooting as far as installing goes. I have installed it myself many times. LMK.
Thing is, my /Data folder is completely empty. Is that right?
Additionally, it's an update that I've flashed before without issue - so why would it stop flashing correctly?
Come to think of it, I HAVE tried adb pushing it - it still shows up as empty in /data
MadDogMaddux said:
Thing is, my /Data folder is completely empty. Is that right?
Additionally, it's an update that I've flashed before without issue - so why would it stop flashing correctly?
Come to think of it, I HAVE tried adb pushing it - it still shows up as empty in /data
Click to expand...
Click to collapse
It sounds like you are looking in the wrong data folder. It's possible.
Can you take a screenshot of the directory you are looking in with some sort of visual indication of the directorys actual location in the structure?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is everything right above /data, at the same folder level as /system. /data is the next entry listed right below /d. Opening up the update.zip, it drops the .apk in /data/app
Sent from my little black box using XDA App
MadDogMaddux said:
This is everything right above /data, at the same folder level as /system. /data is the next entry listed right below /d. Opening up the update.zip, it drops the .apk in /data/app
Sent from my little black box using XDA App
Click to expand...
Click to collapse
Assuming that what you say is true (that your /data folder is empty) then the next logical explanation is that your data partition is jacked.
That in itself is amazing because if that is the case it's a wonder that your phone is even operating at all.
Have you tried formatting your partitions (boot, system, data) and reinstalling another rom (preferrably "stock like" rooted roms that don't use any type of sd scripts [a2sd])?
I haven't tried formatting Data, no....I assume I can do that from Recovery or HBoot?
Flashing the stock ROM that dougjamal linked me restored the functionality of my phone - and I think a2sd is optional on Warm, and I haven't set that up.
MadDogMaddux said:
I haven't tried formatting Data, no....I assume I can do that from Recovery or HBoot?
Flashing the stock ROM that dougjamal linked me restored the functionality of my phone - and I think a2sd is optional on Warm, and I haven't set that up.
Click to expand...
Click to collapse
Get a hold of calkulins "format all" zip and flash that.
If you flashed a stock rom and it restored your functionality then the possibility exists that the stock rom restored your data partition.
a2sd is not the only possible cause of your problems. Basically anything that moves system files to the sdcard has the potential of messing up your system which is why i don't use any of them anymore. The dalvik2cache script is another possibility. It doesn't move the files to the sdcard but it does move the dalvikcache out of its default location and app makers don't take into account all the modifications that can be done to the devices (really they shouldn't have to anyways) and so will always install extra files to their respective default locations.
If you need more space I suggest going the route of reallocating the partition amounts over moving everything to your sdcard.
MadDogMaddux said:
OK, that seems to let me run things normally. So I guess I'll assume that all the .zips on my SD card were corrupt and begin downloading/flashing new everything.
Weird, how Stock looks fresh and new since it's been so long since I've used it.
Thanks DJ!
Click to expand...
Click to collapse
You're very welcome, my friend. I'm glad you got it up and running. In regard to how the stock rom looks, lol, I can believe it. I would definitely feel the same way since I rooted and flashed Myn's RLS 3 days after purchasing my EVO...laughing...Anyway, take care and enjoy your day.
lovethyEVO said:
Get a hold of calkulins "format all" zip and flash that.
If you flashed a stock rom and it restored your functionality then the possibility exists that the stock rom restored your data partition.
a2sd is not the only possible cause of your problems. Basically anything that moves system files to the sdcard has the potential of messing up your system which is why i don't use any of them anymore. The dalvik2cache script is another possibility. It doesn't move the files to the sdcard but it does move the dalvikcache out of its default location and app makers don't take into account all the modifications that can be done to the devices (really they shouldn't have to anyways) and so will always install extra files to their respective default locations.
If you need more space I suggest going the route of reallocating the partition amounts over moving everything to your sdcard.
Click to expand...
Click to collapse
Cool, I've got Calk's Format_All on my lappy already, but I think i'll DL it again just to be safe.
OK, so I flashed Calk's Format All, and then reflashed the ROM that DougJamal had me flash previously listed in this thread.
Result?
MadDogMaddux said:
OK, so I flashed Calk's Format All, and then reflashed the ROM that DougJamal had me flash previously listed in this thread.
Result?
Click to expand...
Click to collapse
I just noticed your toolbar at the top of the image.
I am assuming (from memory) that you are using astro to view that folder.
If that is the case, astro is your first problem because it can't properly access and show the system files.
You would need to use root explorer to view the data folder. It is a paid app but you get what you pay for.
If you don't want to pay for it you can use terminal emulator and run these commands.
su<enter>
cd data<enter>
ls
After those commands you should have a list
backup, tombstones, system, agent, wimax, dalvik-cache, drm, property, etc.
You should see in that list "app".
Do the command
cd app<enter>
After that command you should see a whole bunch of "com.xxx" filenames. Those are your user installed apps.
Report your results.
LOL!!
Well, every now and again, it is good to be reminded that I'm a moron.
I didn't even think to question whether or not Astro could view that directory, as I remembered viewing it on my phone before.....now I'm realizing that I viewed /data with Ninjamorph. Here's my screenie.
Sent from my little black box using XDA App
MadDogMaddux said:
LOL!!
Well, every now and again, it is good to be reminded that I'm a moron.
I didn't even think to question whether or not Astro could view that directory, as I remembered viewing it on my phone before.....now I'm realizing that I viewed /data with Ninjamorph. Here's my screenie.
Sent from my little black box using XDA App
Click to expand...
Click to collapse
So we have established that your data folder does in fact exist.
What are your problems now?
I'm home early now so if you have gtalk pm me your gtalk name and I can try to help you more.

Can not make android secure

I am trying hard to set up a child protection on the desire of a 12 year old because he is spending to much time with playing games.
Unfortunately, his friends have showed him how to reset the desire in the bootloader. (HBoot -> clear storage)
Is there any way how I can lock HBoot with a password or remove the reset function (and maybe the recovery function) inside of it?
the phone is rooted and s-off.
I am looking forward to each idea.
Thanks
No there isn't unless you are very experienced.
How do you limit the device? with an app? In that case you could always move it to system in which case it will stay even after a hard reset You will of course also have to remove the superuser app and su binary because otherwise he can just move it back or remove it
edit: you could also flash a corrupted recovery image, but i believe it will be possible to reset it from hboot anyway.
Don't let the child on it, simple.
Meaple said:
Don't let the child on it, simple.
Click to expand...
Click to collapse
It sounds like the 12 year old uses this phone for everyday use, so this might not be the best solution, if he is supposed to continue being able to text and make calls.
This phone is his.. and because his grades are very bad, I want to lock the games, but leave the telephone & text-message functions working.
I have installed App Protector (App Lock)
https://market.android.com/details?id=ukzzang.android.app.protector&feature=search_result
on his phone
afterwords, someone at school used the HTC security-mode function (Pressed Menu while starting) to delete the app again.
Then I installed a Rom without this function
And now someone used the HBoot function "clear storage" to get rid of my protection. The program is still installed, but the service is not active.
I don't want to take away his phone.
Thanks for your help!
Maybe easier to buy/find a cheap pay as you go handset and swap the sim into it. Can still text and call without all the added temptation. Kids are far too clever these days... they'll always find a way around restrictions
yeah, probably that would be easier, but i am sure there's some way to avoid this.
is there a file of the app protector which I could move to somewhere in order to make it work?
Not unless you make your one app or find one which doesn't have a initial setup.
Cause even when you move the app to system partition the setup is stored on data and therefore erased when doing a factory reset.
Sent from my HTC Desire using XDA Premium App
A 12 year old has a Desire.... wow.
Sent from CM7
chris3cr said:
Kids are far too clever these days... they'll always find a way around restrictions
Click to expand...
Click to collapse
This. My aunt tried restricting web access to my nephew by changing the password of the account they use everyday, but she was careless and forgot to lock administrator account, which he naturally found out about. Instead of locking him out, she was the one who got locked out
Sent from my HTC Desire using Tapatalk
Take the Desire off him until his grades improve and get him one of these.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As I already stated you can move the apk file from /data/app to /system/app. That way it won't be removed by reset. You setup of the app will though as all its data will be removed.
If you really know what you are doing you could back up the app data from /data/data to the system partition and make a script that restores the folder to /data/data on boot in theory it should be doable and that would circumvent that problem.
is the "clean storage" function a hard reboot? because the app is still installed after such a reset, but as you said my setup is gone. (but he is on cyanogen RcMixHD 3.5 now, maybe that's why)
I think I do not know enough to build a script myself
but can't I just lock hboot somehow with a password or remove the associated functions of "clean storage" in hboot somehow?
No you cant that is what i told you in the first place.. The hboot is a crucial part of the phone system allowing it to boot into system and recovery. It is made only to fulfill those purposes and to allow low level flashing. In order to do what you ask you would have to edit the hboot itself, and no app or code run from the system will ever be able to do that, so unless you know how to edit the hboot to remove the option yourself it's not possible no.
also wth. is cyanogen rcmixhd??? I know cyanogenmod which is an aosp rom and i know rcmixhd, which is a desire hd rom.
But i believe the app should be removed as well, as it is erasing the entire data partition afaik. But it is probably just automatically redownloading it from the market upon first boot. So in order to fix it you must ensure that whatever is needed, is stored on the system partition, because no matter what he will always have access to the data partition.
edit: so if you can't write a script, either drop it, or if it is very important pm me the name of the app and the name and version of your rom, and i might be able to help you figure something out.
Make android secure
Hello,
It is very important for me to make this android device secure for children.
He is using "RcMixHD 3.6 Rotating", and the app which I have installed is called "App Protector (App Lock)". But if there is another app which would suite you more, its ok for me I just want to make it work.
As far as I am concerned, after he pressed "Clear Storage" in HBoot the app really didn't disappear from the devise! Another app (which is not available on "Android Market") was also available after this reset, but I had to reconfigure it again.
Thank you very much for your help!!!!!
Kamil
Thanks I asked you to write a pm because my answers from now on won't help anyone else.
I might be able to make you a flashable zip file with a script and so on making it restore the settings on boot so they cannot be reset. I'm on my phone now so I can't help you before I get home.
But I will need you to copy the apk-file from /data/app and the folder for this app from /data/data. It must be while your settings is setup as they are supposed to be, because you won't be able to change them from the app afterwards. Also please keep their names exactly as they are and then zip them and upload them for me. Please include info on, whether it is using a2sd, a2sd+, d2ext or d2whatever or maybe even a direct dl link for the rom or if you are unsure please provide me with all the files present in /system/etc/init.d/ on your phone.
also the settings folder might contain your setup password if the app have that possibility. So you will need to trust me(and maybe use a custom one that you use nowhere else), and please use pm...
My folks used a good app for me when I was younger, I think it was called "parenting"
phil5556 said:
My folks used a good app for me when I was younger, I think it was called "parenting"
Click to expand...
Click to collapse
Lolol same, if I didn't stop messing around my dad would have to resort to something else other than talking lol
Sent from the Aids ridden slums of China using the claw of an unborn rat
Un root it then change password on computer and modem wpa lol
Sent from my HTC Desire using XDA Premium App
I'm a 12year old with a desire lol. Probably the youngest member on xda. What my parents told me was that if I got UFO a good secondary school I could get a good phone, and I did. I always use my phone but font forget to do my homework and stuff I go on my phone lots but my grades haven dropped at all. Why don't you remove his Google account/ change his password. And or flash cm7 without Google apps
Sent From My HTC sensation (desire with rcmix s )

[Utility][WIP/DEV] FireParted v1.1 - KF Partition Manager

Notice: I'm shelving this, at least for now. The errors are too inconsistent and sporadic, and testing has proven to bee rather arduous. I won't delete the repos, but I'm not currently planning to support or look at this much for at least the near future. It's worked for some people, but USE AT YOUR OWN RISK only. I am not providing binaries for this, if you want to use it then you'll need to build it yourself and if you go to that much trouble I would hope you know what you're doing.
If an error occurs, I recommend rebooting into any version of FIREFIREFIRE that has the 'fastboot oem format' command and using that to fix your partition table. If you have no idea what that last sentence just said, I strongly suggest you do not use this tool.
-----
I briefly mentioned in a previous post that I was working on an app that would enable you to resize your data, cache, and sdcard partitions so that you can have some more app installation space. Now that I've gotten everything to a stable point, I'd like to go ahead and release my work to the general public for anyone who wants to give it a try. So, I'd like to present what I've named FireParted.
What is it?
FireParted is a basic partition manager for your Kindle Fire, released under the GNU General Public License v3.0. It provides you with a (hopefully) intuitive GUI for resizing your data, cache, and sdcard partitions. It does not support or affect any other partitions on your device.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How does it work?
To use FireParted you will first need the following:
ADB needs to be configured on your computer to connect to your Kindle Fire. This will not install or configure the ADB drivers for you, but KFU will.
You need to have a custom recovery installed (tested against TWRP, but ClockworkMod should also work)
You need to have Windows with the .NET 3.5 Framework installed (Win7 ships with this, XP and Vista users can use the link to the left if needed). I plan to support Mono, but it has not been tested yet (it does build in MonoDevelop, though, so that's a good sign).
(Optional, but recommended) FIREFIREFIRE v1.1 or later. This will give you access to the 'fastboot oem format' command should something horrible happen (power loss, your computer crashes mid-partition, etc).
Your device must be in recovery mode while running FireParted in order to repartition it. Note that you can make an archive of your /data partition from a normal OS boot.
(Optional) If you want to examine a data archive backup on your computer, I highly recommend 7-zip. It's lightweight, free, open source, and supports TAR and GZIP archives, which is what I'm using to create the backup.
Once you are sure that you have met the prerequisites, you can simply launch the FireParted executable to start the application. Again, before you can do any partitioning work, you will need to reboot your device into recovery. Next you should read the partition table of your device to get a baseline, and then backup your data partition (unless you want it to be formatted). The numeric controls on the left allow you to choose the partition sizes you want, and "Apply Changes" will perform the repartition for you. Then you can restore your data backup and reboot to test your new layout!
Can I get a quick feature rundown?
Sure. FireParted currently supports the following:
Repartitioning of the data, cache, and sdcard partitions, to allow for larger app installation space (for example).
Archiving and unarchiving of the data partition (to preserve data during a repartition). Can be used simply as a backup mechanism if desired (requires root).
Basic sanity checking - FireParted keeps track of how much space you have to split amongst the data/cache/sdcard partitions, and won't let you create a partition that doesn't fit. It also won't let you shrink a partition to be smaller than its current contents. Also limits the cache partition to a minimum of 64MB.
Where can I get it?
The source code is available on my GitHub.
CHANGELOG
Version 1.1 - 01/04/2012:
Fixed some math/parsing so that FireParted will be more intelligent when determining start/end points for partitions.
Version 1.0.1 - 01/04/2012:
Fixed a minor bug that would cause the GUI buttons to get stuck in a disabled state if an error occurred while reading the partition table.
Version 1.0 - 01/04/2012:
Initial release. Includes all of the planned basic features:
Repartitioning of the data, cache, and sdcard partitions, to allow for larger app installation space (for example).
Archiving and unarchiving of the data partition (to preserve data during a repartition). Can be used simply as a backup mechanism if desired (requires root).
Basic sanity checking - FireParted keeps track of how much space you have to split amongst the data/cache/sdcard partitions, and won't let you create a partition that doesn't fit. It also won't let you shrink a partition to be smaller than its current contents.
Planned features/Needs work
Figure out what the hell is causing the "cannot meet constraints" error on other Fires (but not mine )
Test and support Mono builds/execution on Windows
Test and support Mono builds/execution on Linux (possibly Mac as well)
Very nice will be using this in the near future.
This should be stickied. I could see this being a staple utility.
Awesome... no elaboration needed
Amazing! I assume I can also use this to claim more general storage space? Is their a minimum size I should avoid hitting?
Time to fire up a VM and give this a shot. Much appreciated!
very cool!
No words, you are our hero. I added in 3 minutes currently 1GB sd card space...
cl2eep said:
Amazing! I assume I can also use this to claim more general storage space? Is their a minimum size I should avoid hitting?
Click to expand...
Click to collapse
Sure, you can tweak the values in either direction. Really, however much you think you can manage with should work fine, I would think. When you read out your partition table the meters will let you know how much space you're currently using on each partition, so if you have a lot of free space on /data and don't intend to install a lot of large apps there's no reason you can't shrink it.
I do currently enforce (in code) a 64 MB minimum on the /cache partition. I chose 64 MB because the limit on apks in the Market is 50 MB (source), so 64 MB should in hopefully give you enough space to install anything from the Market.
Of course, another consideration might be OTA updates. A 64 MB cache partition would be too small for the 6.2.1 OTA update package to download, for example. It's possible this could be a sort of poor man's protection from unwanted OTA updates, but I can't make any guarantees
Not sure what happened, I followed the instruction and it got the the part where it tries to partition the sdcard and came up with an error about not meeting constraints ( i made sure I had plenty of free space). The program and phone froze up, I can only boot into recovery. When I run the program and check I no longer have partition 10 or 11.
I'm having bad luck with this device.
airmaxx23 said:
Not sure what happened, I followed the instruction and it got the the part where it tries to partition the sdcard and came up with an error about not meeting constraints ( i made sure I had plenty of free space). The program and phone froze up, I can only boot into recovery. When I run the program and check I no longer have partition 10 or 11.
I'm having bad luck with this device.
Click to expand...
Click to collapse
I had the same issue and tried to do it by hand. When I get into print the parted it says all of the partitions are there, but I can't get out of recovery
airmaxx23 said:
Not sure what happened, I followed the instruction and it got the the part where it tries to partition the sdcard and came up with an error about not meeting constraints ( i made sure I had plenty of free space). The program and phone froze up, I can only boot into recovery. When I run the program and check I no longer have partition 10 or 11.
I'm having bad luck with this device.
Click to expand...
Click to collapse
Can you post your current partition table?
dnathan13 said:
I had the same issue and tried to do it by hand. When I get into print the parted it says all of the partitions are there, but I can't get out of recovery
Click to expand...
Click to collapse
Are you stuck in the recovery bootmode, or does it simply fail to boot? Can you post your current partition table, too?
dnathan13 said:
I had the same issue and tried to do it by hand. When I get into print the parted it says all of the partitions are there, but I can't get out of recovery
Click to expand...
Click to collapse
I was able to create and setup partition 10 and 11 but I was only able to boot into recovery. I tried restoring a few backups, wiped data, cache, system, tried installing CM7 and always ended up only booting into recovery. As a last ditch effort I installed the stock 6.2.1 update.zip and it is back working again. I had to re-root and reinstall recovery but I've restored my backup and everything is back up and running fine. Now I'll be able to sleep tonight...
airmaxx23 said:
I was able to create and setup partition 10 and 11 but I was only able to boot into recovery. I tried restoring a few backups, wiped data, cache, system, tried installing CM7 and always ended up only booting into recovery. As a last ditch effort I installed the stock 6.2.1 update.zip and it is back working again. I had to re-root and reinstall recovery but I've restored my backup and everything is back up and running fine. Now I'll be able to sleep tonight...
Click to expand...
Click to collapse
I don't have that, do you have the thread?
Edit: found and I am all good now
So can I do this on my current ROM to add space for apps without losing data?
Well this thing bricked my KF. I'm having the same issues as the people from the previous posts. I installed 6.2.1 but now I'm stuck at the notorious "your Kindle has detected a problem" and nothing in CMD is working for me.
eldarerathis said:
Can you post your current partition table?
Click to expand...
Click to collapse
I don't have a copy of the partition table but the program tried to resize the media section and had an error then partition 10 and 11 were gone. I then used the steps in the last few posts of the manual partitioning guide to make partitions 10 and 11.
Matt V said:
Well this thing bricked my KF. I'm having the same issues as the people from the previous posts. I installed 6.2.1 but now I'm stuck at the notorious "your Kindle has detected a problem" and nothing in CMD is working for me.
Click to expand...
Click to collapse
As long as you can get into fastboot/recovery it should be fixable. FIREFIREFIRE v1.1 can 'fastboot oem format' to reset the device to its initial internal point, or in recovery you can examine the partition table and fix whatever is in a bad state.
airmaxx23 said:
I don't have a copy of the partition table but the program tried to resize the media section and had an error then partition 10 and 11 were gone. I then used the steps in the last few posts of the manual partitioning guide to make partitions 10 and 11.
Click to expand...
Click to collapse
Actually, would you be willing/able to post your layout as it is now? That could be helpful, too, even in its current working state.
Read my thread here for more information:
http://forum.xda-developers.com/showthread.php?t=1429661

Corrupted internal memory?

. . Hi there.
. . I have my One X for some months now with no major problems. Recently I went back to stock rom and it was ok. Yesterday I plugged the phone on PC to transfer music and Windows told me that it should check the disk for corruption and yadda yadda. I let it run and it said it found and fixed problems. When I finished copying and unplugged the phone, it was very slow and everything was locking up and force closing. I though it had corrupted some /sdcard files. As I have external backups of my apps, I went to a system reset. It kind of worked and the phone was able to boot up normal again.
. . Since I was already starting from scratch I decided to try some customs roms again (non-sense so I don't have to mess with new HBOOT). I downloaded four options, but NONE of them worked. They all "hang" on boot animation, but it doesn't go into bootloop (it just keeps showing the animation forever--the animation also doen't stop, it keeps running). I did the flashing correctly, including flashing the boot.img (I also used custom roms on this device in the past successfully), so that's surely not the problem. I also tried wiping, cleaning caches, "fastboot erase cache" and yadda yadda.
. . I am thinking that I may have a corrupted internal memory of some sort. I can still go back to stock restoring a backup in CWM (and that's probably what I'll do now to use the phone again), but I'm worried it can start to misbehave and FC soon, and also I would really like to try some new JB roms.
. . Anyone had similar problems? Any tips?
This was happened to me once with my Galaxy SL. FCing all the time and when i'm revert to stock ROM, only endless bootloop showed up. This is the reason why i'm upgrading to One X. Goodluck mate
Sent from my HTC One X using xda app-developers app
I have also been having this problem for ages now, Tried many different sense and non sense roms, re installing CWM etc etc and nothing is solving the problem. Do you think there is a way to completely reformat the internal memory of the phone? That is all I can think of to solve it?
[★] said:
Do you think there is a way to completely reformat the internal memory of the phone? That is all I can think of to solve it?
Click to expand...
Click to collapse
. . I went back to stock from a backup and did a factory reset. I was able to use the phone normally for a while, but today I added a new GMail account in it and it instantly became very slow and started locking up and force closing everything. I take ages to be able to read a WhatsApp message--it is mostly unusable at the current state.
. . I was thinking about the possibility of mounting the internal memory as mass storage to check the partitions integrity and maybe re-partition it to avoid the bad sectors (if that's the problem). I just don't know how to do it (if it's at all possible).
dsnunes said:
. . I went back to stock from a backup and did a factory reset. I was able to use the phone normally for a while, but today I added a new GMail account in it and it instantly became very slow and started locking up and force closing everything. I take ages to be able to read a WhatsApp message--it is mostly unusable at the current state.
. . I was thinking about the possibility of mounting the internal memory as mass storage to check the partitions integrity and maybe re-partition it to avoid the bad sectors (if that's the problem). I just don't know how to do it (if it's at all possible).
Click to expand...
Click to collapse
Let me know if you work out a way to re-partition the memory, I thought about this but don't understand the partitions enough to attempt it myself
. . I just wanted to register that my issued was actually an I/O problem. Some devs/users are trying to isolate/fix it. The discussion about it is in the following thread: http://forum.xda-developers.com/showthread.php?t=1929021
Karbonn A15 Internal Memory Corrupted
Please Help Help Help !!!!
I am having karbonn A15 phone and facing internal memory issue. This issue started when i have removed battery when phone is in working state.
Then after i have tried reboot may time but no luck. I have tried Hard reset but getting following error
E:Can't mount /cache/recovery/command
E:Failed to mount /cache (invalid parameters)
E:Failed to mount / data
E:Can't mount data/ fota.....
Then I have tried CWM 5 but this file unable to detect phone (I have installed driver on my system). I have tried Odin but no luck.
I have press combination vol down+power button then ENTRY QPST DOWNLOAD mode is started then I am able to see mobile internal memory connected to PC there but unable to open this getting error unable to open drive unrecognized system format (There was popup comes to format this drive)
Please help what i can do for fixing this issue
Wrong forum i guess. This forum only supports the HTC one X international quad-core device !
NileshLandge said:
Please Help Help Help !!!!
I am having karbonn A15 phone and facing internal memory issue. This issue started when i have removed battery when phone is in working state.
Then after i have tried reboot may time but no luck. I have tried Hard reset but getting following error
E:Can't mount /cache/recovery/command
E:Failed to mount /cache (invalid parameters)
E:Failed to mount / data
E:Can't mount data/ fota.....
Then I have tried CWM 5 but this file unable to detect phone (I have installed driver on my system). I have tried Odin but no luck.
I have press combination vol down+power button then ENTRY QPST DOWNLOAD mode is started then I am able to see mobile internal memory connected to PC there but unable to open this getting error unable to open drive unrecognized system format (There was popup comes to format this drive)
Please help what i can do for fixing this issue
Click to expand...
Click to collapse
i'm not sure this is the right forum...
EDIT: sorry @Mr Hofs, didn't refresh :angel:
lukes91 said:
i'm not sure this is the right forum...
EDIT: sorry @Mr Hofs, didn't refresh :angel:
Click to expand...
Click to collapse
Hello Then where do i need to post this can you please suggest?
NileshLandge said:
Hello Then where do i need to post this can you please suggest?
Click to expand...
Click to collapse
"follow the white rabbit..."
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Platform.xml caused broken bluetooth and write permissions

So, this all started, because I was annoyed that Dolphin Browser, wouldn't let me save directly to the external_SD\download folder. I googled, and found out it was a thing since 4.4, that writing to the SD card was kinda wonky. Anyway, I did the "fix" where you add those lines in the platform.xml file, and bluetooth no longer works (something I use every day, so it's important to me). I deleted the file and restored my backup, which at the very most, stopped the bluetooth toast error from constantly appearing. Now, I can no longer take screenshots, or use the camera app. I also noticed that sdcard0 no longer shows as an active directory. Everything appears to have been moved to emulated\0. I have used Root Explorer to try and change folder r/w permissions, to no avail. I'm wondering if having Apps2sd move everything to the sd card, the day prior, aided in this debacle. I have tried using the apps on the play store to fix the sd issue, which just tell me that it's already fixed, even though it isn't.
Is there a known fix to this, other than wiping and starting completely over? When I attempt doing a factory reset, do I need to have the rooted image on the root of the internal memory, and by that I mean, do I need to re-access sdcard0, or will it work on the emulated/0 mount? Will this cause a boot loop?
I am on 11A, and rooted.
I have read all the threads I could on this, but I didn't really see a solution.
ishb3w said:
So, this all started, because I was annoyed that Dolphin Browser, wouldn't let me save directly to the external_SD\download folder. I googled, and found out it was a thing since 4.4, that writing to the SD card was kinda wonky. Anyway, I did the "fix" where you add those lines in the platform.xml file, and bluetooth no longer works (something I use every day, so it's important to me). I deleted the file and restored my backup, which at the very most, stopped the bluetooth toast error from constantly appearing. Now, I can no longer take screenshots, or use the camera app. I also noticed that sdcard0 no longer shows as an active directory. Everything appears to have been moved to emulated\0. I have used Root Explorer to try and change folder r/w permissions, to no avail. I'm wondering if having Apps2sd move everything to the sd card, the day prior, aided in this debacle. I have tried using the apps on the play store to fix the sd issue, which just tell me that it's already fixed, even though it isn't.
Is there a known fix to this, other than wiping and starting completely over? When I attempt doing a factory reset, do I need to have the rooted image on the root of the internal memory, and by that I mean, do I need to re-access sdcard0, or will it work on the emulated/0 mount? Will this cause a boot loop?
I am on 11A, and rooted.
I have read all the threads I could on this, but I didn't really see a solution.
Click to expand...
Click to collapse
i know the feeling but it is best to KDZ 11A on your phone and then reroot it to be safe. there is a way to get the SD card fix without messing with the XML file, i have 1 app but i cant post it on here but i do some looking around tomorrow and i let you know the best one you can use to write to SD card, i got y G4 unrooted to do a video, so once i get it rooted and do some looking around. i let you know
my youtube channel can show you how to use a KDZ file
https://www.youtube.com/watch?v=KDnfyWhSEEo
dont use the same file that i used, just use your 11A KDZ if you want to stay on 11A. if you want to use 13B please use the LGUP tool dont take the OTA cause you may be pushed to 25A
ishb3w said:
So, this all started, because I was annoyed that Dolphin Browser, wouldn't let me save directly to the external_SD\download folder. I googled, and found out it was a thing since 4.4, that writing to the SD card was kinda wonky. Anyway, I did the "fix" where you add those lines in the platform.xml file, and bluetooth no longer works (something I use every day, so it's important to me). I deleted the file and restored my backup, which at the very most, stopped the bluetooth toast error from constantly appearing. Now, I can no longer take screenshots, or use the camera app. I also noticed that sdcard0 no longer shows as an active directory. Everything appears to have been moved to emulated\0. I have used Root Explorer to try and change folder r/w permissions, to no avail. I'm wondering if having Apps2sd move everything to the sd card, the day prior, aided in this debacle. I have tried using the apps on the play store to fix the sd issue, which just tell me that it's already fixed, even though it isn't.
Is there a known fix to this, other than wiping and starting completely over? When I attempt doing a factory reset, do I need to have the rooted image on the root of the internal memory, and by that I mean, do I need to re-access sdcard0, or will it work on the emulated/0 mount? Will this cause a boot loop?
I am on 11A, and rooted.
I have read all the threads I could on this, but I didn't really see a solution.
Click to expand...
Click to collapse
ok sorry that this is late but i found an app, enjoy
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I tried that app, and mentioned it in my OP. It doesn't do anything, it tells me my phone has already been fixed (even though it wasn't).
ishb3w said:
I tried that app, and mentioned it in my OP. It doesn't do anything, it tells me my phone has already been fixed (even though it wasn't).
Click to expand...
Click to collapse
hmm, when i used it and used my other app, it said it fixed the sd card issue, i can keep looking for you, sorry i haven't replied for awhile. been playing with the lg V10 and LG G3

Categories

Resources