yashsingh1/xdaforums huggingface dataset:
[Defy General] jkkk88:
I suggest you move whole /system/bootmenu somewhere else (but not on sd card because this partition cannot store permissions),

or rename it. Then extract above tar so I've described above for ex. from sd card and reboot into menu. I'll send you PM with diff file you

have a little bit easier to compare original versus modified version.

twrp is the same I repacked from pico into recovery.img. I put it here in attachment. Just extract in

bm/recovery or bm/2ndinit (the last one is working for me) - do it by tar in phone.
[Defy General] Guitwo2:
Thanks.

It's working man ! Thanks a lot.

I suggest to replace in the init.rc files :

write /sys/class/android_usb/android0/enable 0
restart adbd
write /sys/class/android_usb/android0/enable 1

by

write /sys/class/usb_composite/adb/enable 0
restart adbd
write /sys/class/usb_composite/adb/enable 1

Maybe that's the reason why are not having adb.root ?
[Defy General] Guitwo2:
That could help :
[Defy General] jkkk88:
I've just found out that USB Debugging Mode must be turned off and then adb root in custom recoveries is working.

Don't forget to set PATH in init.rc:

export PATH /sbin:/system/sbin:/system/bin:/system/xbin

and probably also

export LS_COLORS ""

When you look to environment in custom recovery it is not very clean (processess, mounts...)
[Defy General] SrRaven:
Hey, sorry for this but I don't get it.

I rooted it and I don't get the rest of this method.

Can anyone here help me ?

I have experience with ADB, I just don't know where to start on this, what do I have to "have" to do this etc.

Any help will be much appreciated.

e

Edit: I did everything on the first page. But what should I see now as a difference ?! Is there an option to install new Rom now or not ?

