yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] nougiw:
I had a look and I found that page you posted that has all firmwares for alcatel. I downloaded the 4030X and the 4030D since I'm in Europe. I haven't decided which one should I use, possibly trying both of them. I guess that makes no difference than installing your backup, right? I mean the only thing that changes are the installed languages so I'll be even better with one of the two than yours.

Next I downloaded and ran SP but I really didn't understand a thing from the gui. I searched for a tutorial on how to use it and I found one on XDA. Not very helpful, then another one and then another and finaly I started to understand how the thing works. So if I get it right:

1) you need to have MediaTek USB VCOM drivers which are the ones that are already installed with OT Upgrade S

and

2) You need to have one of these two files:

MT6575_Android_scatter_emmc.txt

MT6577_Android_scatter_emmc.txt

but I don't know which one of the two (I guess the first since you are using it too in your tutorial)

My main problem is that there were no scatter files inside either the roms I downloaded and untar-ed. So? What should I do now? Someone told me to create my own scatter file using mtk droid tools, but I really don't want to get into this. I'm sure I'm only gonna make things worse if I try. I also read somewhere that there are roms to be flashed via SP and roms to be flashed from sdcard via recovery using the corresponding option from there. Do the fact that there were no scatter file means that those two are for flashing from sdcard. Should I give it a try? I don't know even if the stock recovery supports this procedure, I only see install update from sdcard, no flash rom. And if I try but they are not suitable after all, what's the worst case scenario since I'm already bricked? Could they overwrite part of the recovery and leave me with no working recovery at all?

Last but not least the first tutorial on XDA stated that: "After flashing a wrong preloader, your phone will be completely dead (can't be powered on, it will not charge and won't be detected anymore by the computer) and there is no way to recover it."

That seems a quite NOT desirable situation, so what is the preloader, where do I get it and how can I be 100% sure it's right for my phone?

about Versions(c/p from official site):

Dual SIM Version: 4030D/4030E

NFC Version: 4030Y

Sorry for wasting so much of your time but I really don't think I can move on from here without your help and I do use my mind as you suggested...

P.S.: This: https://www.dropbox.com/sh/eowo5s87aweg3jq/CNkmlgdGRf or any other link of yours is not working (509).
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Yes in alcatel, you have to avoid flashing DSP_BL and PRELOADER as this bricks alcatel devices. However, I managed to unbricked a formatted DSP_BL and PRELOADER and worked but the user who owns the revived phone could not restore the IMEI making the phone useless because of no signal.

So here's a quick guide for you to flash this ROM. In the folder of my backup, there is already a working scatter file inside. Need a latest build of sp flash tool to avoid some errors. Here's the one I'm using. LINK

To flash the ROM into your phone, you start the sp flash tool.

Select the scatter file in the backup folder by clicking scatter-loading button on the Download tab.

When all files are loaded, see the names of the blocks. Notice there are blank ones. It's better to maximize it to see it better. Here is a list that you should check and select the proper files in the folder to flash it.

MBR - mbr

EBR1 - EBR1

UBOOT - uboot.bin

BOOTIMG - boot.img

RECOVERY - factory_NONmodified_recovery.img or download the TWRP recovery which can be seen in my rooting guide.

SEC_RO - secro.img

LOGO - logo.bin

EBR2 - EBR2

CUSTPACK - custpack2.img

EBR3 - EBR3

MOBILE_INFO - mobile_info.img

EBR4 - EBR4

ANDROID - system.img

USRDATA - nvram

Here are the blocks that you need to be uncheck.

PRELOADER

DSP_BL

CACHE
[Android Software/Hacking General [Developers Only]] kaiserII101:
What I'm really curious about is where in /system is it being told to point to /custpack?

