yashsingh1/xdaforums huggingface dataset:
[LG G Pro 2] glasseffects:
Unfortunately I removed that app soon after rooting since I didn't want it to get into the way while navigating the interface. moreover I use Google Keep as it is always synchronised, which is a preference for me.
[LG G Pro 2] Apptuners:
Oh ok. Well for Key Plus to work, Quick Memo must be installed and working correctly.

Guys if you have Quick Memo working, could you please confirm if Key Plus is working or not?
[LG G Pro 2] GuyDroid:
I have the Quick Memo app installed and your app doesn't work on my phone.

will a titanium backup of the quick memo app help you?

if not then how do I extract the apk for you?
[LG G Pro 2] Apptuners:
Titanium Backup of the QuickMemo should be fine. I believe we can extract APK from it.
[LG G Pro 2] Elyssdk:
I've got here a compressed file of my qmemo titanium backup from a android 5.0.1 rom lg g pro 2 D838 version. Hope it helps develop the app because it's be great it this would work.

docs[dot]google[dot]com/file/d/0B9Se4C5yrUL_V2Zrck1kTmEtQjA/edit?usp=docslist_api
[LG G Pro 2] Apptuners:
Thanks for the APK. I am studying it now.

So currently when you press and hold volume up button (while screen is off), QuickMemo Plus launches? And this happens even if Key Plus is installed?
[LG G Pro 2] GuyDroid:
I'm on kitkat and yes long press on the volume up button while screen is off opens the QuickMemo app even if Key Plus is installed.
[LG G Pro 2] Elyssdk:
Even when keyplus is installed and selected as default app to run when vol up button is held, qmemo is launched.
[LG G Pro 2] Apptuners:
Did you see the "set as default" popup when you press the volume up button?

Wait....so you did see the popup to set as default and set Key Plus as default app? Then it should work.

Did you open Key Plus and configure what you want to launch when pressing volume up button?
[LG G Pro 2] Elyssdk:
My bad i didn't configure it right.

At least now we know it works on lollipop for lg g pro 2 and we have qmemo apk for comprisons ?
[LG G Pro 2] Apptuners:
Excellent! So volume up works fine on Lollipop. What about volume down? It used to work on G3 till KitKat but got disabled on Lollipop.

Also did G Pro 2 receive official Lollipop update or is this ROM you are using based on G3 Lollipop?
[LG G Pro 2] Elyssdk:
I can't configure vol down settings it says not available in android 5.0+ as you mentioned.

The thread i got this ROM from says it's the official 5.0.1 for the d838. It is rooted tho so I don't know how much of a difference that makes.
[LG G Pro 2] Apptuners:
Alright cool. I hope volume up works correctly, including flashlight. Early versions of the app had some issues with flashlight going off within seconds, which has been fixed in the last version.
[LG G Pro 2] pavapizza:
finally!! this one finally works for g pro 2. thank you much. i dont mind only the up button is working now, since camera shortcut on down button is already good IMO.
[LG G Pro 2] srdjannj:
Great app. Everything is working as it should. Thank you.
[LG G Pro 2] famous84:
works like a charm on my lollipop G Pro 2, a little request if it's possible can you add a take a screenshot shortcut?

thanks
[LG G Pro 2] candyman993:
This is great..that would be brilliant if u can change it for screenshot. Cheers
[LG G Pro 2] Apptuners:
Thanks guys. But I doubt if taking screenshot is possible as I am not sure if an app can take screenshot without having root access. And I would like to keep the app root-free as much as possible so that it works on all devices including the likes of G4 which has not been rooted yet.
[LG G Pro 2] robotbrain:
This doesn't work on my Korean stock KitKat. I don't get the pop-up to set to default. I can't even reset defaults in the app settings. Do l need to install a different Qmemo apk?
[Samsung Galaxy Mega] mrcedeno:
The screen was broken and I give it to a friend to change it, but when he fixed the phone lost the configuration. Just start in Samsung logo and restart in a bootloop. Not access to recovery mode, only download mode. Not recognized IMEI or s/n in kies.