What I really am looking for is the option to remove everything not needed (which is basically everything,only use phone for music,runtastic and navigon) or the option to move everything to SD.
[Defy General] Guitwo2:
The only thing we are doing here, is working on a bootmenu that opens before launch, which will help choose before several lauch option. Especially recovery and second init. Second init is mandatory for changing the kernel because of the locked bootloader (I can explain but it's kinda technical). For now there is no ROM, this is for dev purpose only but this is the first step (btw anywhere in the thread title there is a mention of ROM). jkkk88 has managed to 2nd-Init with a twrp recovery. We now are locking for a way to load new kernels with this technique.

To delete bloatware, just use a root explorer a delete the apps you don't want. Just try not to delete mandatory apps (phone.apk, ...)

To move everything from data to sd, use mounts2sd which is a very powerful tool -- http://xdaforums.com/showpost.php?p=19262846
[Defy General] rootdefyxt320:
Compile the custom kernel in linux 64bit, extract boot.img and put all the files in /system/bootmenu/2nd-boot. It will boot into 2nd init after the bootloader checks the signatures of the partitons.
[Defy General] SrRaven:
Thank you.

Hopefully more comes out of this.

But one question,you said I could remove non-system important apps,but where would I find facebook app or twitter app?

regards
[Defy General] Guitwo2:
Even in /flex/app or /system/app

Remove also the dalvik cache and data associated in /data/dalvik-cache and /data/data
[Defy General] Guitwo2:
I unpacked the stock boot.img (http://www.android-dls.com/wiki/?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images)

I get a ramdisk (attached) but no kernel
[Defy General] Guitwo2:
I got a kernel now (attached)
[Defy General] aweosomeabhijeet:
I see that you guys are interested in 2nd-boot.

I wanted to help you. For running 2nd-boot you should compile ramdisk, devtree and cmdline from the source. Now you may want to know how? WEll quarx the master of defy and defy+. He did all the 2nd-boot work. He can help you in it. I saw in the script that these three files are loaded one by one and the phone boots into a custom kernel. I'm not experienced in Github or C language so I don't know much about these. I'm only 17 :p
[Defy General] rootdefyxt320:
[MENTION=4745666]Guitwo2[/MENTION]

I've extracted the cyanogenmod 10 init.rc files from CWM Recovery v6.0.2.9. :)

This is the cyanogenmod 10 ramdisk. for our phone.

[MENTION=4881390]aweosomeabhijeet[/MENTION]. LOL I'm 16 :p
[Defy General] Guitwo2:
Good job here.

I think we have all the tools to make a custom ROM work.

We just need to build one.

I have no time for the moment to work on the device tree.

So far, it seems pretty easy (there is tuto for that almost everywhere).

I have a little something to share.

Might be a good device tree to start with...
[Defy General] davis15:
Can i use these file to compile a rom?
[Defy General] Guitwo2:
You may have some adjustment to do.

I am using this tuto : http://wiki.cyanogenmod.org/w/Doc:_porting_intro
[Defy General] davis15:
In these tutorial there are the same files that you give us, you say me that i can change something in these files no?

---------- Post added at 03:52 PM ---------- Previous post was at 03:42 PM ----------

We would can use the htc xplorer files, it has the same hardware http://en.wikipedia.org/wiki/HTC_Explorer.

Here there are some files that use to compile cyanogenmod rom: https://github.com/sakindia123/android_device_htc_pico

Can these link help us to compile ics or jelly bean to our devices?

Sorry for my english
[Defy General] Guitwo2:
You can try to fork on of these project. For now I can compile a bootable recovery image (with standard kernel), but some keys are not working. I am trying to compile it with stock kernel extracted form boot image, but I have issue setting defconfig for this particular kernel.
[Defy General] davis15:
But what android version have you used?
[Defy General] Guitwo2:
ICS or CM10 I'm not sure about that. I'll check tomorow
[Defy General] davis15:
if you want you can given your email for pm and if i can i will help you
[Defy General] Guitwo2:
You have everything I have done so far here :

https://github.com/gui2dev/android_device_motorola_tinboost

and here :

https://github.com/gui2dev/android_kernel_motorola_tinboost
[Defy General] davis15:
If i download cyanogenmod sources, can i compile it with your files? do you try it?
[Defy General] Guitwo2:
Building is not working so far.

When brunching, it ends with:

Error: selected processor does not support `mrc p15,0,r0,c13,c0,3'

If you have a working building environment, you could try and help me debug.
[Defy General] davis15:
Yes i have a working building environment, tomorrow i will try to compile it
[Defy General] davis15:
i can 't begin the compilation:

including vendor/cm/vendorsetup.sh
build/core/config.mk:160: *** TARGET_ARCH not defined by board config: device/motorola/tinboost/BoardConfig.mk. Alto.
Device tinboost not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for tinboost not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/config.mk:160: *** TARGET_ARCH not defined by board config: device/motorola/tinboost/BoardConfig.mk. Alto.

** Don't have a product spec for: 'cm_tinboost'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
[Defy General] Guitwo2:
It's working for me, but I'm having :

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_tinboost
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================

which is not satisfying (TARGET_ARCH_VARIANT=armv5te should be amv7-a-neon)

However the lunch command gives satisfying results.

Btw, try :

breakfast tinboost
. build/envsetup.sh
make -j4 otatools
cd device/motorola/tinboost/
./extract-files.sh
./setup-makefiles.sh
./vendorsetup.sh

I am a pure beginner here.
[Defy General] davis15:
I am trying to compile android 4.2 and 4.0, i solve the mistake that give you, but the android 4.0 compilation stopped i dont know why. Now i am compiling android 4.2
[Defy General] Guitwo2:
How do you solved it ?

I'll try jellybean.
[Defy General] davis15:
Go to /build/core/combo/TARGET_linux-arm.mk

Change in TARGET_linux-arm.mk the TARGET_ARCH_VARIANT to armv7-a-neon

Now the compilation stopped, there are something wrong
[Defy General] Guitwo2:
I did that.

I'm trying with android 4.1.2 but I get some errors.

build/core/base_rules.mk:171: *** frameworks/base/cmds/stagefright: MODULE.TARGET.EXECUTABLES.stagefright already defined by frameworks/av/cmds/stagefright. Stop.

I have to delete something but I'm not sure what.
[Defy General] leos0:
Is there any progress?
[Defy General] Guitwo2:
So far I am trying to compile something for Android 4.1.2 (Jellybean) but I am having a hard time. Many of the libs are defined twice, raising errors and stopping the make process (path/to/lib1 MODULE.TARGET.SHARED_LIBRARIES.lib already defined in path/to/lib2. Stop.)

For now I am cleaning this mess, dunno how long it will take and what issues I'll face next.
[Defy General] Guitwo2:
I'm now stuck here :

make: *** No rule to make target `frameworks/base/../../system/media/mca/Docs.mk'. Stop.
[Defy General] TinoSP:
Is there anything that we can do to help with the development?
[Defy General] Guitwo2:
If you have a working dev environment, you can sync my two repo for tinboost and try compile.

The make process raises a lot if errors.
[Defy General] Guitwo2:
I'm stuck here :

/home/gui2dev/android/system/kernel/motorola/tinboost/arch/arm/mm/dma-mapping.c: In function '__dma_alloc_remap':
/home/gui2dev/android/system/kernel/motorola/tinboost/arch/arm/mm/dma-mapping.c:229:25: warning: array subscript is above array bounds [-Warray-bounds]
error, forbidden warning: dma-mapping.c:229
make[3]: *** [arch/arm/mm/dma-mapping.o] Error1
make[2]: *** [arch/arm/mm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: exiting folder « /home/gui2dev/android/system/kernel/motorola/tinboost »
make: *** [TARGET_KERNEL_BINARIES] Error 2
[Defy General] Tubii:
What did u think about a New Android Version? It is posible?
[Defy General] Guitwo2:
It is not impossible. But it will take time. And I have none to spend on this for now unfortunately.
[Defy General] Tubii:
ah good news.

and no one can help you ? :s
[Defy General] Guitwo2:
Anyone can help me if he wants too.

Just need to have a working dev environment and try compile the sources from my git.
[Defy General] Tubii:
Ah ok :/
[Defy General] Guitwo2:
For a developing environment, follow this tuto: http://xdaforums.com/showthread.php?t=2060017

For the device tree, I followed : http://xdaforums.com/showthread.php?t=2010281
[Defy General] Tubii:
Ok i will try it soon,
[Defy General] sfoot13:
http://www.youtube.com/watch?v=I6Q31Kffl8s

what about this? real or fake?
[Defy General] TinoSP:
It's for the regular DEFY, not the mini
[Defy General] krule031:
Wow, i wasnt here on this forums for a long time, and now i see you guys are doing well, very good job! So, how is it going with the 4.1.2 port?
[Defy General] Tubii:
From my site no new results ... we can only hope for Guitwo .... :/
[Defy General] rootdefyxt320:
Hey guys, I've made an all-in-one script/utility for Motorola Defy Mini XT320/XT321. Link is in the signature. :)
[Defy General] sfoot13:
can u repack it again with the lastes CWM Recovery?:D
[Defy General] kiodo1981:
Please create a update.zip "official ROM".
[Defy General] TinoSP:
As I noticed that there are no news about de development of the Jellybean attemps of Guitwo2 and Tubii (at least I think they're trying to compile Android 4.1.2), I was wondering why not try building CM 7.2 first? Because it seems to be easier to get working as it's Gingerbread, the same as Stock.

I'd try to build it by myself but I don't have a PC with enough resources to try (yeah, old computer), so that's why I'm asking for it here.

Please correct me if I have made an incorrect assumption
[Defy General] Tubii:
I cant work more

I have only a smartphone, my PC is down :/
[Defy General] Guitwo2:
I could try to build. I have no time to start all over again.

Could you make a tuto ?
[Defy General] TinoSP:
As I'm only making assumptions, I don't think that I can make a tuto, because you are the "expert", because I tried reading the two guides your linked a while ago, but I found them too complex for me in a first read.

I said that building CM7.2 would be easier because the drivers of STOCK would fit better in their native Android version than with JB, and , if I am right, wouldn't throw so many errors and problems at compiling.

And as I thinking about getting a new computer by the time the new university term starts, I think I could try builidng, but I'll need some help.

Sorry for my bad english
[Defy General] Guitwo2:
Oh I thought you had some source ready to buid.

One could try this. To be honest I really don't have time for setting up a new environment, sync the sources and try to build, that's why I asked a tuto, to make things go faster.

I could help you later eventually.
[Defy General] sfoot13:
sorry, amm but clockworkmod 6.0.2.9 have a bug making sd-ext backup =/ and i tried to install TWRP but it doesn't work...
[Defy General] MauroSZ:
sd-ext backup failed

I have the same problem. You can try what [MENTION=4745666]Guitwo2[/MENTION] suggested me going to related thread

Here http://xdaforums.com/showthread.php?p=43842396#post43842396

For while CWM and TWRP should be used as a temporally recovery. If you can use CWM, TWRP you can also use the same way.

fastboot boot recovery_xyz.img

If you really want installing, you can try [MENTION=4880538]rootdefyxt320[/MENTION] All in one script.
[Defy General] rootdefyxt320:
[MENTION=5235489]sfoot13[/MENTION] You can also use temp TWRP from jkkk888.

http://xdaforums.com/showpost.php?p=39662919&postcount=3
[Defy General] Janek12:
Thank you, it works for me.

Can I use this CWM to make backup?

Oh, and Link2sd doesn't work with recovery (and overclock), if I install Link2sd, the two leds aren't light up, and I can't reach recovery. Maybe Mounts2sd can solve my problem, but I don't know how to use it. Can somebody tell me how to use Mounts2sd?

Sorry for my bad english.
[Defy General] rootdefyxt320:
Yes, it is safe to use the CWM for nandroid backups. I have used it before and it works. :)
[Defy General] Janek12:
I made a backup, and then tried to restore, but when i reboot, it stucks in the 'M' logo, and then my screen turns blue :(

What should I do?
[Defy General] MauroSZ:
You said "tried to restore" . It means you booted in cwm to restore (failed) or you could not boot in cwm to restore simply ? Have you made a backup before any mod or after ?
[Defy General] rootdefyxt320:
Instructions:

1. Go to fastboot mode press Power button, Vol- and Vol+ simultaneosuly for 10 secs.

2. Now boot into temporary CWM by typing this command in cmd:

fastboot boot recovery.img

3. Now go to Mounts and Storage, then select Mount USB Storage.

4. Now using your computer, navigate to the folder named clockworkmod then select backup and now copy the folder out to the same folder where adb and fastboot are.

5. Now Unmount USB Storage.

6. Now type this command in cmd

adb reboot-bootloader

7. Now restore your nandroid backup using these commands in cmd

fastboot flash system system.yaffs2.img

fastboot flash userdata data.yaffs2.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot reboot

8. Now you have restored your nandroid backup.

If your phone still doesn't bootup then put your phone in flash mode by pressing Power button, Vol- and Camera Button simultaneously for 10 secs and reflash your SBF using RSD-Lite.
[Defy General] Janek12:
I wrote theese commands, but when I wrote

fastboot flash boot boot.img

it said 'cannot load boot.img' and when I tried to find boot.img i can't. I have no boot.img in my backup folder.

MauroSZ:

The first one, i booted into cwm, restored, but my phone doesnt boot up.
[Defy General] rootdefyxt320:
Means you don't need to flash boot.img then since you didn't backup the boot partition :)
[Defy General] Janek12:
I rebooted, and my phone works well. Thank you! :victory:
[Defy General] Janek12:
Can you do something with Link2sd to work with this recovery? If I install Link2sd, the led don't lights up, and I cannot reach recovery. I have tried to rename Link2sd's script in /etc/init.d from 10link2sd to 99link2sd, but it didn't work. If needed, i can send my link2sd script.

Or can somebody tell me how to use mounts2sd?
[Defy General] Bernd.Defy:
This is working on defy mini? Or is it the stock recovery.img (wich is signed by moto)?
[Defy General] rootdefyxt320:
It's the stock recovery.img signed by Moto. I'm trying to obtain the Qualcomm Bootloader for Defy Mini so I can flash it using QPST to unlock the Bootloader. I'll give you updates.
[Defy General] Guitwo2:
That should be really great if you succeed !
[Defy General] rootdefyxt320:
[MENTION=5101064]Bernd.Defy[/MENTION] and [MENTION=4745666]Guitwo2[/MENTION] and [MENTION=5079944]jkkk88[/MENTION]

For now, we can boot a custom kernel on our phone by using this command:

fastboot boot boot.img

First we have to compile custom kernel but I'm pretty sure Bernd.Defy can compile a custom kernel for us because he knows how to compile kernel modules so that would be great help to us. Compiling kernel modules require the Linaro Toolchain which I'm pretty sure Bernd.Defy is experienced in using to compile kernel modules.
[Defy General] Guitwo2:
I'm in.
[Defy General] Bernd.Defy:
In what?

I'm on vacation for the next two and a half weeks, so i guess i can't supply a boot.img. But i have a compiled kernel here. :)
[Defy General] rootdefyxt320:
Well, then enjoy your vacation and I hope you compile a boot.img in the future :)

Happy holidays :)
[Galaxy Ace S5830i General] GiluxVanAce:
Hey guys,

