[Q&A] [FIX]Enable encryption - Check&Shrink ext4 filesystem - Android Q&A, Help & Troubleshooting

Q&A for [FIX]Enable encryption - Check&Shrink ext4 filesystem
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 [FIX]Enable encryption - Check&Shrink ext4 filesystem. 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!

I had this problem for a looooong time. Thankfully, I seem to have discovered the solution for those still encountering this issue.
Turn off SuperSU (Settings -> More -> Application manager -> All -> SuperSU -> Turn Off)
Reboot into Safe Mode (How to)
Run encryption (Settings -> More -> Security -> Encrypt Device)
Turn on SuperSU after complete (Settings -> More - > Application manager -> Turned Off -> SuperSU -> Turn On)

Related

[Q&A] [ROM][DISCONTINUED] Huawei U8836D / Ascend G500 Pro (MT6577) custom ROMs (ICS)

[Q&A] [ROM][DISCONTINUED] Huawei U8836D / Ascend G500 Pro (MT6577) custom ROMs (ICS)
Q&A for [ROM][DISCONTINUED] Huawei U8836D / Ascend G500 Pro (MT6577) custom ROMs (ICS)
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 [ROM][DISCONTINUED] Huawei U8836D / Ascend G500 Pro (MT6577) custom ROMs (ICS). 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!
SD card not mounting...
bgcngm said:
Initial notes:
Make sure that you have a full nandroid backup of your current ROM. If not, boot into recovery mode and make one. This is very important if you want to restore userdata after internal memory is re-partitioned.
Also make sure that you have a backup of your internal sdcard because it will be fully erased and disabled.
Warning: the package includes preloader, but there's no need to flash it. Make sure that your selection is according to the screenshot bellow.
Instructions:
Copy disable_internal_sdcard.zip to external sdcard (read note bellow)
Shutdown the phone
Open SP Flash Tool v3.1222.00 (or higher) and load the scatter file
Flash MBR, EBR1 and RECOVERY as shown on the next image first):
After flashing is complete, boot into recovery mode and format /data
Optionally, if you want to restore previously saved userdata, go to nandroid backup / restore and restore data (advanced restore feature)
Install disable_internal_sdcard.zip file through recovery mode (read note bellow)
Reboot your phone and enjoy your extended userdata partition
Important update: All the new ROM updates which include AROMA installer also include a script to automatically disable internal sdcard if extended userdata partition is detected. Dismiss the part of the instructions that refers to the installation of disable_internal_sdcard.zip file. All the rest of the procedure is still valid and must be done before installing the ROM. That said, if you are going to apply this modification, you must re-install the ROM.
Please also note that this mod should only work with my custom ROM installed. Be warned and please do not blame me if you run into some problem while applying the mod over stock or any other custom ROM
Click to expand...
Click to collapse
(links on quote removed cause i'm a new user)
Hello Bruno, wondering if you still monitor this... but anyway, I have tried and succeeded in doing the memory repartitioning but, after this, no matter what, the sd card never mounts (samsung 16gb neo on the microSD slot). I can force the mount on the recovery utility at the boot, but after when booting normally I have the extended internal memory but no SD is detected.
Is there a detail or trick I am missing?
Regards
Thanks
No, there's not trick at all. The sdcard should be mounted fine. Could you please paste here the contents of your /system/etc/vold.fstab so that I can check?
Discontinued
sip/voip and non-functioning microphone?
i realise this is a discontinued model (thread, etc), but I do have a question for a ROM developer for this phone may be able to easily answer.
It concerns SIP stack, VOIP. I cannot find any sip/voip settings options on this phone (flashed with the 3.0 ROM). I have loaded a 3rd party app and it *seems* to work apart from one issue....I can hear everything from the other end, but the party at the other end cannot hear me. It seems that the microphone does not work when making sip/voip based calls from *any* app I have tried. Is this a known issue (it seems there are questions out there) and is it something that can be easily sorted ? Thanks if anyone can provide a quick pointer. If not, thanks for reading - even at this late stage. Peace and best wishes.

[Q&A] [DEV][RECOVERY] CWM-based RECOVERY 6.0.4.7

Q&A for [DEV][RECOVERY] CWM-based RECOVERY 6.0.4.7
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 [DEV][RECOVERY] CWM-based RECOVERY 6.0.4.7. 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!
thanks
this is the best recovery
CWM 6.0.4.7(Swipe Version) is functional
Thanks OP..now I can preserve the life of my hardware buttons saving it from early wear and tear.
Btw, can I also use the 'reboot to recovery' option in apps like ROM Manager, ROM Toolbox?
More Power!
Ook
Recovery Can't Mount
Hi guys, when I go into recovery mode appears these lines:
E: Can't mount /cache/recovery/command
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: Can't mount /cache/recovery/last_og
E: Can't open /cache/recovery/last_log
Why?
Grateful!

[Q&A] [App]One Click Unroot[WIP]

Q&A for [App]One Click Unroot[WIP]
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 [App]One Click Unroot[WIP]. 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!
Error
Indirect said:
I am proud to present you with: Nook Tablet Unrooter One click APP!
By Indirect​​
Information?: Well, the way to best unroot the nook tablet (as it's easy to see if you have done mods to it) is to do a factory system restore, so I decided why not exploit that and make it into an application? Well that's exactly what I did and best of all, it's 1 click (technically 3 but i don't count accepting SU permissions as part of the app). You need to grant SU both times it asks for it to automatically reboot.
Code:
//I take no responsibility what happens with this application or your device and assume that any problem during this process if user fault.
//
Download link?:
http://dl.dropbox.com/u/15069134/Nookunrooter.apk
Instructions?:
Install app, open, click button, grant SU permissions (twice), and let it restore. That's about it.
Warnings?:
You WILL lose ALL data on the tablet except the Sdcard. Be sure to back everything up using titanium backup.
Changelog?:
Code:
1.2: Initial release
Credits?:
Code:
Dodgejcr for his code on github so I just had to change a few things as well as his help in IRC. Thanks man
Myself for rewriting parts of the app to be a one click unroot for the nook tablet[/QUOTE]
Every time I try to run the app I get "could not echojava.io.IOException:Error running exec(). Command [su] Working Directory:null Environment:null"
Any recommendations on what i do?
Click to expand...
Click to collapse

[Q&A] [Script] WiFi Only (great for inactive devices)

Q&A for [Script] WiFi Only (great for inactive devices)
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 [Script] WiFi Only (great for inactive devices). 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!
Disable cell radio – radiooptions binary
Parent thread here — This forum doesn't allow me to post where my post belongs.
I'm converting an old Galaxy Fame S6810p into a car dashboard navigator; I want to permanently disable the cell radio to save battery, particularly, the car's battery. Full info on my project here.
As indicated in the linked thread, the OP suggests to use the system command radiooptions to deactivate cell radio, and apparently, this works for them. But, my phone didn't come with the binary radiooptions installed by default, so I downloaded an ARM instance of it and placed under /system/bin/radiooptions, using the ADB shell.
Now, issuing the command "radiooptions 1" from an SSH connection effectively disables the cell radio, as indicated in the phone's status bar (no signal icon), but after just a few seconds the phone reconnects to the cell tower and the status bar shows again the usual signal strength icon. So the effect of radiooptions is only temporary for me.
Here's with Android 4.1.x.

[Q&A] exFAT and NTFS fuse drivers easy build for any platform

Q&A for exFAT and NTFS fuse drivers easy build for any platform
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 exFAT and NTFS fuse drivers easy build for any platform. 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!
Trying on 4.2.1.... It does not work. I got "volume operation failed" after manually run "recovery-update2.sh."
DeepInSleep said:
Trying on 4.2.1.... It does not work. I got "volume operation failed" after manually run "recovery-update2.sh."
Click to expand...
Click to collapse
If you manually run the script, be sure you run it as su, and provide it any parameter, e.g.
/system/etc/recovery-update2.sh test
For troubleshooting, edit the script to uncomment the logging and try to figure out the problem from the log file.
Lurker0 said:
If you manually run the script, be sure you run it as su, and provide it any parameter, e.g.
/system/etc/recovery-update2.sh test
For troubleshooting, edit the script to uncomment the logging and try to figure out the problem from the log file.
Click to expand...
Click to collapse
Problem solved I deleted this part (the script does not run with him. I do not know why)
Code:
#!/system/bin/sh
logfile0=/data/local/tmp/exfat_mount.log
#logfile=$logfile0
logfile=/dev/null
if [ -e $logfile0 ]; then
logfile=$logfile0
I also changed the mount point from the /mnt/media_rw/sdcard1 to /mnt/sdcard2. With a device=/dev/block/mmcblk1p1 some programs have not seen hardware sdcard, only storage/sdcard1 patch. Then I replaced it on device=/dev/block/vold/179:97. Now it works fine for me
UPDATE: crashing with multiple read/write operations. Tested in bittorrent app

Categories

Resources