I also try kingo and doesn't work, also several room stock for the model and always have two kind of error: secure check boot and secure check pit..

When I tried odin, the phone stopped and the process for flashing not advanced just get stuck. If I used a pit file for the phone have error. So I need help for this.

thanks
[Motorola Droid 4] Mentor.37:
This version of SafeStrap is based on SafeStrap 3.75 but has a lot of differences with it:

- there is not more the splashscreen during the boot, to enter in Safestrap you have to select BP Tools in the Boot Mode Selection Menu(VolUp&&VolDown+PowerOn)

- has been added a Safe Rom slot that uses the unused partitions:

/preinstall (~ 600mb) for /system

/webtop (~ 1,4gb) for /data

/cache is shared with the Stock Rom slot

- in this version you have 6 slots: the Stock Rom slot, the Safe Rom slot and the four virtual slots

- the Safe Rom slot is faster than any virtual slot and safer than the Stock Rom slot

If you are using the original Safestrap you can simply install this new version over it and you will still have your roms in the virtual slots.

This version of Safestrap works like any other version of Safestrap and you can use the Stock Rom slot and the four virtual slots as you are usually do, the only thing that is a bit complicated is to install an aosp rom in the new Safe Rom slot that i provided in it.

DOWNLOAD AND GUIDE TO USE THE SAFE ROM SLOT

HOW TO POST REQUEST FOR HELP:

You have to entirely read this thread, I do NOT answer redundant question.

I do not answer to requests for help in private, I have neither the time nor the interest in doing so.

Any doubts, questions or requests must be posted in this thread in order to answer a single time and help everyone.

XDA:DevDB Information

Safestrap 3.75 for unused partitions (/preinstall & /webtop) , Tool/Utility for the Motorola Droid 4

Contributors

Mentor.37

Version Information

Status: Stable

Created 2015-02-21

Last Updated 2016-01-05
[Motorola Droid 4] Mentor.37:
This thread is not about the ramdisks so do not ask about them.

In case of problems you can build the ramdisk as i explained in the main thread.
[Motorola Droid 4] jaqjacek:
Super, i wait for some time for someone to make this. I'v tested this with cm12 to safe slot but blank screen. Some progress in this kexec problem ? Also SS revovery splash screen is not so but as turning of device and keys combo pressing.
[Motorola Droid 4] Mentor.37:
I rechecked everything more and more times but seem to me that everything is ok, for now I do really have not idea on where could be the problem.
[Motorola Droid 4] Mentor.37:
Solved

Good news, I understood where is the problem with the roms that use a kexec kernel and the problem was not in my modded recovery but in the rom's ramdisk. I'm now running the cm11 in my safe slot.

I will correctly describe how to run a kexec rom in my safestrap version in the next days, for now i'm a bit busy.
[Motorola Droid 4] lucize:
could the partitions be formated fs2fs ?

Regards
[Motorola Droid 4] Mentor.37:
For now they can be formatted only as you can format the stock rom or any slot in the standard safestrap but should not be difficult add this option in safestrap but i can't ensure you that they will work, as far as i know the aosp roms require an ext3 or ext4 fs for /system and /data.

#Postedit

I have never used safestrap before this my project and for this i did not know it well, now i saw that the f2fs is the fs used for the virtual stlots and yes i can format these partitions as f2fs the first time that the safe slot is selected but for now i'm using the cm11 in this slot with the partitions formatted as ext3 and the rom is really really fast.
[Motorola Droid 4] Mentor.37:
Final version

I just uploaded the final version in which i also restored the capability to use the virtual slots.

If you are using my previous debug version or if you are using the original safestrap 3.75 you can simply install this new version over them and you will still have your rom in the safe slot or in the virtual slot.
[Motorola Droid 4] Mentor.37:
Yes, i know that i told that the previous was the final version but i just uploaded a little update that fixes a problem in the layout of the new safe slot menu.
[Motorola Droid 4] lucize:
I was thinking to add fs2fs support to the kernel and see how it works, like otterx project.