for those who want to use their stock rom, but still want to use the ICS-Keyboard, here's a little tutorial :D

Things needed:

1. Root-Permissions

2. Root-Browser

3. View attachment 1873253

If you install the ICS-Keyboard as a system app, it works faster :D

1. Open the Root-Browser

2. Go to SD-Card and long press on the downloaded file

3. Select copy

4. Go to System -> App and then paste

5. Long press on the file

6. Select Permissions

7. Give it the following Permissions:

Owner: Read X Write X

Group: Read X

Others: Read X

8. Klick OK

9. Close The Root-Browser and reboot your phone

10. Choose at Settings the ICS-Keyboard

Hope you enjoy this Keyboard, it's the fastest in the Play-Store :D
[Galaxy Ace S5830i General] iamareebjamal:
How to make custom keyboards work on your device?

Short and simple guide

It's a problem with almost all custom keyboards that they Force Close when converted to system apps by placing them in /system/app

However this can be solved easily

1. With any File Manager, extract apk file of keyboard by renaming it as a zip.

2. Go to libs folder inside extracted folder.

3. Copy all libs from it(except the libs which are for ARMV7 devices)

4. Go to /system/lib and paste the copied files and set permission accordingly

5. Enjoy

6. Type your message by the newly installed custom keyboard app