I understand now that the custpack *-res.apk files for use in the system contain only resources and the deodexed system/app/*.apk files that are also in custpack contain only code for running the application, but why and how does the system apk point to custpack for the resources. Is it coded into the system apk? Or is something modified in the android environment to tell it to do so?
[Android Software/Hacking General [Developers Only]] kaiserII101:
Perhaps inside boot.img-ramdisk\init.rc.

I'm guessing every boot it makes the symlinks? So maybe that has to be edited out of init.rc in order for the system to stop looking in custpack for framework-res etc and instead look in the default locations?

on fs
# mount mtd partitions
# Mount custpack
mkdir /custpack
mount ext4 emmc@custpack /custpack wait commit=1,noauto_da_alloc
symlink /custpack/framework/framework-res.apk /system/framework/framework-res.apk
symlink /custpack/framework/Jrdshared.apk /system/framework/Jrdshared.apk
symlink /custpack/framework/mediatek-res.apk /system/framework/mediatek-res.apk
symlink /custpack/JRD_custres/fonts /system/fonts
symlink /custpack/JRD_custres/audio /system/media/audio
symlink /custpack/build.prop /system/build.prop
symlink /custpack/apns-conf.xml /system/etc/apns-conf.xml
symlink /custpack/agps_profiles_conf.xml /system/etc/agps_profiles_conf.xml
symlink /custpack/JRD_custres/wlan/nvram.txt /system/wlan/broadcom/nvram.txt
symlink /custpack/modem/modem.img /system/etc/firmware/modem.img
mkdir /system/media/images
symlink /custpack/boot_logo /system/media/images/boot_logo
[Android Software/Hacking General [Developers Only]] nougiw:
I guess I'm really lucky because I had already flashed your rom into my phone without unchecking preloader and dsp_bl before you made that post, and yet it works. It finally came out of the bricked state it was but with some problems. I've already explained those in my pm.
[Android Software/Hacking General [Developers Only]] Call_Me_Hudson:
My phone is not booting after download

Hey can you please tell me why my phone is not booting. a white screen keeps coming up after the boot image
[Android Software/Hacking General [Developers Only]] Call_Me_Hudson:
Can someone tells me what can i do pleaseee

i was using flash tool and now my phone keeps booting and stuck at a white screen.. there is no recovery.. why is that? is it the wrong bootimg or something? oh and i was trying to put on cwm for alcatel one touch idk what to do my phone is not picking up in the one touch upgrade either :crying:
[Android Software/Hacking General [Developers Only]] Call_Me_Hudson:
how to unlock bootloader

I just want to know how to unlock bootloader for alcatel one touch s'pop 4030A pleeeaseeee
[Android Software/Hacking General [Developers Only]] Call_Me_Hudson:
My phone goes blank screen after the recovery img

when i downloaded the recovery img to my phone via flash tools my phone recovery screen goes blank as if their not supported with my alcatel one touch s'pop 4030A.. is their any other supported? when that happens i have to be doing one touch upgrade to get back my original android system recovery. pleaseee help... should i unlock the bootloader?? how???? :confused: :confused: :confused:
[Android Software/Hacking General [Developers Only]] cyberangel22k:
yes, I'm currently working to port lewa but fails to boot. A couple of good devs, told me to edit the init.rc to have proper bootclasspath and correct custpack symlinks. I noticed that inside my /init.rc all this symlinks are included but when I unpack my boot.img. none of these are present inside init.rc
[Android Software/Hacking General [Developers Only]] kaiserII101:
#Mount custpack
mkdir /custpack
mount ext4 emmc@custpack /custpack wait commit=1,noauto_da_alloc

#added by binbin.zhao,merge by zhiqing.xiong
symlink /custpack/framework/framework-res.apk /system/framework/framework-res.apk
symlink /custpack/framework/Jrdshared.apk /system/framework/Jrdshared.apk
symlink /custpack/framework/mediatek-res.apk /system/framework/mediatek-res.apk
symlink /custpack/JRD_custres/fonts /system/fonts
symlink /custpack/JRD_custres/audio /system/media/audio
symlink /custpack/build.prop /system/build.prop
symlink /custpack/apns-conf.xml /system/etc/apns-conf.xml
symlink /custpack/agps_profiles_conf.xml /system/etc/agps_profiles_conf.xml
symlink /custpack/JRD_custres/wlan/nvram.txt /system/wlan/broadcom/nvram.txt
symlink /custpack/modem/modem.img /system/etc/firmware/modem.img
mkdir /system/media/images
symlink /custpack/boot_logo /system/media/images/boot_logo
#end added by binbin.zhao,merge by zhiqing.xiong

This is contained in my unpacked boot-img's init.rc

However, I have tried editing out those lines of the init.rc (and a few other lines related to custpack) and putting the actual files where they are normally symlinked to inside the /system/ folders. Re-packing and installing the modified boot-img with a modified stock rom simply resulted in a boot loop for me. There is also at least for me on the one touch star boot-img multiple init files and one with no file type ending. Just init. This file is 146 kb in size, but it's also unreadable by notepad++. I'm thinking though it probably contains references to custpack somewhere inside it but...I can't edit it since it comes up as junk text in notepad++...
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Yes your right! I do have it too. I wonder what's it for..? I haven't tried this yet because i'm busy. Can you try to unpack the boot.img and then repack it again without doing anything and see if it boots up the ROM? I usually do that since gingerbread but haven't tried this in s'pop. BTW, are you able to install framework-res.apk to apktool? tried to, but it fails. When I decript a system app, it doesn't finish decrypting it and ends with an error. I can read the xml's of the partially unpacked apk folder. Grrr!! I hate this type if ROM. To hard to MOD...
[Android Software/Hacking General [Developers Only]] kaiserII101:
I have already done that with the boot-img and yes it does boot up fine. Although for some reason boot-img gets reduced in size by 2 MB after re-packing.

I have not attempted to decrypt any app using apktool so far. Yes, the rom sucks to mod a bit. At least we can make custom kernel supposedly though, which would lead me to think we could just make a "normal" boot-img which won't look in custpack partition.

http://sourceforge.net/projects/alcatel/files/

Oftentimes though, sources released from phone manufacturers for kernel building do not always contain "complete" or "clean" sources to build a kernel. I honestly have zero idea how to build a kernel from source, and I'd imagine the process for building a mediatek one is going to be different (as well as likely undocumented) versus building a kernel for a nexus device.
[Android Software/Hacking General [Developers Only]] SakifX9:
I REALLY REALLY NEED SOME ONE TO TAKE OUT THIER SYSTEMUI.apk FROM THE SYSTEM/APP PLEASE

[YOUTUBE]WWW.YOUTUBE.COM/SAKIF9[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] andrman1:
Hello

And I trying to port some ROMs like Lewa OS but don't booting So, I edited bootclass path but again nothing stuck on second boot_logo.

About apps decrypting I only do for framework-res.apk for others I don't know what hex code needed to edit.

I don't know how to build ROM from source of Alcatel ? I setup build evnvironment already on ubuntu but I don't know how to countinue to build ROM from alcatel source ?
[Android Software/Hacking General [Developers Only]] SakifX9:
Please help!!!!!

---------- Post added at 05:50 AM ---------- Previous post was at 05:38 AM ----------

Please I can not find a backup

ROM so I really need any SystemUI APK PLEASE PLEASE

I have waited 3 days :mad:
[Android Software/Hacking General [Developers Only]] cyberangel22k:
You can't build from source. Many of us did tried but there are too many missing sources to build it...

Please stop wining and sending multiple PM's. here is a link to my back up. Be warned that this is the asian variant which is Alcatel One Touch Glory 2 4030E. You can flash this thru sp flash tool. You can also extract whatever you want to push it in your current ROM but it probably not work because of ro.device.fingerprint. These images are ext4 images. Figure out how to unpack them. Or use One Touch Upgrade S, which will do all the job for you.
[Android Software/Hacking General [Developers Only]] andrman1:
why have missing files ? actually I have Alcatel star

can I use other source with jellybean 4.1.1?

about cyanogenmod what needed ?
[Android Software/Hacking General [Developers Only]] nougiw:
So cyberangel22k, do you have any solution for my problem? I'm reminding you the situation. I flashed your 4030E backup and I'm now stuck with a phone which has a ROM for 2 sim while it only takes one, plus of course it doesn't recognize the greek networks when I insert the sim and so it asks for sim me lock password. So, no greek and no calls. No greek is the minor problem as you can see. And last but not least the logo.bin reads "one touch Glory 2" while the phone is "one touch S'Pop". Can't take that to service center and ask for a free repair....
[Android Software/Hacking General [Developers Only]] itouchables:
I also tried building from source on my ubuntu machine but it did not work :/

Is there any other way to build a rom without from source ?

sent fro my rooted kindle fire hd 7 with twerp and kinology rom installed
[Android Software/Hacking General [Developers Only]] kaiserII101:
The source code is needed, in addition to "proprietary" drivers from Mediatek because ROMs are tailored to specific handsets and hardware architecture. You can not just build a Nexus ROM from source and then flash it to your device expecting it to work. The nexus ROM source is tailored to specifically work with that chipset, and allow the camera, screen, wi-fi, cell network, accelerometer, GPS, etc. functionality to all work. This is why Cyanogenmod etc. has to first be built from source for different devices because it needs those certain drivers/source code in order to initialize them on the device and make the handset functional.
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Try searching the russian forums. I know they have posted a complete backup too there. Their variant is European 4030D. Here is the link. Use google translate...
[Android Software/Hacking General [Developers Only]] cyberangel22k:
qaz13,

I'm still trying this. I managed to go up to step 7. I tried to decompile again framework-res.apk using apktool but get an error.

[FONT="Courier New"]>apktool d -f framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spe
c=0x01060063 color/yuedong_lockscreen_text, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResour
ces.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:7
4)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:6
6)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)[/FONT]

I'm not sure if I did it right...

So this is what I did,

I extracted the resourec using the aapt command. Then I searched the 0x010800bf and found:

[FONT="Courier New"] config (default):
resource 0x010800bf android:drawable/action_bar_background: t=0x03 d=0x000002c7 (s=0x0008 r=0x00)
(string8) "res/drawable-jrdtheme001/action_bar_background.xml"
config (default):
resource 0x010800bf android:drawable/action_bar_background: t=0x03 d=0x000002c8 (s=0x0008 r=0x00)
(string8) "res/drawable-jrdtheme002/action_bar_background.xml"
config (default):
resource 0x010800bf android:drawable/action_bar_background: t=0x03 d=0x000002c9 (s=0x0008 r=0x00)
(string8) "res/drawable-jrdtheme003/action_bar_background.xml"
config (default):
resource 0x010800bf android:drawable/action_bar_background: t=0x03 d=0x000002ca (s=0x0008 r=0x00)
(string8) "res/drawable-jrdtheme004/action_bar_background.xml"[/FONT]

Then I search 03c702 in the resource.arsc using hex editor.

Then I found these:

Then scrolled up the FF's and changed the group 5 and 6 with 58 02 like this:

Then I saved the hex and pushed the edited resource.arsc to framework-res.apk.

Then tried to decompile using apktool and there's where I get the error above.

Did I do something wrong?

PS, Can you give me a mirror of the firmware backups you posted in the russian forums? the links there are dead...

Thanks!
[Android Software/Hacking General [Developers Only]] SakifX9:
If anyone has a update.zip for a 4030A Alcatel One Touch S'Pop please post it here

My Status Bar, multitask button, any Google apps besides play store and when I press applications on settings it force closes. One Touch Upgrade is not compatible with Ubuntu 13.04 and my machine can't run Virtual Machines because it is a old model, 512MB RAM.

I have no Windows PC by the way.

EDIT: Any rom compatible with AUSTRALIAN SIM will be fine.

Sent from messenger pigeon via XDA Mail Service.
[Android Software/Hacking General [Developers Only]] andrman1:
Actually source code(for certain device) is stock based ROM that we have on device.Therefore why do we need from alcatel source to build ROM ?

also thank you for this info
[Android Software/Hacking General [Developers Only]] nougiw:
Dude, do you even read anything I'm writing? I'm saying I have 4030X which is SINGLE SIM. 4030D is dual.
[Android Software/Hacking General [Developers Only]] cyberangel22k:
oh I forgot to mention that there are firmwares to there for your device. just keep searching there...
[Android Software/Hacking General [Developers Only]] kaiserII101:
Be sure you are using a more advanced editor like notepad++.

Also, when it's open in notepad++ make sure you are coding in unix EOL (end of lines).

If you're not sure, just go to edit>EOL conversion>UNIX/OSX format

You're also missing a single semi-colon at the very end of your script :p

unmount("/custpack")
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Thanks for the reply.

I do use notepad++ and set to unix eol convertion. Been doing this since froyo days that is why I am puzzled with this error. And about the semi colon, there is actually a semi colon in my script. It was just not highlighted when I copied it to post here. I also tried adding another ); at the end but still get this error.
[Android Software/Hacking General [Developers Only]] andrman1:
you skiping this step: 6. -

Did the same for the drawable-hdpi-jrdtheme002, drawable-hdpi-jrdtheme003 and drawable-hdpi-jrdtheme004, but changed the group on 58 03, 58 04 and 58 05

p.p.

I synced repo from CyanogenMOD 10.2 what needed to do now ? How to build ROM for Alcatel ?
[Android Software/Hacking General [Developers Only]] Pangkoy08:
Good Day Bro.

I just had this phone and I tried rooting it and I'm having this error.

Thank you in advance

attached is the log files
[Android Software/Hacking General [Developers Only]] cyberangel22k:
try using another version of SPFT. You can also check the folder of your SPFT if it's set to read only.
[Android Software/Hacking General [Developers Only]] HonzaBouma:
Remove system app?

Hi all.

I have finally rooted my 4030D, but I have one little problem. I Want to remove sam system apps ( Default launcher; Google maps; Claud backup; etc..) I tried to find these apps in /system/app, but there are not in this folder. Do you know?

THX
[Android Software/Hacking General [Developers Only]] cyberangel22k:
You can't remove the laucher. it's in framework. BTW, it's all in the custpack.
[Android Software/Hacking General [Developers Only]] Pangkoy08:
You can try a free app at the playstore called system tuner. It can remove unwanted apps from the system.

---------- Post added at 07:29 AM ---------- Previous post was at 07:28 AM ----------

Thanks bro. Ill check once the phone is back.
[Android Software/Hacking General [Developers Only]] kinglauryl:
Framaroot on 4.2.2

Can Framaroot root my One Touch 4033E running 4.2.2 firmware? Thanks in advance whoever can answer my question.
[Android Software/Hacking General [Developers Only]] kinglauryl:
Well just answered my own question, I successfully rooted my ALCATEL ONE TOUCH 4033E Dual-Sim running Jelly Bean 4.2.2 using Framaroot 1.9.1 using Boromir exploit.

Debloated my ROM already!
[Android Software/Hacking General [Developers Only]] LoLo2207:
Hi, thanks for the guide, but can you please reupload alll the dropbox files to MEGA or Medifire? Your account is always disabled because of bandwith limits.

I already rooted the phone with framaroot & Boromir exploit, just want to change recovery.

Thank you.
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Sorry for late response. I was busy in my work these days.

Can I ask a favor? can you post your factory firmware here. I would like to see what 4033 has... Thanks.
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Screenshots
[Android Software/Hacking General [Developers Only]] kinglauryl:
Good day sir, how to install TWRP? Any links on guide to install recovery?
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Download recovery tools in play store. install the image using the app.
[Android Software/Hacking General [Developers Only]] kinglauryl:
what's the name of the app in Play Store? And may I ask is your ROM compatible with 4033E model? Thanks
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Name of the app: Recovery Tools.

This rom is for 4030 only. 4033 has a different hardware.
[Android Software/Hacking General [Developers Only]] realthrash:
Thank you, im gonna test this new rom
[Android Software/Hacking General [Developers Only]] kiko6383:
Hi There

Does this rom already included the script for v6 supercharger? Is there any other issue with regards lag? Thanks and I'll definitely be trying this ROM.
[Android Software/Hacking General [Developers Only]] cyberangel22k:
It's nice to see that devs are now coming to my thread. Thanks for sharing your work. and keep up the good work. BTW, together with team GA, we have just successfullt ported a 4.2.2 rom to our devices but it still has alot of bugs so there is so much work to do.:D
[Android Software/Hacking General [Developers Only]] cyberangel22k:
I have thought of adding scripts in the GE-Rom but decided not to. Google edition means just plain and stock. So it's up for the user if he/she wants to add scripts in it. I also avoid incompatible scrpits as it may cause instability to the rom itself.
[Android Software/Hacking General [Developers Only]] kiko6383:
Thanks!

Thanks buddy! Flashing it now.
[Android Software/Hacking General [Developers Only]] kiko6383:
Great to hear that! 4.2.2 coming! I have successfully flashed the ROM you shared. I thought I will be going crazy because it does not work during the first 2 flashed. But thankfully, doing the reboot recovery and wiping factory reset; then reflashing the zip (which I initially extracted before zipping again), it works and now testing it on my device. Thanks!
[Android Software/Hacking General [Developers Only]] cyberangel22k:
Just updated my rom. check it out.