thanks for your work !

regards
[Motorola Droid 4] X_Files:
Thank you for great work. I'm now trying CM11 in safe slot. Everything looks great, it run very fast compared to cm12. I have one question: How can I edit cm12 ramdisk.img? I've tried "Android Image Kitchen 2.0" with no luck. Thanks for help.
[Motorola Droid 4] Mentor.37:
In the cm12's ramdisk.img there is the file safestrapped.cpio before the real ramdisk so you have to split them with an hex editor (1F 8B 08) then you can extract the ramdisk, edit it, repack it and finally recreate the ramdisk.img reconcatenating with the hex editor the file safestrapped.cpio with the edited ramdisk.

Anyway yesterday night i attached at the main thread two flashable zips that install an edited ramdisk.img with an addon.d script that makes it persistent for the cm11 m12 and for the cm12 nightly. In this way anyone can try these roms in the Safe Slot.

I'm trying the cm12 in the safe slot from yesterday and it works flawless, it is faster than the cm11 used in the same slot, i suppose thank to the ART.
[Motorola Droid 4] X_Files:
Excellent! It works like a charm! Now i can swap SD-card and internal storage etc... Thank you Mentor!
[Motorola Droid 4] moodroid:
Thanks, Mentor.

This is a brilliant idea, and it works perfectly.

It seems crazy not to use this, if you don't need /preinstall or /webtop.
[Motorola Droid 4] Borchuck:
Can you also add patch for cm 10.2.1 ?
[Motorola Droid 4] Mentor.37:
Anyone can build by itself a ramdisk to use a rom in the Safe Rom slot with these passages:

1) unpacking the ramdisk.img with this command:

gunzip -c ../ramdisk.img | cpio -i

N.B.: for the roms based on LP the procedure is a bit more complex and i explained it some post above

2) editing the file fixboot.sh as explained in the main thread

3) repacking the new ramdisk.img with this command:

find . | cpio -o -H newc | gzip > ../ramdisk.img
[Motorola Droid 4] Goodevil95:
Excellent work!
[Motorola Droid 4] Borchuck:
For some strange reason I cannot repack new ramdisk.img for cm 10.2.1
[Motorola Droid 4] dutohlav:
I have a problem - the safe slot is there but, it shows that it has 0 MB (0 MB Free) in Data. I still did try to install CM11 (M12) there. It did installed successfully, but after rebooting it stuck (at least I think it did) on the CM boot animation. It stayed there for good half a hour so I thought there is a problem. So i restarted and went back to stock (have CM12 there, I wanted to test a CM11 a bit if it would be snappier as it probably is more developed and than switch those two as CM12 has nightly updates and there is risk of bricking the phone with daily flashes)

Anyway is showing 0 MB in Data normal and /preinstall and /webtop are used anyway or is it wrong?

Thanks!
[Motorola Droid 4] sd_shadow:
Both preinstalled and Webtop should have data in them, before you wipe them, what are total sizes?
[Motorola Droid 4] K_Meleon:
Are you really sure about that? I'd like to have access to the source as well, but according to

http://www.internauta37.altervista.org/en/xt894-and-xt912-safestrap-375-unused-partitions-preinstall-webtop

he integrated some changes:

This version of SafeStrap is based on SafeStrap 3.75 but has a lot of differences with it:

there is not more the splashscreen during the boot, to enter in Safestrap you have to select BP Tools in the Boot Mode Selection Menu(VolUp&&VolDown+PowerOn)

has been added a Safe Rom slot that uses the unused partitions: /preinstall for /system; /webtop for /data; /cache is shared with the Stock Rom slot

in this version you have 6 slots: the Stock Rom slot, the Safe Rom slot and the four virtual slots