7. :p Spare step

8. Last one
[Galaxy Ace S5830i General] rahulnandwani:
Reserved
[Galaxy Ace S5830i General] mydrandroid:
I always use Swype but I'll give it a try ......

& one question, why is the size written 3 bytes on your attachment ??

Vía xÐÆ Øffíçíal™
[Galaxy Ace S5830i General] ChelebiTech:
3bytes is a bug in taptalk app. Its size is more than that.

AND ITS PAID VERSION. As i am not wrong its against the forum rules...

S5830i Stock + Root + init.d + LightSpeed Intervention + Link2SD
[Galaxy Ace S5830i General] GiluxVanAce:
But it's just downloaded from the Play-Store o.O
[Galaxy Ace S5830i General] ChelebiTech:
There is two version of it. And this is not free one its Donated one (paid app). Please replace it with free one or remove attachment.

S5830i Stock + Root + init.d + LightSpeed Intervention + Link2SD
[Galaxy Ace S5830i General] mydrandroid:
You're sharing a paid app free to everyone :D :beer:

Vía xÐÆ Øffíçíal™
[Galaxy Ace S5830i General] GiluxVanAce:
Sorry for uploading the wrong one :) i replaced it with the free one :D
[Galaxy Ace S5830i General] amogh420:
Or you could just convert it to system app by using Link2SD...