Or am I wrong?
[Motorola Droid 4] Buglol:
Sorry, it's been a long time, I don't remember that much but I am sure about your first statement and not sure about cache being shared. I hope you understand. Maybe [MENTION=566662]LuH[/MENTION] remember that, he had also helped me alot.
[Motorola Droid 4] LuH:
Same here, it's been a long time and I haven't started my Droid 4 for over a year now, moved on to a newer phone because of faulty digitizer in several eBay replacements and frankly I don't understand now how could I live with such limited hardware (speaking of storage and RAM sizes).

However, I vaguely remember trying to get a hold of Mentor's sources and finding out he just "hacked" previously compiled stuff and didn't have any sources at all. While his work was greatly helpful, his provided resources not so much - except his post with a short description of changes and how to do something like that yourself, and which I can't find now.

Some of his info: https://xdaforums.com/showpost.php?p=59025633&postcount=16

Something I tinkered with: https://xdaforums.com/showpost.php?p=59731041&postcount=62 & https://xdaforums.com/showpost.php?p=60758581&postcount=99
[Motorola Droid 4] FrankGo(Germany):
Hello,

is it possible for anyone to create a ramdisk-file for the LineageOS 14.1 (24.12.2019) ?

For example from here: droid.cs.fau.de - lineage-14.1

(The ramdisk-file for Lineage 13 does not work for Lineage 14.1.)

Many thanks,

Droid.4@frankgo.de
[Motorola Droid 4] Mentor.37:
I built a new version in which i optimized and cleaned the code to have a faster boot and i also solved an error in it but for now i'm not able to upload it in the main thread, from when i switched the thread in a devdb project i can't manage my old attachments, [MENTION=4267571]sd_shadow[/MENTION], do you know an active moderator in our forum that can help me to solve this problem?

Did you never used the partition /webtop in some way before install this version of Safestrap? Did you never mounted it? Could you give me a log from Safestrap?

Anyway you can try to solve this problem in this way:

- enter in safestrap

- enable the Safe Rom slot

- from the wipe menu: Advanced wipe -> ✓Data -> Repair or Change File System -> Repair

Let me know.
[Motorola Droid 4] Mentor.37:
Wait, what do you mean with "0 MB Data normal"? From Safestrap is Data in the Stock Rom slot correctly viewed?
[Motorola Droid 4] sd_shadow:
I reported it, if you don't get a response, PM or Mention svetius who is the Admin for the DevDB Project. But you should get action on this, fairly quick, I report posts a lot and they are usually quick to respond.
[Motorola Droid 4] Mokura3rd:
I can't seem to get Safestrap to mount /system or /cache when switching to the safe slot (or just /cache on the stock slot but everything seems to work fine on the stock slot otherwise). Running the filesystem fix doesn't seem to fix the issue, and I cannot seem to find any further information as to why /system on the safe slot isn't mountable, nor any way to make the log files more verbose.

If it's informative at all, I'm running Paranoid Android 4 on the stock slot rather than the Droid 4's stock rom, though I can't imagine that would have messed with /preinstall or /webtop in any significant manner. Doing a google search doesn't give me the best of hopes, as it either gives me resolutions unrelated to the Droid 4, or tells me to do a factory reset/install a new recovery.
[Motorola Droid 4] Mentor.37:
My friends without a log i can't tell you nothing and if i can't replicate the problem i can't try to solve it.

I'm using this version of Safestrap on two Droid 4 without problems, in both in the Stock Rom slot is installed the Stock JB that is my daily rom.

The only problem present in this recovery is the same problem present in the standard SafeStrap: if you create a new virtual slot and then you try to switch on the Stock Rom slot (and in this version on the Safe Rom slot) you will not be able to mount the phisical partitions but if you restart the recovery after creating the new virtual slot you will not have any problem.
[Motorola Droid 4] Buglol:
After unpack and repack of ramdisk.img. I replace it with original one. But then recovery doesn't boot. What Iam missing?
[Motorola Droid 4] Mentor.37:
Update

I'm now able to rearrange the thread, thanks to [MENTION=3878813]jakew02[/MENTION] for the assistence and [MENTION=4267571]sd_shadow[/MENTION] for reporting my problems to the admins of devdb project. Now we have an only Q&A thread shared between the xt894 and the xt912, in this way for me is easier follow the project.

I just uploaded in the download section the new version in which i cleaned the code and i also solved an error in it, now we should have a faster boot. I also updated the main thread with some useful info.

In the log of safestrap there is not any sensitive information, about your log it is really strange, your partitions have a different fs from the original conditions, have you changed something?

mmcblk1p21 - /cache - is formatted as ext2 instead ext3

mmcblk1p22 - /preinstall - is formatted as ext2 instead ext3

mmcblk1p23 - /cache - is formatted as ext3 instead ext4

You can try to fix their fs or as extreme solution if you want use this version of safestrap you can try restoring your phone with sbf file.

I can't know what you had wrong but this thread is not about the ramdisk so do not ask about them, i'm sorry but i can't assist you.
[Motorola Droid 4] rpadula:
+1 with working safestrap unused partitions

I've restored my cm11 system partition from slot-1 to safe slot and everything went smoothly.
[Motorola Droid 4] Milp:
This is a nice idea but for me these partitions are a tad small to use as data partition. Is there a way to use them as additional sd cards?
[Motorola Droid 4] Marky__Mark:
CM11 stock no safestrap

Curious. I have CM11 on stock with safestrap 3.75. What would happen if I uninstalled SS. Would it still boot and run normally?
[Motorola Droid 4] sd_shadow:
No, it would not boot cm11, without safestrap, it is needed to boot the custom kernel.
[Motorola Droid 4] Marky__Mark:
Thanks
[Motorola Droid 4] Mentor.37:
You can put in /system/etc/init.d a script with permission 755 like this:

#!/system/bin/sh

umount /preinstall
mount -o rw,remount /
rm -r preinstall
mkdir /storage/preinstall
mkdir /storage/webtop
mount -o ro,remount /
mount -t ext3 /dev/block/preinstall /storage/preinstall
mount -t ext4 /dev/block/webtop /storage/webtop
chmod 777 /storage/preinstall
chmod 777 /storage/webtop
[Motorola Droid 4] Milp:
Awesome, thanks a lot! Would have donated more but I'm kinda broke :p

It works so far, however i can't exactly seem to use it like an sdcard (for installing apps onto or exporting app data to it or at least so the gallery shows pictures stored there). Is that possible?
[Motorola Droid 4] Borchuck:
What this script do?
[Motorola Droid 4] Milp:
Mounts the unused preinstall and webtop partitions as storage so you can use their space.
[Motorola Droid 4] Borchuck:
I've tried this. You could use scripts to bind some folders from data/data, just like Link2SD do it.
[Motorola Droid 4] MekaByte:
Is is possible to actually repartition the internal Flash -- for instance to move space from /webtop to /data, or to make /webtop larger by shrinking /data (or whichever partitions are adjacent)?
[Motorola Droid 4] Dalamar666:
Hi all

I recently buy Droid4 (received yesterday).

I rooted, installed safestrap, installed CM12, installed custom OC kernel and, now, flash Xposed framework Alpha 2.

I want to now if i could install this safestrap vers without any problem

my idea is, then, move my system partition from slot-1 to safe slot, as [MENTION=4008687]rpadula[/MENTION] said before.

it's possible?

thanks for your efforts and your work!.
[Motorola Droid 4] sd_shadow:
yes, boot to stock slot with stock rom, open safestrap app, uninstall recovery

press home button

menu>Manage Apps> safestrap>uninstall

install new safe strap

first problem that I see is safe slot partition is smaller than stock system, you will need to trim some bloatware first, not much 15-20 mb I think...
[Motorola Droid 4] Dalamar666:
thanks a lot!

I meant move CM12 to Safe, not Stock. but yes, i have to delete some gapps or move to other partition to reach less than 600 MB

The process for move/change the slot is simple?