View attachment 1874755
[Galaxy Ace S5830i General] GermainZ:
That won't copy the libraries.

I would suggest simply installing then copying the libs from /data/data/app/lib/ to /system/lib/ and apk from /data/app/ to /system/app/, set the correct permissions and reboot.
[Galaxy Ace S5830i General] iamareebjamal:
Can be also done by copying libs from keyboard.apk/lib
[Galaxy Ace S5830i General] GermainZ:
Yeah, but you already said that in the second post and I didn't want to repeat, plus this doesn't require a file manager that supports archives/APKs.
[Galaxy Ace S5830i General] kewkie:
Download ics Keyboard + link2sd -> convert ics Keyboard to system-app?!
[Galaxy Ace S5830i General] amogh420:
Oh, i see.

Anyways, that was merely a suggestion.
[Galaxy Ace S5830i General] misha1996:
Nice keyboard, but it havent swipe to another language..
[AT&T HTC One (M7)] Rioplatense:
Engadget is reporting the release of source code of " some variants" of the One. I'm kind of a noob in that respect. what does this mean? What effect will it have on development for the ATT One?
[AT&T HTC One (M7)] Silellak:
Kernel source was released for a couple of the European carriers. My personal understanding is that this is good for everyone, because the AT&T version of the One and the European version of the One are identical, hardware-wise, so any kernels developed off of the European source should work for the AT&T version.

Someone more knowledgeable than me might know better, though.
[AT&T HTC One (M7)] Deleted member 4981821:
So what will happen now the that source code is released?
[AT&T HTC One (M7)] Silellak:
Developers will start working on custom kernels for the HTC One, which typically allow things like overlocking, underclocking, undervolting, and features like Sweep To Wake.
[AT&T HTC One (M7)] Deleted member 4981821:
Nice. Can we hope for more custom ROMs or does this source code isn't related with that?
[AT&T HTC One (M7)] Silellak:
The source code is for the kernel only, which can help people who are working on AOSP-bsaed ROMs improve their kernels and thus improve hardware compatibility, but it won't really help Sense-based ROMs.
[AT&T HTC One (M7)] tehdef:
The big thing I'm hoping for is that the next Google Nexus device uses the same underlying chip so that the One can mimic it, much like h8rift is doing with the HTC One X mimicking the Nexus 4 with his 3.4 release.
[AT&T HTC One (M7)] Silellak:
Yeah, that would be amazing, but if not, I plan to hold on to my One X :D
[AT&T HTC One (M7)] Flyhalf205:
You guys think the kernel will be close enough to where I can go ahead and post my recoveries (CWM and TWRP) for you guys that is fully working for the other variant of the ONE?
[Samsung Galaxy W I8150] Aldich13:
I just swaped memory (vold.fstab) on my rom cm 10 alpha 7, why on settings (storage) can't to open? i had a force close. anyone can give me a solution?
[Samsung Galaxy W I8150] mps42:
flash rom again and flash this file :)

steps :

1- enter cwm

2- wipe cach and dalvic cach

3- flash zip and reboot
[Samsung Galaxy W I8150] Aldich13:
thanks dude ;)
[Samsung Galaxy W I8150] mps42:
u wlc :)
[Verizon Samsung Galaxy Note II] BenMGP:
I've been searching for a clear cut answer and cannot seem to find one.

Stock ROM and Root. Will my Smart Dock still work?

Thank you.
[Verizon Samsung Galaxy Note II] vwftw:
Works fine for me!
[Verizon Samsung Galaxy Note II] donroja:
^^^^ what he said!
[HTC Pico (Explorer)] saverio777:
Hi,

anyone have Skype for help me with ext4 script with this build?