I have to doing a full backup and restore in safe partition?

thanks again!
[Motorola Droid 4] sd_shadow:
i think you would be better off installing fresh on safeslot, and use the edited ramdisk.zip for cm12
[Motorola Droid 4] Oggie7797:
[MENTION=5003013]Mentor.37[/MENTION] have you spoke with stargo about maybe adding support for your safestrap so that modifying the ramdisk is no longer necessary for each build?
[Motorola Droid 4] Dalamar666:
Hi all again!

i've the that [MENTION=5003013]Mentor.37[/MENTION] described in the first post

I did the ramdisk flash... :confused:

Any ideas?

Log:
[Motorola Droid 4] Mentor.37:
Just done.

From the log there is not any problem in safestrap, in the safe slot every partition is correctly mounted and their size is correctly shown.
[Motorola Droid 4] Dalamar666:
thanks [MENTION=5003013]Mentor.37[/MENTION]

I flash other nightly vers and works fine without flash ramdisk (12).

I'll go to wait future nightly vers to flash it in the safe partition and try this

A question. Sometimes, i can't acces to safestrap when my droid is charging (selecting BP tools etc). Its enter to stock auto. It's a bug?
[Motorola Droid 4] Oggie7797:
Finally got around to installing this, I don't feel like using the whole safe slot with slimkat (I'm lazy) but the faster boot due to no splash is so much better, thank you...

I booted to stock, uninstalled recovery and 3.75 apk and then installed your apk+recovery and my slots were fine, no need to reflash stuff...in case if there's other lazy users out there..

Also, [MENTION=5003013]Mentor.37[/MENTION] is there any chance that you know how to update us from 2.7.1 twrp to a newer 2.8.x base? I mean hey, what we have works fine and "if it ain't broke don't fix it" but it'd be nice if possible. :) thanks again man
[Motorola Droid 4] Dalamar666:
Well, i'm using this partitions!

I flash a new CM12 vers + kernel + gapps + xposed + gsmPatch

Then, i restore my Data (other nightly previous version) backup to this slot

Now, i have my apps in this slots withouts problems

Thanks!
[Motorola Droid 4] ferviverus:
[MENTION=5003013]Mentor.37[/MENTION]

Can you add 2 ROM-SDcard-Ext-Slots?

In Safestrap (also yours edition) you have four ROM-Slot (so you can install 4 systems + Safe ROM), but there is only 8GB free memory

Droid 4 can use SD-External card up to 32GB

Thanks

Fervi

PS. For install CM 12 on Safe ROM i need to install it normally and add RAMDISK from post #2? Because it doesn't work (bootloop)
[Motorola Droid 4] sd_shadow:
Droid 4 can use SD card up to what ever size is available (256 gb)
[Motorola Droid 4] Mentor.37:
I never noticed this problem.

Yes this can be done but for now I have no plans to work on this.

I'm not interested in adding new virtual slots in safestrap, this my version is for using the real partitions that were unused.

I contacted the cm12's maintainer to request to officially support the new Safe Rom slot but i have not received any answer, i think that this recovery will remain only for skilled guys.

For use the cm12 in the Safe Rom slot you have to install the ramdisk from the post #2, if it will not anymore working you will have to build a new ramdisk as explained in the main post.
[Motorola Droid 4] ferviverus:
I understand, but I cannot extract this ramdisk (missing packages?)

Unar say - corrupted data; gunzip extract only 512B - i have no f***** idea how to extract it

Fervi
[Motorola Droid 4] LuH:
[MENTION=5003013]Mentor.37[/MENTION], love your work, thanks :)

However, 1.5 GB for /data is unusable for me unfortunately. In CM12 on virtual slot I've almost filled 3 GB /data partition so I had to extend it to 4 GB which should be fine for a long time - I don't need any more apps. Anyways, anything over some 3.5 GB should work, 1.5 GB is impossible for me. Is there a way to re-partition the internal storage, maybe just transferring say 2.5 GB from the Stock /data to Safe /data?